Skip to content

Instantly share code, notes, and snippets.

View consurity's full-sized avatar

Dieter consurity

View GitHub Profile
@consurity
consurity / dhcp_option119.py
Created July 15, 2020 07:40 — forked from SmartFinn/dhcp_option119.py
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: