[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: resolvconf not working?

On 9/18/05, Mike <mikewk147@comcast.net> 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

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-search foo.org bar.com



Reply to: