|
Question : nslookup in local dns
|
|
I set up a local dns to serve local dns query. When I use nslookup , there is an unexpected message came out
*** Can't find server name for address 192.168.100.20: Non-existent domain *** Default servers are not available Default Server: UnKnown Address: 192.168.100.20
|
Answer : nslookup in local dns
|
|
This problem occurs because there is usually no IP address associated directly to a domain name. IP addresses are usually associated to hosts inside the domain.
You can do the following to work around this problem: Add an "A" record for the domain name to that domain's zone file. If the DNS server is a computer running Windows NT Server, simply create an "A" record in the appropriate zone, leaving the Host Name edit box empty while providing an appropriate IP address. You will now see an entry in the zone file with the name of the domain in the (Host) Name column and the specified IP address in the Data column. To find/verify nameservers for zone you may use nslookup commans >ls -t NS mydomain.com
|
|
|