Original resolv.conf generated by Puppet appended to resolvconf-generated resolv.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Business Desktop Remix, by Canonical |
New
|
Undecided
|
Unassigned |
Bug Description
Although the search domain is saved to resolv.conf, the resolver is not resolving hosts in the search domain.
Here I'm trying to ping a host whose IP is resolvable via the search domain, but ping can't find the IP unless I add the domain name to the host name:
user@accrec2:~$ ping kane
ping: unknown host kane
user@accrec2:~$ ping kane.jjhawkins.
PING kane.jjhawkins.
64 bytes from kane.jjhawkins.
64 bytes from kane.jjhawkins.
^C
--- kane.jjhawkins.
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.175/0.
user@accrec2:~$
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: resolvconf 1.63ubuntu16
ProcVersionSign
Uname: Linux 3.2.0-31-generic i686
ApportVersion: 2.0.1-0ubuntu13
Architecture: i386
Date: Mon Oct 8 16:39:40 2012
DistributionCha
# This is a distribution channel descriptor
# For more information see http://
canonical-
InstallationMedia: Ubuntu 12.04 "Precise" - Build i386 LIVE Binary 20120504-02:32
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
TERM=xterm
PATH=(custom, no user)
LANG=en_AU.UTF-8
LANGUAGE=en_AU:en
SourcePackage: resolvconf
UpgradeStatus: No upgrade log present (probably fresh install)
Looking at your resolv.conf file I see that the first part is generated by resolvconf and the second part by puppet. The latter part includes a line
domain buildd
which overrides the search line earlier in the file.
Please post the output of the following commands run in a terminal window.
ls -l /etc/resolvconf /resolv. conf.d /resolv. conf.d/ original
cat /etc/resolvconf