I have a domain name that I want to tie to certain machines in my LAN. My main router is a wrt54gs v2 running tomato. I have looked high and low for a script or a howto to write a script that I can run on the router to update the dns for the domain. I work at an ISP and the DNS is being hosted there. What I need is a script that will output this into a file. Code: server dns.mywork.com zone mydomainname.com update delete machine1.mydomainname.com update add machine1.mydomainname.com in a whatever.public.ip.address send So that I can run nsupdate -y 'my-key:really-long-key-here' fileabove.txt Also it needs to have redundancy checks to make sure the current IP hasn't changed and only update as needed. (the admin has threatened bodily harm if it updates too much ) On a side note the "something" in something.mydomainname.com is the machine name. And I will have at least 10 different machines that will need names. Also... I know I can pay $XX a year and have all this done via some service like dyndns but that does not interest me nor my bank account. I am looking to do it like this so that maybe I can learn a little from it. Thanks in advance for the help.