Python script to generate the hex string value for a DHCP Server Option 120 (SIP Server) when passed a fully qualified domain name.
Run the script with the desired domain name as a command line argument
python3 option120.py www.example.org
Output example
00:03:77:77:77:07:65:78:61:6d:70:6c:65:03:6f:72:67:00