Cleaned up dns.
Addressed comments on dns.