DHCP settings of different cards are mixed up
|Reported by:||pulkomandy||Owned by:||nobody|
|Component:||Network & Internet||Version:||R1/Development|
|Has a Patch:||no||Platform:||All|
On my local network I have my own dhcp server that provide name lookup for the local machines, so that I can easily ssh my homeserver or otherwise communicate without remembering all the IP addresses.
However, Haiku insist on using the DNS server it got from DHCP on my wireless card that's connected to my neighbour's unencrypted wifi, which I don't want to use. Disabling the wireless card in the network settings and re-running a DHCP request seems to work, but the wireless is enabled again on next boot and I have to disable it again.
Please use different DNS settings for each card and don't overwrite them each time a DHCP lease is run on any card.
Note that having one interface configured as static and another one as DHCP will make the DHCP one overwrite the DNS and domain settings for the static one, too.