Project

General

Profile

Actions

Bug #440

closed

TinyDNS: dnscache goes into infinite loop when reconfigured

Added by Henrik Kaare Poulsen over 15 years ago. Updated about 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/21/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.0
Affected Plus Version:
Affected Architecture:

Description

BETA 2 snapshot 20100321-0116

When dnscache in the TinyDNS package is configured, it will read "/etc/resolv.conf" (presumably containing the nameservers assigned by DHCP from the WAN interface).
Then it will write those into "/var/etc/resolv.conf.dnscache" and "/etc/dnscache/root/servers/@"

Now, if TinyDNS is reconfigured from the GUI (even without changing anything, just "Save"), it will go through the same process. But now "/etc/resolv.conf" nameserver entry points to the local server, effectively creating an endless loop.

Proposal:

Read nameserver names from "/var/etc/nameservers.conf" instead.

Actions

Also available in: Atom PDF