Resolution
Please follow the steps listed below to find where is the problem. Let's take "example.com" domain as an example.1. First of all domain NS servers must be found. It can be done with the command:
whois example.com
......
Nameserver Information:
Nameserver: a.iana-servers.net.
IP Address: 192.0.34.43
Nameserver: b.iana-servers.net.
IP Address: 193.0.0.236
.....
or you can do it through http://www.internic.com/whois.html.
If there are no any records about nameservers in whois information, you should set them in the registrar.
2. Now try to resolve the domain through it's nameservers with 'host' or 'nslookup' command. It should be like:
host example.com 139.91.1.10
Using domain server:
Name: 139.91.1.10
Address: 139.91.1.10#53
Aliases:
example.com has address 192.0.34.166
If you get the error like:
host example.com 193.0.0.236
;; connection timed out; no servers could be reached
it means that Named is not running on the nameserver or 53 port is filtered with firewall. Check this up.
If you get an empty answer or:
host example.com 193.0.0.236
Using domain server:
Name: 193.0.0.236
Address: 193.0.0.236#53
Aliases:
Host example.com not found: 3(NXDOMAIN)
It means that the domain you are trying to resolve doesn't exist on this nameserver. You should add it into an appropriate zone.
If you get (SERVFAIL) error:
host example.com 193.0.0.236
Using domain server:
Name: 193.0.0.236
Address: 193.0.0.236#53
Aliases:
Host example.com not found: 2(SERVFAIL)
It means that the zone for the domain contains errors. Try to restart named and look into /var/log/message for the example.com zone loading errors.
Also you can use http://www.dnsstuff.com/ service to check if domain is resolved properly.
Keywords: page cannot be displayed site not found resolved