Added DNS Configs

This commit is contained in:
Stefan Hoffmann 2016-05-28 01:41:07 +02:00
parent ed9222a3b4
commit 3e4b83d964
5 changed files with 95 additions and 0 deletions

22
files/fftdf/db.188.10 Normal file
View File

@ -0,0 +1,22 @@
;; db.188.10
;; Reverse lookup zone for fftdf
;;
$TTL 2D
@ IN SOA fftdf. root.fftdf. (
2014071300 ; Serial
8H ; Refresh
2H ; Retry
4W ; Expire
2D ) ; TTL Negative Cache
@ IN NS dns1.infra.fftdf.
1.0 IN PTR nextnode.fftdf.
;; Update Servers
22.1 IN PTR update1.infra.fftdf.
23.1 IN PTR update2.infra.fftdf.
24.1 IN PTR update3.infra.fftdf.
25.1 IN PTR update4.infra.fftdf.
;; Map Server
21.1 IN PTR map.infa.fftdf.
1.1 IN PTR gateway1.infra.fftdf.

View File

@ -0,0 +1,20 @@
;; db.5.0.4.7.9.2.b.a.e.7.4.7.0.a.d.f.ip6.arpa
;; IPv6 reverse lookup zone for fftdf
;;
$TTL 2D
$ORIGIN 5.0.4.7.9.2.b.a.e.7.4.7.0.a.d.f.ip6.arpa.
@ IN SOA fftdf. root.fftdf. (
2014071301 ; Serial
8H ; Refresh
2H ; Retry
4W ; Expire
2D ) ; TTL Negative Cache
@ NS dns1.infra.fftdf.
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 PTR nextnode.fftdf.
2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 PTR update1.infra.fftdf.
3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 PTR update1.infra.fftdf.
4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 PTR update1.infra.fftdf.
5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 PTR update1.infra.fftdf.
1.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0 PTR map.infra.fftdf.
1.0.1.0.0.0.0.0.0.0.0.0.0.0.0.0 PTR gateway1.infra.fftdf.

22
files/fftdf/db.fftdf Normal file
View File

@ -0,0 +1,22 @@
;; db.fftdf
;; Forwardlookupzone für .fftdf
;;
$TTL 600
@ IN SOA fftdf. root.fftdf. (
2015584543 ; Serial
8H ; Refresh
2H ; Retry
4W ; Expire
3H ) ; NX (TTL Negativ Cache)
@ IN NS {{ sn_hostname }}.infra.fftdf.
IN A {{ sn_mesh_ipv4 }}
IN AAAA {{ sn_mesh_ipv6 }}
localhost IN A 127.0.0.1
IN AAAA ::1
nextnode IN A 10.188.0.1
IN AAAA 2a03:2260:121::1
;; Update Servers
update1.infra IN AAAA 2a03:2260:121::22
update2.infra IN AAAA 2a03:2260:121::23
update3.infra IN AAAA 2a03:2260:121::24

21
files/fftdf/fftdf.conf Normal file
View File

@ -0,0 +1,21 @@
// Zone declarations for Freifunk Troisdorf
zone "fftdf" {
type master;
file "/etc/bind/fftdf/db.fftdf";
};
zone "nodes.fftdf" {
type master;
file "/etc/bind/fftdf/db.nodes.fftdf";
};
zone "188.10.in-addr.arpa" {
type master;
file "/etc/bind/fftdf/db.188.10";
};
zone "5.0.4.7.9.2.b.a.e.7.4.7.0.a.d.f.ip6.arpa" {
type master;
file "/etc/bind/fftdf/db.5.0.4.7.9.2.b.a.e.7.4.7.0.a.d.f.ip6.arpa";
};

10
files/named.conf.local Normal file
View File

@ -0,0 +1,10 @@
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
// Include Freifunk Troisdorf (fftdf) zones
include "/etc/bind/fftdf/fftdf.conf";