systools/dns-update.sh: Adding support for ip lookup.