From 6b7ae77d23152d6e5963d51e340e9afdeafec5bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Fri, 20 Jun 2008 08:50:29 +0000 Subject: [PATCH] - new (from conf-pld.tar.gz) Changed files: bind-127.0.0.zone -> 1.1 bind-localhost.zone -> 1.1 bind-named.conf -> 1.1 --- bind-127.0.0.zone | 11 +++++++++ bind-localhost.zone | 10 ++++++++ bind-named.conf | 56 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 bind-127.0.0.zone create mode 100644 bind-localhost.zone create mode 100644 bind-named.conf diff --git a/bind-127.0.0.zone b/bind-127.0.0.zone new file mode 100644 index 0000000..b9b7bf5 --- /dev/null +++ b/bind-127.0.0.zone @@ -0,0 +1,11 @@ +$ORIGIN 0.0.127.in-addr.arpa. + +@ 1D IN SOA localhost. root.localhost. ( + 42 ; serial (d. adams) + 3H ; refresh + 15M ; retry + 1W ; expiry + 1D ) ; minimum + + 1D IN NS localhost. +1 1D IN PTR localhost. diff --git a/bind-localhost.zone b/bind-localhost.zone new file mode 100644 index 0000000..ad5e68e --- /dev/null +++ b/bind-localhost.zone @@ -0,0 +1,10 @@ +$ORIGIN localhost. +@ 1D IN SOA @ root ( + 42 ; serial (d. adams) + 3H ; refresh + 15M ; retry + 1W ; expiry + 1D ) ; minimum + + 1D IN NS @ + 1D IN A 127.0.0.1 diff --git a/bind-named.conf b/bind-named.conf new file mode 100644 index 0000000..c4d65b7 --- /dev/null +++ b/bind-named.conf @@ -0,0 +1,56 @@ +// This is an exaple configuration file for named ( /etc/named.conf ) +// Przyk³adowy plik konfiguracyjny /etc/named.conf dla serwera nazw `named' + +options { + directory "/"; + pid-file "named.pid"; + auth-nxdomain yes; + datasize default; +// Uncoment these to enable IPv6 connections support +// IPv4 will still work +// listen-on { none; }; +// listen-on-v6 { any; }; +}; + +zone "localhost" IN { + type master; + file "M/localhost.zone"; + allow-update { none; }; + allow-transfer { any; }; +}; + +zone "0.0.127.in-addr.arpa" IN { + type master; + file "M/127.0.0.zone"; + allow-update { none; }; + allow-transfer { any; }; +}; + +zone "." IN { + type hint; + file "root.hint"; +}; + +//zone "pld-linux.org" IN { +// type slave; +// file "S/pld-linux.org.zone"; +// masters { +// 195.116.211.3; +// }; +// allow-query { any; }; +// allow-transfer { any; }; +//}; + +logging { + channel xfer-log { + file "named.log"; + print-category yes; + print-severity yes; + print-time yes; + severity info; + }; + category xfer-in { xfer-log; }; + category xfer-out { xfer-log; }; + category notify { xfer-log; }; +}; + -- 2.44.0