Depends on the DHCP client you're using (not sure which one each release of Debian uses). Generally, there's dhcpcd and dhclient.
One of them (can't remember which) can take arguments to ignore things (like update DNS names from DHCP).
Both of them can have configuration files.
Default configuration files:
/etc/dhcpcd.ini
/etc/dhclient.conf
Hope this helps.
Main Topics
Browse All Topics





by: ravenplPosted on 2009-06-22 at 00:17:23ID: 24680273
I'm RH guy - but should be same way
I'm similar situation, though only 2 NIC - every on DHCP. I'm running internal dns cache server
my /etc/dhclient.conf
supersede domain-name "mydomain.com";
supersede domain-name-servers 127.0.0.1;
You can do it on per-NIC basis, like
interface "eth2" {
supersede domain-name "mydomain.com";
supersede domain-name-servers 127.0.0.1;
}
And of course read the "man dhclient.comf"