This assumes you already have a DNS server setup that has a static IP, IE: a webserver that is also doing DNS(like mine). If you have a webserver but currently don’t host your own DNS, you can do a bit of research and set it up with in an hour or so. Anyways, that’s not what this how to is for.
Get on your webserver
SSH into your webserver and su into root.
grep directory /etc/named.conf
cd into the directory displayed.
Create a dnssec key
dnssec-keygen -a hmac-md5 -b 512 -n HOST -r /dev/urandom subdomain.domain.com.Make sure that you put the period at the end of your domain. The subdomain should be the name of your untangle box or whatever machine you’re trying to setup for ddns.
cat Ksubdomain.domain.com.+005+RANDOM#.key
replace RANDOM with whaterver the .key file has.
You should see something like this
subdomain.domain.com.
Click to continue reading “Untangle DDNS setup using your own DNS server”
















