aarongulley

Q: DNS Error

Hi All,

 

I was wondering if you could help me, we are running Yosemite and have a apple server.

 

But I keep getting this error.

 

ERROR

An error occurred while processing your request


While trying to retrieve the URL: http://google.co.uk

The following error was encountered: Unable to resolve hostname

  • DNS Name Error (name does not exist)

Please try the request again later

localhost.localdomain

 

I'm not sure why.

 

Thanks

 

Aaron.

iPad, iOS 8

Posted on Apr 14, 2016 2:35 AM

Close

Q: DNS Error

  • All replies
  • Helpful answers

  • by John Lockwood,

    John Lockwood John Lockwood Apr 14, 2016 2:57 AM in response to aarongulley
    Level 6 (9,260 points)
    Servers Enterprise
    Apr 14, 2016 2:57 AM in response to aarongulley

    If you have an Apple server this suggests you may be using that server as your DNS server on your internal network. Therefore to do DNS lookups a client device e.g. a Mac needs to ask your server to lookup the address and in this case the server should then ask an external DNS server as your own server will not know the answer itself.

     

    If you run Server.app on your Mac server confirm that the DNS module is running if that is your intention

    In the DNS module check to see if a forwarding server is defined, this should be an external DNS server e.g. your ISP, or Google or OpenDNS

    Do some tests on your server via the command line using Terminal.app as follows

     

    nslookup google.co.uk 127.0.0.1

    nslookup google.co.uk ip.address.of.your.server

    nslookup google.co.uk 8.8.8.8

     

    Your server should if it is acting as the DNS server should have its own IP address listed in Network Settings in System Preferences as the domain name server. Your client devices e.g. Macs should be getting the same IP address via DHCP.