Results 1 to 2 of 2

Thread: resolvconf and multiple search domains

  1. #1
    Join Date
    Jan 2009
    Beans
    4

    resolvconf and multiple search domains

    Hi,

    I'm having trouble configuring resolvconf to use multiple search domains.


    in /etc/resolvconf/resolv.conf.d/base I have

    Code:
    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):

    Code:
    lieven@T500:~$ ping host2
    ping: unknown host host2
    while dnsmasq only gets the query for domain1.local

    Code:
    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/run/resolv.conf) contains

    Code:
    # 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.domain.net
    I used this kind of config before (on maverick) but I can't get it working on natty.

    Any idea?

    Thanks,

    Lieven

  2. #2
    Join Date
    Mar 2005
    Beans
    211

    Re: resolvconf and multiple search domains

    This looks like the same bug as #998712. Please add your information there.

    https://bugs.launchpad.net/ubuntu/+s...sq/+bug/998712

    Workaround is to disable the local forwarding nameserver. Edit /etc/NetworkManager/NetworkManager.conf and comment out the line "dns=dnsmasq" in the "[main]" section. (To comment it out, insert a '#' character at the beginning of the line.) Then run "sudo restart network-manager".

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •