summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Jennings <djennings@mageia.org>2013-08-29 20:37:16 +0100
committerDerek Jennings <djennings@mageia.org>2013-08-30 17:31:45 +0100
commit22c26059136870dcbcf7855625afbd2f081c45ea (patch)
treefd8cdee1d254a404c930eb5065a9ffad71d4b9cc
parent59cdae8a04c92e74c5f03b16d41452cacb522697 (diff)
downloaddrakwizard-22c26059136870dcbcf7855625afbd2f081c45ea.tar
drakwizard-22c26059136870dcbcf7855625afbd2f081c45ea.tar.gz
drakwizard-22c26059136870dcbcf7855625afbd2f081c45ea.tar.bz2
drakwizard-22c26059136870dcbcf7855625afbd2f081c45ea.tar.xz
drakwizard-22c26059136870dcbcf7855625afbd2f081c45ea.zip
add templates from bind
-rw-r--r--dns_wizard/scripts/master/localdomain.zone10
-rw-r--r--dns_wizard/scripts/master/localhost.zone12
-rw-r--r--dns_wizard/scripts/named.ca52
-rw-r--r--dns_wizard/scripts/reverse/named.broadcast8
-rw-r--r--dns_wizard/scripts/reverse/named.ip6.local9
-rw-r--r--dns_wizard/scripts/reverse/named.local9
-rw-r--r--dns_wizard/scripts/reverse/named.zero8
7 files changed, 108 insertions, 0 deletions
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.