From 5224a6c3f83f0d980f106a589830ffcfab30821d Mon Sep 17 00:00:00 2001 From: crocomo Date: Sun, 23 Feb 2014 20:21:53 +0100 Subject: Typo s/reveser/reverse --- config/bind/bind_zones.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/bind/bind_zones.xml b/config/bind/bind_zones.xml index be4da9cf..3506df63 100644 --- a/config/bind/bind_zones.xml +++ b/config/bind/bind_zones.xml @@ -126,7 +126,7 @@ name For reverse zones, include zone ip in reverse order or following your provider instructions.(Ex: 1.168.192)
- IN-ADDR.ARPA will be automaticaly included on conf files when reveser zone option is checked.]]>
+ IN-ADDR.ARPA will be automaticaly included on conf files when reverse zone option is checked.]]> input -- cgit v1.2.3 From 9b93a51db647450f975dfb60ebab1e7e4d5a6951 Mon Sep 17 00:00:00 2001 From: crocomo Date: Sun, 23 Feb 2014 20:23:27 +0100 Subject: Typo s/bloc/block --- config/bind/bind_acls.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/bind/bind_acls.xml b/config/bind/bind_acls.xml index b8d10158..dbd9e29d 100644 --- a/config/bind/bind_acls.xml +++ b/config/bind/bind_acls.xml @@ -108,7 +108,7 @@ input - Enter IP or range bloc network. + Enter IP or range block network. Leave blank to allow All none rowhelper -- cgit v1.2.3 From 2f3f6ecaa9ef5cae9160d1071a80f4f26938d9ed Mon Sep 17 00:00:00 2001 From: crocomo Date: Sun, 23 Feb 2014 20:40:03 +0100 Subject: Fix logging facilities Include 'named' in the list of $separatelogfacilities in system.inc so that messages ONLY show up in resolver.log (and not system.log as well). --- config/bind/bind.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/bind/bind.inc b/config/bind/bind.inc index 40d626db..1818b225 100644 --- a/config/bind/bind.inc +++ b/config/bind/bind.inc @@ -209,8 +209,9 @@ EOD; $restart_syslog=0; foreach ($syslog_files as $syslog_file){ $syslog_file_data=file_get_contents($syslog_file); - if (!preg_match("/dnsmasq,named,filterdns/",$syslog_file_data)){ + if ( !preg_match("/dnsmasq,named,filterdns/",$syslog_file_data) || !preg_match("/'dnsmasq','named','filterdns'/",$syslog_file_data) ) { $syslog_file_data=preg_replace("/dnsmasq,filterdns/","dnsmasq,named,filterdns",$syslog_file_data); + $syslog_file_data=preg_replace("/'dnsmasq','filterdns'/","'dnsmasq','named','filterdns'",$syslog_file_data); file_put_contents($syslog_file,$syslog_file_data); $restart_syslog++; } -- cgit v1.2.3