On 9/18/05, Mike <[EMAIL PROTECTED]> wrote:

> I could be wrong, but as far as I know,  the dns-nameservers  is not a
> valid declaration for /etc/network/interfaces, at least I couldn't find
> it in the interfaces manpage.  If the nameserver addresses are static,
> you don't need the resolvconf package.  All you have to do is set up
> /etc/resolv.conf.
> 
>

You're right in saying that in interfaces manpage you cannot find any
reference to that directive, but you can find it in
/usr/share/doc/resolvconf/README.gz:

[...]
3.4 ifupdown
    * Remove any "up" or "down" commands from /etc/network/interfaces
      that futz with /etc/resolv.conf and remove any scripts from
      /etc/network/if-*.d/ that futz with /etc/resolv.conf.
    * For each inet static logical interface through which a nameserver is
      accessible, add lines like the following to /etc/network/interfaces .

          dns-nameservers 11.22.33.44 55.66.77.88
          dns-search foo.org bar.com

[...]

Bye.

Reply via email to