8

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?

3 Answers 3

10

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.

6

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.

0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .