Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS Problem

Status
Not open for further replies.

da644

Programmer
May 21, 2001
159
GB
Hi Everyone.

I have today taken delivery of a new iMac, never used one both, and I have connected it to our network and given it a static tcp/ip configuration as follows:-

IP Address: 192.168.0.8
Network Mask: 255.255.255.0
Default Gateway: 192.168.0.2
DNS: 192.168.0.1

It all works in the sense that I can get external internet websites, but I'm unable to get any internal websites we use for development. The DNS for the internal websites is on the server 192.168.0.1 and they all use the configuration of local.[domainname].local, which has always worked fine for all the windows pc with the same type of static configuration. I have taken a look in the /etc/resolv.conf file and it has 3 lines as follows:-

nameserver 192.168.0.1
nameserver 192.168.0.2
nameserver 213.120.62.104

If I try to ping a local domain, e.g. ping local.[domainname].local I get:

ping: unknown host local.[domainname].local

However, if I try an nslookup for a local domain, e.g. nslookup local.[domainname].local I get:

Server: 192.168.0.1
Address: 192.168.0.1#53
Name: local.[domainname].local
Address: 192.168.0.58

This is correct as the local web server is .58 and that is where the dns points.

Anyway have any ideas what I need to change in the configuration to get this working? Is it something to do with the extra two lines in the /etc/resolv.conf file?

Thanks in advanced.

Best Regards

Andrew.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top