Re: [Bug 998712] Re: domain name completion broken when dnsmasq is used

2012-06-10 Thread Reggie McMurtrey
Thomas,
I'm not sure if an update has been pushed that has fixed my problem,
but I'm not seeing the issue at the moment,  I was going to work on the
issue earlier this weekend, but some events come up.  I have rebooted
several of my systems and I'm just not seeing the issue right now.  I'll
make sure to follow your directions below if my system gets in this
state again and report back.

--Reggie

On 06/08/2012 04:44 AM, Thomas Hood wrote:
> Reggie: First of all, thanks for providing information about the
> malfunction on your system.  We will get to the bottom of this!
>
> To get very clear on what's happening I will summarize.  Let me know if
> any of the following is wrong.
>
> With the following resolv.conf (omitting comments)
>
> nameserver 127.0.0.1
> search home.lan
>
> libc resolution of "lenin" repeatedly fails but "lenin.home.lan"
> repeatedly succeeds, whereas with
>
> nameserver 127.0.0.1
> nameserver 192.168.99.2
> search home.lan
>
> both of them repeatedly succeed.
>
> Dnsmasq listens at 127.0.0.1, configured with the following.
>
> server=192.168.99.2
> server=24.177.176.38
> server=97.81.22.195
>
> Only 192.168.99.2 can resolve the name "lenin.home.lan"; the others
> cannot.
>
> Now, what's going on here?
>
> First I'd like to rule out the possibility of side-effects of #1003842.
> Please eliminate the lines
>
> server=24.177.176.38
> server=97.81.22.195
>
> from /run/nm-dns-dnsmasq.conf and run all your tests again.  That is,
> repeatedly (at least twice) try "ping lenin" and "ping lenin.home.lan"
> both with only nameserver 127.0.0.1 listed in /etc/resolv.conf, and with
> nameserver 127.0.0.1 and nameserver 192.168.99.2 listed in
> /etc/resolv.conf.  Report the results  back here.
>
> In the case where you add "nameserver 192.168.99.2" to /etc/resolv.conf
> and name resolution subsequently succeeds, is there a noticeable delay?
>
> After you have edited /etc/resolv.conf, is /etc/resolv.conf still a
> symbolic link to /run/resolvconf/resolv.conf?  That is, did you in fact
> edit /run/resolvconf/resolv.conf as I am assuming you did?
>
> According to resolv.conf(5) the following environment variables can
> affect the behavior of the resolver: LOCALDOMAIN, RES_OPTIONS.  Is
> either of these set in your environment?  (Run, e.g., the
>
> env |grep '\(DOMAIN\|RES\)'
>
> command to check this.)
>

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dnsmasq in Ubuntu.
https://bugs.launchpad.net/bugs/998712

Title:
  domain name completion broken when dnsmasq is used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/998712/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 998712] Re: domain name completion broken when dnsmasq is used

2012-06-07 Thread Reggie McMurtrey
I'm havin a very simular issue with the new DNS setup in 12.04 on my
laptop.  I run a server at home which runs bind.  The server is setup
correctly, all my machines with 11.04 installed work as expected, but
the machines I have upgraded to 12.04 have issues.  My server provides
name resolution for machines spread out in my house.  A working
/etc/resolve.conf for 11.04 machines looks like:

# Generated by NetworkManager
domain home.lan
search home.lan
nameserver 192.168.99.2#my bind server (Provide DNS for 
local IP's 192.168.99.x )
nameserver 24.177.176.38 #dns server provided by ISP 
(Provide DNS for Internet IP's)
nameserver 97.81.22.195#dns server provided by ISP 
(Provide DNS for Internet IP's)


My new machines with 12.04 have a /etc/resolv.conf that looks like:

# 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 home.lan

/run/nm-dns-dnsmasq.conf looks like:

server=192.168.99.2
server=24.177.176.38
server=97.81.22.195


All DNS request for outside IP's (none 192.168.x.x) work.  My server has the ip 
192.168.99.2 with a FDN of linux.home.lan.If i do "ping linux" this fails, 
if i do "ping linux.home.lan" this works.  

if I change my /etc/resolv.conf to the following:


# 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
nameserver 192.168.99.2
search home.lan


I'm back in buisness.  Let me know what else I can do to help resolv (no pun 
intended :) this issue

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dnsmasq in Ubuntu.
https://bugs.launchpad.net/bugs/998712

Title:
  domain name completion broken when dnsmasq is used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/998712/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs