Skip to content

Instantly share code, notes, and snippets.

View bcrisp4's full-sized avatar

Ben bcrisp4

  • United Kingdom
View GitHub Profile
@SmartFinn
SmartFinn / dhcp_option119.py
Last active February 4, 2023 08:27
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: