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
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: us.archive. ubuntu. com/ubuntu/ trusty/main amd64 Packages dpkg/status
Installed: 1.69ubuntu1
Candidate: 1.69ubuntu1
Version table:
*** 1.69ubuntu1 0
500 http://
100 /var/lib/
dbndns: us.archive. ubuntu. com/ubuntu/ trusty/universe amd64 Packages dpkg/status
Installed: 1:1.05-8ubuntu1
Candidate: 1:1.05-8ubuntu1
Version table:
*** 1:1.05-8ubuntu1 0
500 http://
100 /var/lib/