dnscache script breaks if /run/resolvconf/interface is empty

Bug #1661041 reported by Murukesh Mohanan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
resolvconf (Ubuntu)
New
Undecided
Unassigned

Bug Description

Following Debian bug 318464, a script was added to resolvconf which helpfully overwrites dnscache's @ file with root servers if the there are no nameservers offered.

In my case, the system, which is a DNS server itself, does not use DHCP or other network-provided DNS servers, but runs both tinydns and dnscache on different interfaces.

Naturally, the script finds no offered nameservers, overwrites the @ file, and screws over dnscache since we're behind a firewall which blocks outgoing DNS traffic.

I'm not sure how to fix the issue (other than disabling the script somehow, or overwriting /etc/dnsroots.global, which is where djbdns keeps the list of root servers).

Version:

Ubuntu 14.04.5
djbdns 1:1.05-8ubuntu1
resolvconf 1.69ubuntu1.1

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318464

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.