Almost every distro I know will wipe /etc/resolv.conf on reboot (I think dhcp does this) and thus the place to add static dhcp entries varies per distro. How to I add static dns servers to a CentOS server? so that I know that my entries will survive a reboot?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
||||
|
|
For CentOS it looks like you add More generically, iIf you're using
For Finally |
|||
|
|
|
It would really just come down to how you configure your dhcp client. From the link provided, it seems the relevant file will be
|
|||
|
|