Le 11/03/2013 23:22, ChadDavis a écrit :

What if I just want to add a couple on the tail of whatever dhclient discovers? I can read the docs myself . . . but if you know off hand that's its kind of whacky or something, that would be good to know.

    2. Install resolvconf and use it to override the nameservers.  This is
    the one I like the best.

      # apt-get install resolvconf

      Then edit /etc/network/interfaces.  Add a line like this (untested):

      iface eth0 inet dhcp
            dns-nameservers 8.8.8.8 192.168.1.1


Again, if possible, it would be nice to let dhclient do it's thing and then append the new ones.


With resolvconf you may add those servers in /etc/resolvconf.d/tail

See man resolvconf (or http://pwet.fr/man/linux/administration_systeme/resolvconf)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/513e5a30.3050...@rail.eu.org

Reply via email to