guessnet: specifying multiple domains in dns-search, but only the first is used
Charlie Kravetz
cjk at teamcharliesangels.com
Wed Jan 14 18:06:09 UTC 2009
On Thu, 08 Jan 2009 23:02:00 +0100
Allan Kristensen <allank at tigerdyr.com> wrote:
> Package: guessnet
> Version: 0.49-1
> Severity: normal
>
>
> When specifying multiple domains or sub-domains in dns-search, only
> the first domain is used in /etc/resolv.conf
>
> Example /etc/network/interfaces
>
> auto lo
> iface lo inet loopback
>
> auto eth0
> auto wlan0
> auto tun0
>
> # Guessnet
> # possible guessnet default
> iface dhcp inet dhcp
>
> mapping eth0
> script guessnet-ifupdown
> map default: dhcp
> map verbose: true
> map debug: true
> map work-wired
>
> mapping wlan0
> script guessnet-ifupdown
> map default: dhcp
> map verbose: true
> map debug: true
> map work-wifi
> map home-wifi
>
> iface work-wired inet dhcp
> dns-search emea.example.com nam.example.com asia.example.com
> example.com dns-server <work name server>
> test peer address <work ip address> mac <work mac address>
>
> iface work-wifi inet dhcp
> dns-search emea.example.com nam.example.com asia.example.com
> example.com dns-server <work name server>
> test wireless essid Wireless
>
> iface home-wifi inet dhcp
> dns-search mydomain.com
> dns-server <home name server>
> test wireless essid PrivateWireless
>
> iface unknown inet dhcp
>
>
> /etc/resolv.conf looks like below when wired connected at work
>
> domain emea.example.com
> search emea.example.com
> nameserver <work name server>
>
> The expected behavior should have been
>
> domain emea.example.com
> search emea.example.com nam.example.com asia.example.com example.com
> nameserver <work name server>
>
>
> Currently I have to add the extra sub-domains to /etc/resolv.conf
> every time I come to office.
>
>
> -- System Information:
> Debian Release: lenny/sid
> APT prefers intrepid-updates
> APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'),
> (500, 'intrepid') Architecture: i386 (i686)
>
> Kernel: Linux 2.6.27-9-generic (SMP w/2 CPU cores)
> Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages guessnet depends on:
> ii libc6 2.8~20080505-0ubuntu7 GNU C Library: Shared
> libraries ii libgcc1 1:4.3.2-1ubuntu11 GCC support
> library ii libiw29 29-1ubuntu2 Wireless tools -
> library ii libnet1 1.1.2.1-2build1 library for the
> construction and h ii libpcap0.8 0.9.8-5
> system interface for user-level pa ii libstdc++6
> 4.3.2-1ubuntu11 The GNU Standard C++ Library v3
>
> guessnet recommends no packages.
>
> -- no debconf information
>
Can you file this on launchpad? I know the system sent it to the users
mailing list, but it never gets worked if it stays here.
The right place to file bug reports is:
https://bugs.launchpad.net/ubuntu
That will give the developers a chance to see if they can fix it.
Thanks.
--
Charlie Kravetz
Linux Registered User Number 425914 [http://counter.li.org/]
Never let anyone steal your DREAM. [http://keepingdreams.com]
More information about the ubuntu-users
mailing list