Package: openresolv
Version: 3.4.4-2
Severity: normal

I am not sure if this is a bug in openresolv or in the ifupdown package, but
it doesn't appear that the /etc/network/if-up.d/000resolvconf field entry to
set the domain or sortlist in /etc/resolv.conf from /etc/network/interfaces
is working.

In various ifupdown documentation & openresolv scripts I found that that
dns-domain, dns-sortlist are valid parameters for the interfaces file, 
in addition to dns-search, dns-nameservers, and dns-options.


BTW: the version of ifupdown that I have tested is: 0.7~alpha5.1
0.7~alpha5+really0.6.10, ifupdown-extra is installed as well: 0.18

here is a sample complex interfaces file excerpt:
auto eth0
iface eth0 inet static
        address 192.168.0.3
        network 192.168.0.0
        netmask 255.255.255.0
        broadcast 192.168.0.255
#       dns-domain foo
        dns-search foo bar
        dns-nameservers 192.168.0.2
        dns-options timeout:5
        dns-sortlist 130.155.160.0/255.255.240.0 130.155.0.0

auto eth1
iface eth1 inet static
        address 192.0.43.10
        network 192.0.43.0
        netmask 255.255.255.0
        broadcast 192.0.43.255
        gateway 192.0.43.1
        dns-domain example.com
        dns-nameservers 8.8.8.8 8.8.8.4

Will result in the following /etc/resolv.conf (Note: local ns installed)
$ cat /etc/resolv.conf 
# Generated by resolvconf
search foo bar example.com
nameserver 127.0.0.1
nameserver 192.168.0.2
nameserver 8.8.8.8
nameserver 8.8.4.4
options timeout:5


domain & sortlist are missing, and the domain value is being appended to
search, plus the eth0 & eth1 stanza's aren't broken up like in the following
URL: http://roy.marples.name/projects/openresolv/wiki/OpenResolvReasons

Thanks

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to