Closed ghctim closed 11 years ago
I wrote this script with the intention that it would be run from a machine that is always connected to the same network which has a dynamic IP address, however in its current state, it is also useful for those who want their DNS records to always point at them wherever they are.
I think that if you have this set up to run automatically but only want it to work when connected to a specific network it would be better to have a wrapper script that detects what network you are on and only executes this script if it is a network that you want it to use. How to do this is dependant on your specific environment and is not something that I've looked into at all.
I was looking for a way to have this script prompt me while running to see if I am home, then if I am home, update DNS. I would hate to run this script from Starbucks and screw up my DNS.