2005/9/1, Eric Brown <[EMAIL PROTECTED]>: > In testing, I'm installing postfix and it is pulling in this > resolvconf package. resolvconf is trying to tell me that it is much > better to put my name servers in /etc/network/interfaces. But why? > What is the benefit? > > Does I need this line for each defined interface or just at the top > of the file for all interfaces? > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
They're for each interface. I think that the reason is because you can have different interfaces connecting by different ways (for example in a notebook); when you connect by ppp or by dhcp normally the nameservers are defined by them. Example: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 10.9.18.19 netmask 255.255.0.0 network 10.9.0.0 broadcast 10.9.255.255 gateway 10.9.0.2 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 10.0.0.86 200.72.1.5 200.72.1.1 auto ath0 iface ath0 inet dhcp -- Franco Gorziglia Cheviakoff http://www.gorziglia.cl