multiple .local search domains not honoured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dnsmasq (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
Binary package hint: resolvconf
in /etc/resolvconf
search domain1.local domain2.local
When trying to connect to a host in domain2.local using only the hostname, only the first domain is searched by my local dnscache (dnsmasq):
lieven@T500:~$ ping host2
ping: unknown host host2
while dnsmasq only gets the query for domain1.local
May 12 09:33:38 T500 dnsmasq[4302]: query[A] host2.domain1.local from 127.0.0.1
May 12 09:33:38 T500 dnsmasq[4302]: forwarded host2.domain1.local to 192.168.5.254
May 12 09:33:43 T500 dnsmasq[4302]: query[A] host2.domain1.local from 127.0.0.1
May 12 09:33:43 T500 dnsmasq[4302]: forwarded host2.domain1.local to 192.168.5.254
my /etc/resolv.conf (linked to /etc/resolvconf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search domain1.local domain2.local dhcp.supplied.
I used this kind of config before (on maverick) but I can't get it working on natty.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: resolvconf 1.48ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-
Architecture: i386
Date: Thu May 12 10:52:11 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: resolvconf
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in dnsmasq (Ubuntu): | |
status: | New → Incomplete |
Changed in dnsmasq (Ubuntu): | |
status: | Invalid → Incomplete |
Not a resolvconf issue: resolvconf correctly composes the "search" line in resolv.conf and that's all it's meant to do.
Reassigning to dnsmasq.