[Bug 1305156] Re: update.d/dnscache creates resolver loop
Thomas Hood
1305156 at bugs.launchpad.net
Wed Apr 9 16:26:33 UTC 2014
Dnscache should listen on 127.0.0.1
and the dnscache initscript should register this address with resolvconf
and dnscache's resolvconf update script should ignore this address when compiling the list of addresses to which dnscache should forward.
So far as I know this is already the case. Please correct me if I'm
wrong.
Your problem is caused by the presence of the "dns-nameservers
192.17.80.184" line in /etc/network/interfaces. It is not needed and
should not be there.
** Changed in: resolvconf (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to resolvconf in Ubuntu.
https://bugs.launchpad.net/bugs/1305156
Title:
update.d/dnscache creates resolver loop
Status in “djbdns” package in Ubuntu:
Incomplete
Bug description:
I have a forwardonly dnscache (from dbdns) set up on my system, with a
forwarding address set up to our campus resolver.
My system has a static IP configuration and in my
/etc/network/interfaces, I specify "dns-nameservers 192.17.80.184"
(local IP address) to have the DNS queries go through the DNS cache.
When ifup runs, however, the dnscache script updates
/etc/dnscache/root/servers/@ to point to 192.17.80.184, i.e., the
address of the DNS cache itself. After this, any queries to the
dnscache get stuck in an infinite loop as it forwards them to itself.
I could change /etc/network/interfaces to specify the campus resolver
in there, but this would cause the update.d/libc script to point
/etc/resolv.conf to the campus resolver, and not my local dnscache,
which defeats the point of the dnscache.
System info:
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
resolvconf:
Installed: 1.69ubuntu1
Candidate: 1.69ubuntu1
Version table:
*** 1.69ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
dbndns:
Installed: 1:1.05-8ubuntu1
Candidate: 1:1.05-8ubuntu1
Version table:
*** 1:1.05-8ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/djbdns/+bug/1305156/+subscriptions
More information about the foundations-bugs
mailing list