Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We are using OpenDNS on our router and we want all the windows clients to obtain DNS automatically from the router. The problem is that some of the client machines the ip address is to be set as static. And under the TCP/IP settings as soon as you select "Use the following IP Address", it wants you to specify the Preferred DNS Servers. I want the DNS to come automatically from the router. Any ideas how to do this?

share|improve this question
add comment

3 Answers

Change the IP address to DHCP. Add a static DHCP entry on your DHCP server.

This does cause some issues your DHCP server isn't available when the server is first booting (say after a power outage).

share|improve this answer
add comment

You can specify that the static IP system use the same router address that you are providing via DHCP to your clients.

There is not a way that I am aware of to tell a system to have a staic IP but get the DNS server information from DHCP.

Also, you could just specify the OpenDNS server IP address directly. I doubt that the IP of the Open DNS servers ever change from 208.67.222.222 and 208.67.220.220.

share|improve this answer
add comment

Why not set the DNS value to the router itself? The router should understand how to pass on or resolve DNS queries. This way you keep your DNS settings in a 'centralised' place, which makes it easier to change your DNS 'path' in the future.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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