Setting DNS servers for a NIC

  • Thread starter Thread starter Deleted member 67029
  • Start date Start date
Sir Dice

No it's not. I just checked, both my NIC's use different settings.


Alain De Vos

You should get out more.
 
No it's not. I just checked, both my NIC's use different settings.
Only the DNS suffix is connection specific. And you typically use the same DNS servers everywhere because the machine is registered to a certain REALM (Windows domain), not the interface. The domain controllers typically serve as DNS servers too because ADS is highly dependent on DNS.

 
Yes, but if you have two apps, one set to use NIC 1 and the other to use NIC 2, I would think they will use the corresponding DNS setting for the NIC it is set to use.
 
An app makes a function call to have dns resolved to an IP-address. But this function call is as far as I know not bound to a NIC.
man 1 getaddrinfo.
The windows API can offcourse be different.
 
Yes, but if you have two apps, one set to use NIC 1 and the other to use NIC 2, I would think they will use the corresponding DNS setting for the NIC it is set to use.
It doesn't work that way.
 
You configure a dhclient for an interface. The application of the structure of the config file is limited to the dhclient service.
The same structure does not apply for the working of the O.S. complete.
 
Interface group.
I remember once a complex DNS problem on a Windows Server.
After analyzing we figured out DNS request send on different interfaces where taking different routes.
And one route was false.
 
Back
Top