I'm having trouble configuring resolvconf to use multiple search domains.
in /etc/resolvconf/resolv.conf.d/base I have
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):
search domain1.local domain2.local
while dnsmasq only gets the query for domain1.local
lieven@T500:~$ ping host2
ping: unknown host host2
my /etc/resolv.conf (linked to /etc/resolvconf/run/resolv.conf) contains
May 12 09:33:38 T500 dnsmasq: query[A] host2.domain1.local from 127.0.0.1
May 12 09:33:38 T500 dnsmasq: forwarded host2.domain1.local to 192.168.5.254
May 12 09:33:43 T500 dnsmasq: query[A] host2.domain1.local from 127.0.0.1
May 12 09:33:43 T500 dnsmasq: forwarded host2.domain1.local to 192.168.5.254
I used this kind of config before (on maverick) but I can't get it working on natty.
# 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
search domain1.local domain2.local dhcp.supplied.domain.net