Project

General

Profile

Actions

Bug #448

closed

dnscache is not starting

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

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

0%

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

Description

snapshot 20100324-0246
After configuring TinyDNS from GUI, dnscache is not starting.

patch


# diff tinydns.inc.001 tinydns.inc
209,214c209,211
<             if(!is_dir("/etc/dnscache{$dnsidx}")) {
<                 exec("mkdir /etc/dnscache{$dnsidx}");
<                 exec("/bin/ln -s /etc/dnscache{$dnsidx} /service/");
<                 
<             }
<             exec("/usr/local/bin/dnscache-conf Gdnscache Gdnslog /etc/dnscache{$dnsidx} {$dnscacheip}");
---
>             exec("rm -rf /etc/dnscache{$dnsidx}");
>             exec("/usr/local/bin/dnscache-conf Gdnscache Gdnslog /etc/dnscache{$dnsidx} {$dnscacheip}");
>             exec("/bin/ln -s /etc/dnscache{$dnsidx} /service/");
Actions

Also available in: Atom PDF