Click to See Complete Forum and Search --> : where do my ISP's DNS numbers go?


cotfessi
02-03-2001, 05:17 PM
i've been playing with my connection and trying to secure it but just realized that my connection is having trouble with DNS.

I turned off all firewall, etc. and still nothing. I had this problem in Mandrake as well but I was able to add my ISP's DNS numbers through a gui in X. right now I'm only at the command line. can someone tell me where to put my ISP's primary and secondary DNS server IP addresses????

p.s. I'm running a DSL line using pppoe

thanks,
-cotfessi

Radar
02-03-2001, 05:18 PM
/etc/resolv.conf
/etc/ppp/resolv

search my.ip.provider
nameserver my.ns.ip1
nameserver my.ns.ip2

cotfessi
02-03-2001, 05:44 PM
i don't have either of those files

The King Ant
02-03-2001, 06:05 PM
As root, open a text editor (pico, vi, emacs, whatever), and edit /etc/resolv.conf so it looks like:

search your.ip.provider
nameserver 123.456.789.000
nameserver 123.456.789.000

Where "your.ip.provider" would be "bellsouth.net", or whatever
And then 2 numbers following "nameserver" would be the ip addresses of two different DNS servers.

cotfessi
02-03-2001, 06:57 PM
thanks... it works now