From 46c80495fdf865419e2cc685cd5aeaff83eca908 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Sun, 12 May 2013 17:18:48 -0400 Subject: [PATCH] Allow MIT-only recursion and add logging I'm not sure what the motivation for either of these were (changes made Feb 24). --- named.conf.local | 10 ++++++++++ named.conf.options | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/named.conf.local b/named.conf.local index 3a1101b..d6bd61a 100644 --- a/named.conf.local +++ b/named.conf.local @@ -28,3 +28,13 @@ zone "dehnerts.com" IN { allow-query { any; }; notify no; }; + +logging { + channel query.log { + file "/var/log/query.log"; + // Set the severity to dynamic to see all the debug messages. + severity debug 3; + }; + + category queries { query.log; }; +}; diff --git a/named.conf.options b/named.conf.options index 1a11b5f..42d679d 100644 --- a/named.conf.options +++ b/named.conf.options @@ -26,7 +26,7 @@ options { // ALEX DEHNERT: copied from old arctic version on 2008-12-19 //ALEX DEHNERT: Security-related stuff: // Secure(ish): - allow-recursion { 18.208.0.204; 66.92.29.156; 66.92.29.144; 127.0.0.1; 192.168.0.0/16; }; + allow-recursion { 18.208.0.204; 66.92.29.156; 66.92.29.144; 127.0.0.1; 192.168.0.0/16; 18.0.0.0/8; }; //allow-query { 66.92.29.156; 66.92.29.144; 127.0.0.1; }; allow-transfer { none; }; -- 2.34.1