Public bug reported:

Binary package hint: squid3

Firefox queries go to the wrong DNS server.

Now, the reason I have logged this against Squid is because of the way
in which I solve the problem.

I switch on my laptop, which has a Squid local cache, and it boots normally.
I log in and open various programs.

Both Firefox and Empathy, which connect via the proxy (although I don't
want Empathy to, but that's another problem), and start sending DNS
queries to 192.168.0.2.  0.2 is the correct address for my home router,
at work the address is 192.168.1.1.  Now, when I go home it queries 1.1
when it should be querying 0.2.

Netrik and apt-get use the correct DNS, even though they go through the
proxy.  Everything else uses the correct DNS server.

The solution is to restart Squid.  Everything now queries the correct
DNS.

>From Squid's cache.log:
2011/03/29 16:58:21| Adding nameserver 192.168.0.2 from /etc/resolv.conf

After restart:
2011/03/29 17:16:27| Adding nameserver 192.168.1.1 from /etc/resolv.conf

Presumably other apps are gaining DNS details themselves, but Empathy
and Firefox are relying on Squid, which fails to pick up the change in
resolv.conf until it is restarted.  This is a real pain.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: squid3 3.1.6-1.1ubuntu1.1
ProcVersionSignature: Ubuntu 2.6.35-28.49-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic x86_64
NonfreeKernelModules: fglrx wl
Architecture: amd64
Date: Tue Mar 29 17:22:22 2011
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: squid3

** Affects: squid3 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cache dns empathy firefox maverick proxy resolv.conf

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

Title:
  Firefox/Empathy queries go to the wrong DNS server

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to