[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-26 Thread Thomas Hood
Guillaume wrote in #979067:

 [Dnsmasq] tries to access DNS servers from the wireless
 network [...and...] fails to resolve requests. It takes a lot of
 failures before all the unreachable servers have been
 exhausted, which makes for a poor user experience.

William reports that dnsmasq does not try other nameservers at all,
whereas Guillaume seems to be saying that dnsmasq will only try other
nameservers after a long time.  Can you guys describe in more detail
what happens?

-- 
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/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/991308/+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 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-26 Thread Guillaume Melquiond
What I meant is that DNS resolution always fails at first, and then
after lots of tries, it starts to work. But now that I look at the logs,
it may just have been a fluke: it eventually works because one of the
reachable nameservers happens to reply fast enough.

-- 
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/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/991308/+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 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-26 Thread Thomas Hood
What do you mean by fast enough, though?  Do you mean that all the
listed nameservers are very slow, some of them infinitely so (perhaps
because of a routing problem) and dnsmasq either always (William's case)
or usually (your case) times out before any nameserver replies?

-- 
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/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/991308/+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 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-26 Thread Guillaume Melquiond
No, that's the contrary, they reply too fast, in a sense. If you look at
the log I posted, dnsmasq does receive some kind of reply from the
unreachable nameservers. I don't know whether this is a crafted reply by
the firewall or whether the query actually reached the nameserver but it
replied with some kind of failure because the query did not come through
the proper route. If you are interested, I can capture a dump of the
packets the next time I'm on these networks. Anyway, as I currently
understand it, all the nameservers queried by dnsmasq are replying
somehow, and dnsmasq only considers the first reply. As a consequence,
there is a race between the servers, so DNS resolution will succeed only
if the properly routed server replies the fastest.

-- 
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/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/991308/+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 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-26 Thread Thomas Hood
Guillaume wrote in #979067:

 [Dnsmasq] tries to access DNS servers from the wireless
 network [...and...] fails to resolve requests. It takes a lot of
 failures before all the unreachable servers have been
 exhausted, which makes for a poor user experience.

William reports that dnsmasq does not try other nameservers at all,
whereas Guillaume seems to be saying that dnsmasq will only try other
nameservers after a long time.  Can you guys describe in more detail
what happens?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-26 Thread Guillaume Melquiond
What I meant is that DNS resolution always fails at first, and then
after lots of tries, it starts to work. But now that I look at the logs,
it may just have been a fluke: it eventually works because one of the
reachable nameservers happens to reply fast enough.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-26 Thread Thomas Hood
What do you mean by fast enough, though?  Do you mean that all the
listed nameservers are very slow, some of them infinitely so (perhaps
because of a routing problem) and dnsmasq either always (William's case)
or usually (your case) times out before any nameserver replies?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-26 Thread Guillaume Melquiond
No, that's the contrary, they reply too fast, in a sense. If you look at
the log I posted, dnsmasq does receive some kind of reply from the
unreachable nameservers. I don't know whether this is a crafted reply by
the firewall or whether the query actually reached the nameserver but it
replied with some kind of failure because the query did not come through
the proper route. If you are interested, I can capture a dump of the
packets the next time I'm on these networks. Anyway, as I currently
understand it, all the nameservers queried by dnsmasq are replying
somehow, and dnsmasq only considers the first reply. As a consequence,
there is a race between the servers, so DNS resolution will succeed only
if the properly routed server replies the fastest.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-25 Thread Guillaume Melquiond
Here is what I get when routing to the DNS servers goes through the
wrong interfaces. See bug #979067 for additional details on my setup.

Jun 25 12:50:51 dnsmasq[3799]: reading /var/run/dnsmasq/resolv.conf
Jun 25 12:50:51 dnsmasq[3799]: using nameserver yy.yy.36.37#53
Jun 25 12:50:51 dnsmasq[3799]: using nameserver yy.yy.34.35#53
Jun 25 12:50:51 dnsmasq[3799]: using nameserver xx.xx.213.253#53
Jun 25 12:50:51 dnsmasq[3799]: query[A] www.google.fr from 127.0.0.1
Jun 25 12:50:51 dnsmasq[3799]: forwarded www.google.fr to xx.xx.213.253
Jun 25 12:50:51 dnsmasq[3799]: forwarded www.google.fr to yy.yy.34.35
Jun 25 12:50:51 dnsmasq[3799]: forwarded www.google.fr to yy.yy.36.37
Jun 25 12:50:51 dnsmasq[3799]: nameserver yy.yy.34.35 refused to do a recursive 
query

-- 
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/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/991308/+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 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-25 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: dnsmasq (Ubuntu)
   Status: New = Confirmed

-- 
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/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/991308/+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 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-25 Thread Guillaume Melquiond
Here is what I get when routing to the DNS servers goes through the
wrong interfaces. See bug #979067 for additional details on my setup.

Jun 25 12:50:51 dnsmasq[3799]: reading /var/run/dnsmasq/resolv.conf
Jun 25 12:50:51 dnsmasq[3799]: using nameserver yy.yy.36.37#53
Jun 25 12:50:51 dnsmasq[3799]: using nameserver yy.yy.34.35#53
Jun 25 12:50:51 dnsmasq[3799]: using nameserver xx.xx.213.253#53
Jun 25 12:50:51 dnsmasq[3799]: query[A] www.google.fr from 127.0.0.1
Jun 25 12:50:51 dnsmasq[3799]: forwarded www.google.fr to xx.xx.213.253
Jun 25 12:50:51 dnsmasq[3799]: forwarded www.google.fr to yy.yy.34.35
Jun 25 12:50:51 dnsmasq[3799]: forwarded www.google.fr to yy.yy.36.37
Jun 25 12:50:51 dnsmasq[3799]: nameserver yy.yy.34.35 refused to do a recursive 
query

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-25 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: dnsmasq (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread Thomas Hood
Simon, do you think that dnsmasq could misbehave as described here?


** Also affects: dnsmasq (Ubuntu)
   Importance: Undecided
   Status: New

-- 
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/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/991308/+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 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread Simon Kelley
Simon, do you think that dnsmasq could misbehave as described here?
The only way I can see for this to occur is if a DNS server is return wrong (ie 
NXDOMAIN or NODATA) answers, no answer shouldn't be a problem.

I suggest adding  --log-queries to the dnsmasq configuration to try and
get a handle on what's happening.

Simon.

-- 
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/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/991308/+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 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread William Lightning
aparently I spoke to soon =(

-- 
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/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/991308/+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 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread Thomas Hood
Does the standalone dnsmasq behave the same way?

To find out, disable nm-dnsmasq by commenting out the line dns=dnsmasq
in /etc/NetworkManager/NetworkManager.com.  Restart network-manager.
Then install the dnsmasq package.

If standalone dnsmasq also misbehaves then turn on log-queries mode: add
the line

DNSMASQ_OPTS=--log-queries

to /etc/default/dnsmasq and restart dnsmasq with sudo
/etc/init.d/dnsmasq restart. When you look up names dnsmasq will now
log its actions in /var/log/syslog.  Attach a file containing syslog
snippets showing what happens behind the scenes when dnsmasq fails to
resolve a name.

-- 
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/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/991308/+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 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread Thomas Hood
In bug #979067 there is a similar description of apparent dnsmasq
misbehavior.

There Guillaume Melquiond writes:
 It takes a lot of failures before all the unreachable servers
 have been exhausted, which makes for a poor user experience.

-- 
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/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/991308/+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 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread William Lightning
Yes, it happens with dnsmasq by itself. However it appears that dnsmasq
is caching the result, so when it sees a good one it will keep serving
it.

Here is some example output from the syslog:

Jun 22 13:42:18 archon dnsmasq[9635]: started, version 2.59 cachesize 150
Jun 22 13:42:18 archon dnsmasq[9635]: compile time options: IPv6 GNU-getopt 
DBus i18n DHCP TFTP conntrack IDN
Jun 22 13:42:18 archon dnsmasq[9635]: reading /var/run/dnsmasq/resolv.conf
Jun 22 13:42:18 archon dnsmasq[9635]: using nameserver 75.75.76.76#53
Jun 22 13:42:18 archon dnsmasq[9635]: using nameserver 75.75.75.75#53
Jun 22 13:42:18 archon dnsmasq[9635]: read /etc/hosts - 8 addresses
Jun 22 13:42:18 archon dnsmasq[9635]: query[SOA] local from 127.0.0.1
Jun 22 13:42:18 archon dnsmasq[9635]: forwarded local to 75.75.75.75
Jun 22 13:42:18 archon dnsmasq[9635]: forwarded local to 75.75.76.76
Jun 22 13:42:18 archon dnsmasq[9635]: query[SOA] local from 127.0.0.1
Jun 22 13:42:18 archon dnsmasq[9635]: forwarded local to 75.75.75.75
..
Jun 22 13:43:09 archon dnsmasq[9635]: query[A] slashdot.org from 127.0.0.1
Jun 22 13:43:09 archon dnsmasq[9635]: forwarded slashdot.org to 75.75.75.75
Jun 22 13:43:09 archon dnsmasq[9635]: reply slashdot.org is 216.34.181.45
Jun 22 13:43:26 archon dnsmasq[9635]: query[A] slashdot.org from 127.0.0.1
Jun 22 13:43:26 archon dnsmasq[9635]: cached slashdot.org is 216.34.181.45
..
Jun 22 13:46:00 archon dnsmasq[9814]: query[A] gmail.com from 127.0.0.1
Jun 22 13:46:00 archon dnsmasq[9814]: forwarded gmail.com to 75.75.75.75
Jun 22 13:46:00 archon dnsmasq[9814]: forwarded gmail.com to 75.75.76.76
Jun 22 13:46:05 archon dnsmasq[9814]: query[A] gmail.com from 127.0.0.1
Jun 22 13:46:05 archon dnsmasq[9814]: forwarded gmail.com to 75.75.75.75
Jun 22 13:46:05 archon dnsmasq[9814]: forwarded gmail.com to 75.75.76.76
Jun 22 13:46:10 archon dnsmasq[9814]: query[A] gmail.com from 127.0.0.1
Jun 22 13:46:10 archon dnsmasq[9814]: forwarded gmail.com to 75.75.75.75
Jun 22 13:46:10 archon dnsmasq[9814]: forwarded gmail.com to 75.75.76.76


the last was generated by dig @localhost gmail.com

-- 
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/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/991308/+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 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread William Lightning
Just noticed this as well:
http://mydeviceinfo.comcast.net/device.php?tier=-1devid=298e=0d3=0s=nso=0sc=1546

To quote the red bit at top:
Comcast has identified a software defect on the Arris TG852 and TG862, which 
may cause problems for a small number of users attempting to use third party 
DNS services. Arris and Comcast are working to correct this issue and will 
deploy updated device firmware to resolve the issue. If a customer does not 
wish to wait for the updated firmware, the customer may email us at 
we_can_h...@cable.comcast.com and a replacement device will be provided at no 
cost to the customer.

Although I am using the default Comcast provided DNS servers of
75.75.75.75 and 75.75.76.76, so not sure this would affect it or not.

-- 
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/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/991308/+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 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread Thomas Hood
Simon, do you think that dnsmasq could misbehave as described here?


** Also affects: dnsmasq (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread Simon Kelley
Simon, do you think that dnsmasq could misbehave as described here?
The only way I can see for this to occur is if a DNS server is return wrong (ie 
NXDOMAIN or NODATA) answers, no answer shouldn't be a problem.

I suggest adding  --log-queries to the dnsmasq configuration to try and
get a handle on what's happening.

Simon.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread William Lightning
Well when I did a manual dig @75.75.76.76 it timed out half of the
queries. The few responses it gave did seem good. That may not have been
representative though of the overall.

Unfortunately (or fortunately) the issue has stopped happening.

Thank you for your attention to this issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread William Lightning
aparently I spoke to soon =(

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread Thomas Hood
Does the standalone dnsmasq behave the same way?

To find out, disable nm-dnsmasq by commenting out the line dns=dnsmasq
in /etc/NetworkManager/NetworkManager.com.  Restart network-manager.
Then install the dnsmasq package.

If standalone dnsmasq also misbehaves then turn on log-queries mode: add
the line

DNSMASQ_OPTS=--log-queries

to /etc/default/dnsmasq and restart dnsmasq with sudo
/etc/init.d/dnsmasq restart. When you look up names dnsmasq will now
log its actions in /var/log/syslog.  Attach a file containing syslog
snippets showing what happens behind the scenes when dnsmasq fails to
resolve a name.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread Thomas Hood
In bug #979067 there is a similar description of apparent dnsmasq
misbehavior.

There Guillaume Melquiond writes:
 It takes a lot of failures before all the unreachable servers
 have been exhausted, which makes for a poor user experience.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread William Lightning
Yes, it happens with dnsmasq by itself. However it appears that dnsmasq
is caching the result, so when it sees a good one it will keep serving
it.

Here is some example output from the syslog:

Jun 22 13:42:18 archon dnsmasq[9635]: started, version 2.59 cachesize 150
Jun 22 13:42:18 archon dnsmasq[9635]: compile time options: IPv6 GNU-getopt 
DBus i18n DHCP TFTP conntrack IDN
Jun 22 13:42:18 archon dnsmasq[9635]: reading /var/run/dnsmasq/resolv.conf
Jun 22 13:42:18 archon dnsmasq[9635]: using nameserver 75.75.76.76#53
Jun 22 13:42:18 archon dnsmasq[9635]: using nameserver 75.75.75.75#53
Jun 22 13:42:18 archon dnsmasq[9635]: read /etc/hosts - 8 addresses
Jun 22 13:42:18 archon dnsmasq[9635]: query[SOA] local from 127.0.0.1
Jun 22 13:42:18 archon dnsmasq[9635]: forwarded local to 75.75.75.75
Jun 22 13:42:18 archon dnsmasq[9635]: forwarded local to 75.75.76.76
Jun 22 13:42:18 archon dnsmasq[9635]: query[SOA] local from 127.0.0.1
Jun 22 13:42:18 archon dnsmasq[9635]: forwarded local to 75.75.75.75
..
Jun 22 13:43:09 archon dnsmasq[9635]: query[A] slashdot.org from 127.0.0.1
Jun 22 13:43:09 archon dnsmasq[9635]: forwarded slashdot.org to 75.75.75.75
Jun 22 13:43:09 archon dnsmasq[9635]: reply slashdot.org is 216.34.181.45
Jun 22 13:43:26 archon dnsmasq[9635]: query[A] slashdot.org from 127.0.0.1
Jun 22 13:43:26 archon dnsmasq[9635]: cached slashdot.org is 216.34.181.45
..
Jun 22 13:46:00 archon dnsmasq[9814]: query[A] gmail.com from 127.0.0.1
Jun 22 13:46:00 archon dnsmasq[9814]: forwarded gmail.com to 75.75.75.75
Jun 22 13:46:00 archon dnsmasq[9814]: forwarded gmail.com to 75.75.76.76
Jun 22 13:46:05 archon dnsmasq[9814]: query[A] gmail.com from 127.0.0.1
Jun 22 13:46:05 archon dnsmasq[9814]: forwarded gmail.com to 75.75.75.75
Jun 22 13:46:05 archon dnsmasq[9814]: forwarded gmail.com to 75.75.76.76
Jun 22 13:46:10 archon dnsmasq[9814]: query[A] gmail.com from 127.0.0.1
Jun 22 13:46:10 archon dnsmasq[9814]: forwarded gmail.com to 75.75.75.75
Jun 22 13:46:10 archon dnsmasq[9814]: forwarded gmail.com to 75.75.76.76


the last was generated by dig @localhost gmail.com

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-06-22 Thread William Lightning
Just noticed this as well:
http://mydeviceinfo.comcast.net/device.php?tier=-1devid=298e=0d3=0s=nso=0sc=1546

To quote the red bit at top:
Comcast has identified a software defect on the Arris TG852 and TG862, which 
may cause problems for a small number of users attempting to use third party 
DNS services. Arris and Comcast are working to correct this issue and will 
deploy updated device firmware to resolve the issue. If a customer does not 
wish to wait for the updated firmware, the customer may email us at 
we_can_h...@cable.comcast.com and a replacement device will be provided at no 
cost to the customer.

Although I am using the default Comcast provided DNS servers of
75.75.75.75 and 75.75.76.76, so not sure this would affect it or not.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-05-25 Thread Thomas Hood
Workaround: In /etc/NetworkManager/NetworkManager.conf comment out
dns=dnsmasq so that dnsmasq isn't used.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/991308/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-05-01 Thread Mathieu Trudel-Lapierre
Well, dnsmasq is supposed to try the servers in parallel and use the
fastest response; not really rotate using one or the other.

It would be useful if you could provide a packet trace of what is
happening when you open firefox and notice this behavior, I would like
to see if dnsmasq really is only asking one of the DNS servers in this
case. I suspect you may instead notice that one is not responding and
the other is very slow, or the other way around.

** Changed in: network-manager (Ubuntu)
   Status: New = Incomplete

** Changed in: network-manager (Ubuntu)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/991308/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 991308] Re: DNS Querying fails if any DNS server is unreachable

2012-04-29 Thread William Lightning
Added above tag because the root issue that caused me to find this was
not present on 11.10: In the following default configuration 1 out of 4
DNS queries fail. (DNSMasq seems to rotate queries between the listed
servers)

More information:
I noticed this originally when the computer was reporting unable to update 
packages, because it could not resolve hostnames needed to download packages, 
and was evidenced further by Firefox unable to load pages inconsistantly (i.e. 
it would load google fine for a couple of clicks, then fail, then start working 
again) when my 11.10 desktop was able to load the same pages consistantly.

** Tags added: regression-release

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/991308

Title:
  DNS Querying fails if any DNS server is unreachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/991308/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs