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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RedHat DNS reslover

Status
Not open for further replies.
Aug 27, 2003
2
TT
Hi All,

I'm configuring a test email server using redhat advance server. I have set up DNS and can successfully ping clients and server machines by name. I want to set up the DNS resolver so that it can identify different domains. However, when i tested the resolver: dig example.com, I get the following result:
;; global options: printcmd
;; connection timed out; no servers could be reached

I would appreciate any help to get this working.


Thanks
 
Are you sure you have correct entries in your /etc/resolv.conf ?

nameserver nnn.nnn.nnn.nn1
nameserver nnn.nnn.nnn.nn2

Where nnn.nnn.nnn.nn1 is a valid IP of your primary DNS server and nnn.nnn.nnn.nn2 is of your secondary DNS server

Ok nslookup is a bit old hat now but try nslookup and use: server nnn.nnn.nnn.nnn (again a valid IP of a DNS server).

Good Luck,
Laurie.
 
Ok on your DNS server you will need the following


nameserver your.ip.add.ress
nameserver secondary.dns.server.ip
domain yourdomain.com


on your client /etc/resolv.conf file

have

domain yourdomain.com
nameserver your.dns.server.ip

Then all should work.

Cheers

Steve

SCSA,SCNA,CCNA,CCNP

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top