From 85d4df513b870497b1c3a18a43db79fab6178d45 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 30 Sep 2024 14:45:51 +0200 Subject: [PATCH] Add logging --- dns/named.conf.options | 2 +- dns/restart-bind | 2 +- dns/start.sh | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dns/named.conf.options b/dns/named.conf.options index 0fed5de..23514c9 100644 --- a/dns/named.conf.options +++ b/dns/named.conf.options @@ -29,4 +29,4 @@ options { recursion yes; allow-recursion { everybody; }; allow-transfer { none; }; -}; +}; \ No newline at end of file diff --git a/dns/restart-bind b/dns/restart-bind index 014bbb6..19e1793 100755 --- a/dns/restart-bind +++ b/dns/restart-bind @@ -1,3 +1,3 @@ #!/bin/sh pkill named -/usr/sbin/named \ No newline at end of file +/usr/sbin/named -L /var/log/bind.log \ No newline at end of file diff --git a/dns/start.sh b/dns/start.sh index c6bb14f..85e7273 100644 --- a/dns/start.sh +++ b/dns/start.sh @@ -1,3 +1,5 @@ #!/bin/sh -/usr/sbin/named + + +/usr/sbin/named -L /var/log/bind.log while true; do /bin/bash; done \ No newline at end of file