Skip to content

Instantly share code, notes, and snippets.

View bcrisp4's full-sized avatar

Ben bcrisp4

  • New York
View GitHub Profile
@SmartFinn
SmartFinn / dhcp_option119.py
Last active February 5, 2025 18:55
a script for converting domain names to DHCP Option 119 (Domain Search Option)
#!/usr/bin/env python3
"""Command generator for setting DHCP Option 119
This script converts the specified domain names to DHCP Option 119
(Domain Search Option) and prints commands for various DHCP servers.
USAGE:
./dhcp_option119.py DOMAIN ...
EXAMPLE: