ddns-scripts: fixes for nslookup and khost