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?


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).


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 and


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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