4

I have a Windows 10 machine which often changes networks and retrieves its IP configuration via DHCP. Since an indefinite moment in the past it started to set its DNS as fixed, despite the fact that they are retrieved via DHCP:

enter image description here

The initial setting was Obtain DNS server address automatically and upon receiving this address, it switches to the "static mode" above (the DNS IPs are the one it received from DHCP).

Only the DNS setting is impacted.

What is the reason for this behaviour?

  • 7
    Just a side note, hiding a local IP will not protect you from anything. – Julie Pelletier May 25 '16 at 15:59
  • 1
    Well, I work in security and there is a surprising amount of information you can gather via / from private addresses. You can work out a topology for instance. This is why I prefer to hide such information for static IPs of servers with known functions. YMMV. – WoJ May 25 '16 at 18:10
  • 2
    @woj- correct in that YMMV. – Jim B May 25 '16 at 19:42
9

While typing this question I got the answer from someone who had the same problem: the Obtain DNS server address automatically setting is "inherited", in the sense that if any interface on the machine is set to have a static DNS server, the others will switch to a static one upon receiving the DHCP information.

The solution is therefore to look though all the interfaces on the machine and make sure that all DNS settings are set to DHCP.

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.