Web Hosting Talk







View Full Version : nslookup errors


netserve
12-05-2001, 01:53 PM
nslookups giving strange results.

svr.root:/etc# nslookup
Default Server: localhost
Address: 127.0.0.1

> exit
nslsvr.root:/etc# nslookup design-web.co.uk
Server: localhost
Address: 127.0.0.1

Name: design-web.co.uk.nsnoc.com
Address: 80.71.3.34

it's adding the local server name to the end of the domain that's being queried and returning a local server ip address.

Anyone seen this before?

Smirks
12-05-2001, 02:25 PM
Is this your own nameserver? If it is you need to add a . to the end of the entry for the hostname.

Ex-

design-web.co.uk. IN A 80.71.3.34

My guess is you forgot the . after the uk.

If it isn't your name server you need to contact whos ever it is and have them make that change.

Good luck.

netserve
12-05-2001, 06:03 PM
I've checked that and it's fine. Full stops in all the right places.

the problem arises when I do a lookup on any domain not held on our name server. (The above problem of a missing . would be correct for a domain held on the name server itself but lookups on those domains are working fine)

It's as though it believes that the names are local, ie it's not using the named hints file to lookup the root name server and get dns data for that domain.