Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

The Ubuntu 10.04 server has eth0 Internet interface configured by means of an ISP's DHCP. At the same time the server has static eth0 LAN interface to which it provides masquerading (NAT) and LAN-internal DHCP service (dhcp3-server).

As far as I've understood the manual, I had to hardcode DNS servers to advertise through LAN DHCP with option domain-name-servers in dhcpd.conf.

But what if the ISP changes his DNS server IP silently (we use a SOHO-class ISP, so this won't surprise me much)? Can I configure dhcpd to advertise the DNS server the server uses itself, the one gotten by its DHCP client mechanism?

share|improve this question

closed as too localized by Marco Ceppi Feb 3 '12 at 0:56

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

Not really an answer to your question, but in this kind of setup I have always used dnsmasq to create and easy local dns cache. It also the road that most consumer level routers take, so it's probably quite reasonable. Note that dnsmasq could also double as a dhcp server for small networks. –  Javier Rivera Dec 21 '10 at 10:50
This question seems abandoned, there is not further information or activity added to it for several months. I am flagging this to be closed by a moderator. If you think this issue is still affecting you you can flag a moderator to re-open it. –  Bruno Pereira Feb 3 '12 at 0:42

1 Answer 1

Not really an answer, but maybe it helps - you may use Google Public DNS servers: and , or may also list both - google and your ISP so if ISP changes IP, google will still catch-up.

Actually I don't think any sane ISP will ever change it's DNS server IP.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.