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

Bug#4149: /etc/resolv.conf gets bad configuration



Package: base(?)
Version: 1.1.0-14

During the initial installation of Debian 1.1, the user is asked for
information which is used to construct an /etc/resolv.conf file.

However:

  - If the user enters more than one nameserver IP address, all the
    addresses are listed on a single line in /etc/resolv.conf; they
    should instead appear on separate lines, one for each address.

  - Both "domain" and "search" directives are present in the file.
    These are mutually exclusive, and only the last instance is
    effective.

    "domain" is in fact only a special case of "search" that implies
    a particular pattern. For example, the following are equivalent:

        domain foo.bar.baz.com
        search foo.bar.baz.com bar.baz.com baz.com

    Having both directives in the file is misleading and can cause
    problems if the user makes an innocent change to reverse the order
    of these lines; therefore I would recommend only one be written
    during the installation procedure.

-- 
Robert Leslie
rob@mars.org



Reply to: