From 22c26059136870dcbcf7855625afbd2f081c45ea Mon Sep 17 00:00:00 2001 From: Derek Jennings Date: Thu, 29 Aug 2013 20:37:16 +0100 Subject: add templates from bind --- dns_wizard/scripts/master/localdomain.zone | 10 ++++++ dns_wizard/scripts/master/localhost.zone | 12 +++++++ dns_wizard/scripts/named.ca | 52 ++++++++++++++++++++++++++++++ dns_wizard/scripts/reverse/named.broadcast | 8 +++++ dns_wizard/scripts/reverse/named.ip6.local | 9 ++++++ dns_wizard/scripts/reverse/named.local | 9 ++++++ dns_wizard/scripts/reverse/named.zero | 8 +++++ 7 files changed, 108 insertions(+) create mode 100644 dns_wizard/scripts/master/localdomain.zone create mode 100644 dns_wizard/scripts/master/localhost.zone create mode 100644 dns_wizard/scripts/named.ca create mode 100644 dns_wizard/scripts/reverse/named.broadcast create mode 100644 dns_wizard/scripts/reverse/named.ip6.local create mode 100644 dns_wizard/scripts/reverse/named.local create mode 100644 dns_wizard/scripts/reverse/named.zero (limited to 'dns_wizard') diff --git a/dns_wizard/scripts/master/localdomain.zone b/dns_wizard/scripts/master/localdomain.zone new file mode 100644 index 00000000..a9b047bb --- /dev/null +++ b/dns_wizard/scripts/master/localdomain.zone @@ -0,0 +1,10 @@ +$TTL 86400 +@ IN SOA localhost root ( + 42 ; serial (d. adams) + 3H ; refresh + 15M ; retry + 1W ; expiry + 1D ) ; minimum + IN NS localhost +localhost IN A 127.0.0.1 + diff --git a/dns_wizard/scripts/master/localhost.zone b/dns_wizard/scripts/master/localhost.zone new file mode 100644 index 00000000..61b70d6a --- /dev/null +++ b/dns_wizard/scripts/master/localhost.zone @@ -0,0 +1,12 @@ +$TTL 86400 +@ IN SOA @ root ( + 42 ; serial (d. adams) + 3H ; refresh + 15M ; retry + 1W ; expiry + 1D ) ; minimum + + IN NS @ + IN A 127.0.0.1 + IN AAAA ::1 + diff --git a/dns_wizard/scripts/named.ca b/dns_wizard/scripts/named.ca new file mode 100644 index 00000000..5d38c166 --- /dev/null +++ b/dns_wizard/scripts/named.ca @@ -0,0 +1,52 @@ +; <<>> DiG 9.5.0b2 <<>> +bufsize=1200 +norec NS . @a.root-servers.net +;; global options: printcmd +;; Got answer: +;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34420 +;; flags: qr aa; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 20 + +;; OPT PSEUDOSECTION: +; EDNS: version: 0, flags:; udp: 4096 +;; QUESTION SECTION: +;. IN NS + +;; ANSWER SECTION: +. 518400 IN NS M.ROOT-SERVERS.NET. +. 518400 IN NS A.ROOT-SERVERS.NET. +. 518400 IN NS B.ROOT-SERVERS.NET. +. 518400 IN NS C.ROOT-SERVERS.NET. +. 518400 IN NS D.ROOT-SERVERS.NET. +. 518400 IN NS E.ROOT-SERVERS.NET. +. 518400 IN NS F.ROOT-SERVERS.NET. +. 518400 IN NS G.ROOT-SERVERS.NET. +. 518400 IN NS H.ROOT-SERVERS.NET. +. 518400 IN NS I.ROOT-SERVERS.NET. +. 518400 IN NS J.ROOT-SERVERS.NET. +. 518400 IN NS K.ROOT-SERVERS.NET. +. 518400 IN NS L.ROOT-SERVERS.NET. + +;; ADDITIONAL SECTION: +A.ROOT-SERVERS.NET. 3600000 IN A 198.41.0.4 +A.ROOT-SERVERS.NET. 3600000 IN AAAA 2001:503:ba3e::2:30 +B.ROOT-SERVERS.NET. 3600000 IN A 192.228.79.201 +C.ROOT-SERVERS.NET. 3600000 IN A 192.33.4.12 +D.ROOT-SERVERS.NET. 3600000 IN A 128.8.10.90 +E.ROOT-SERVERS.NET. 3600000 IN A 192.203.230.10 +F.ROOT-SERVERS.NET. 3600000 IN A 192.5.5.241 +F.ROOT-SERVERS.NET. 3600000 IN AAAA 2001:500:2f::f +G.ROOT-SERVERS.NET. 3600000 IN A 192.112.36.4 +H.ROOT-SERVERS.NET. 3600000 IN A 128.63.2.53 +H.ROOT-SERVERS.NET. 3600000 IN AAAA 2001:500:1::803f:235 +I.ROOT-SERVERS.NET. 3600000 IN A 192.36.148.17 +J.ROOT-SERVERS.NET. 3600000 IN A 192.58.128.30 +J.ROOT-SERVERS.NET. 3600000 IN AAAA 2001:503:c27::2:30 +K.ROOT-SERVERS.NET. 3600000 IN A 193.0.14.129 +K.ROOT-SERVERS.NET. 3600000 IN AAAA 2001:7fd::1 +L.ROOT-SERVERS.NET. 3600000 IN A 199.7.83.42 +M.ROOT-SERVERS.NET. 3600000 IN A 202.12.27.33 +M.ROOT-SERVERS.NET. 3600000 IN AAAA 2001:dc3::35 + +;; Query time: 147 msec +;; SERVER: 198.41.0.4#53(198.41.0.4) +;; WHEN: Mon Feb 18 13:29:18 2008 +;; MSG SIZE rcvd: 615 + diff --git a/dns_wizard/scripts/reverse/named.broadcast b/dns_wizard/scripts/reverse/named.broadcast new file mode 100644 index 00000000..dca18f6f --- /dev/null +++ b/dns_wizard/scripts/reverse/named.broadcast @@ -0,0 +1,8 @@ +$TTL 86400 +@ IN SOA localhost. root.localhost. ( + 42 ; serial (d. adams) + 3H ; refresh + 15M ; retry + 1W ; expiry + 1D ) ; minimum + IN NS localhost. diff --git a/dns_wizard/scripts/reverse/named.ip6.local b/dns_wizard/scripts/reverse/named.ip6.local new file mode 100644 index 00000000..4e0eb5e9 --- /dev/null +++ b/dns_wizard/scripts/reverse/named.ip6.local @@ -0,0 +1,9 @@ +$TTL 86400 +@ IN SOA localhost. root.localhost. ( + 1997022700 ; Serial + 28800 ; Refresh + 14400 ; Retry + 3600000 ; Expire + 86400 ) ; Minimum + IN NS localhost. +1 IN PTR localhost. diff --git a/dns_wizard/scripts/reverse/named.local b/dns_wizard/scripts/reverse/named.local new file mode 100644 index 00000000..479251ab --- /dev/null +++ b/dns_wizard/scripts/reverse/named.local @@ -0,0 +1,9 @@ +$TTL 86400 +@ IN SOA localhost. root.localhost. ( + 1997022700 ; Serial + 28800 ; Refresh + 14400 ; Retry + 3600000 ; Expire + 86400 ) ; Minimum + IN NS localhost. +1 IN PTR localhost. diff --git a/dns_wizard/scripts/reverse/named.zero b/dns_wizard/scripts/reverse/named.zero new file mode 100644 index 00000000..dca18f6f --- /dev/null +++ b/dns_wizard/scripts/reverse/named.zero @@ -0,0 +1,8 @@ +$TTL 86400 +@ IN SOA localhost. root.localhost. ( + 42 ; serial (d. adams) + 3H ; refresh + 15M ; retry + 1W ; expiry + 1D ) ; minimum + IN NS localhost. -- cgit v1.2.1