linux poison RSS
linux poison Email

HowTo Add Primary and Secondary DNS server

1) Open file /etc/resolve.conf using any editor
2) Add your Primary and Secondary DNS ip at the end of the file and it should look like this:- (this is just an example, add the ip address provide by your ISP or your Administrator)

search localhost.localdomain
nameserver 192.168.0.1
nameserver 199.5.85.203

3) Save the file and exit

you are done


4 comments:

Anonymous said...

If you're using dhcp, won't it overwrite /etc/resolv.conf whenever it gets the nameserver?

Anonymous said...

Won't dhcp delete that information whenever it sets up the interface?

Anonymous said...

Won't dhcp delete that information whenever it sets up the interface?

Anonymous said...

Good news. Thanks for clause. I shall go to search for the information on the given theme further

Post a Comment

Related Posts with Thumbnails