Added logging to dns.js callback