Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Windows, when I select static IP (instead of DHCP-assigned one) I have to enter the IP address for DNS servers. Is there a way to manually set IP address yet obtain the DNS addresses from the DHCP server?

share|improve this question
add comment

3 Answers 3

up vote 7 down vote accepted

No, this is not possible. You can either use static or dynamic configuration, not both.

However most DHCP server allow you to assign an IP address to a specific MAC address. This way the client gets the IP (and things like DNS server etc.) from the DHCP server but it will always be the same. You can set this in the configuration of you DHCP server.

share|improve this answer
add comment

You can tell your router to give that computer a "static lease" which is to say, to assign it an IP dynamically, but always the same IP (it binds to Mac address usually). Most DHCP setups allow for that.

share|improve this answer
add comment

With every residential-class router I have used, you can point the client DNS to the router's IP and it will forward DNS requests to whatever DNS IP the router is using. The end result is the same.

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.