Comment 0 for bug 1305156

Revision history for this message
Nikita Borisov (9-launchpad-n) wrote :

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