LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How does my CentOS box determine its name servers? Will they change? (https://www.linuxquestions.org/questions/linux-newbie-8/how-does-my-centos-box-determine-its-name-servers-will-they-change-593782/)

sneakyimp 10-22-2007 05:50 PM

How does my CentOS box determine its name servers? Will they change?
 
I'm trying to install BIND as a caching nameserver on my CentOS 5 machine but I'm concerned that my ISP's nameservers might change. How does a CentOS box find its nameservers? Or where are they specified? Is there a conf file or is it a DNS-type process?

ahedler 10-23-2007 12:54 AM

No problem if you use DHCP
 
If you are using DHCP to get an IP address from your ISP, the DHCP server normally sets the default router and DNS settings for you, as well as your IP address. If you're on a fixed IP, your ISP will specify what DNS servers you should use, and will need to inform you if they plan to change them, if I'm not mistaken. Hope this helps...

-Alan

sneakyimp 10-23-2007 02:14 AM

I'm talking about my webserver here so I doubt it's using DHCP. Also, I looked at the file resolv.conf today and it looked like this:
Code:

search fastdns.net
options rotate
nameserver 11.22.33.44
nameserver 55.66.77.88

I called the tech support line and he said that they had some that were more up-to-date so apparently the do change. Can anyone tell me how this works in a little more detail?


All times are GMT -5. The time now is 12:22 AM.