Fixed bug

Fixed the issue with the DNS not working. Waiting on more testing with
IP addresses