Click to See Complete Forum and Search --> : Pointing to DNS


fantasma
10-16-2000, 08:03 PM
Hello-

One more question- I want to point a test Solaris server to our existing DNS server. What is the command line procedure for telling one box that another box will be resolving its DNS queries?

-Much Thanks

bytemare
10-17-2000, 10:33 AM
Just put the name of your dns server in /etc/resolv.conf with this line:

nameserver xxx.xxx.xxx.xxx

fantasma
10-17-2000, 11:39 AM
Hmmm... I don't seem to have BIND installed. There isn't a resolv.conf file on my system. Someone had this box referring to our dns servers before I got ahold of it; how did they pull this off?

-Thanks

dieselboy
10-17-2000, 03:42 PM
if there is not a resolv.conf then creat onein /etc

bytemare
10-18-2000, 09:32 AM
yup, create /etc/resolv.conf

you don't need bind for dns.

it could be that this server was using yellow pages or something, check in your /etc/nsswitch.conf and make sure you have:
hosts: files dns

fantasma
10-18-2000, 10:30 AM
Thanks everyone. She's up and running now.