PHP Portal » Tutorials » (D)DNS + DHCP » Zweiter Schritt => DNS-Sever konfigurieren

(D)DNS + DHCP :: Zweiter Schritt => DNS-Sever konfigurieren

(D)DNS + DHCP :: Zweiter Schritt => DNS-Sever konfigurieren

Im zweiten Schritt machen wir uns an die Konfiguration von Bind.

Hier werden nun verschiedene Configurationsfile bearbeitet.

/etc/bind/named.conf.local

Code
1
2
3
4
5
6
7
8
9
10
11
zone "santa.claus" { type master; file "/var/cache/bind/db.santa"; allow-update { 10.200.0.1; }; }; zone "0.200.10.in-addr.arpa" { type master; file "/var/cache/bind/db.10.200.0.0"; allow-update { 10.200.0.1; }; };


/var/cache/bind/db.10.200.0.0

Code
1
2
3
4
5
6
7
8
9
10
11
12
13
$ORIGIN . $TTL 604800 0.200.10.in-addr.arpa IN SOA r13.santa.claus. root.0.200.10.in-addr.arpa. ( 20081223007; serial 604800; refresh 86400; retry 2419200; expire 604800; minimum ) IN NS r13.santa.claus. $ORIGIN 0.200.10.in-addr.arpa. 1 IN PTR r13.santa.claus. $TTL 3600;


/var/cache/bind/db.santa

Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$ORIGIN . $TTL 604800 santa.claus IN SOA r13.santa.claus. root.santa.claus. ( 20081223009; serial 604800; refresh 86400; retry 2419200; expire 604800; minimum ) IN NS r13.santa.claus. $ORIGIN santa.claus. $TTL 3600; wk002 IN A 10.200.0.119 wk001 IN A 10.200.0.120 $TTL 604800; r13 IN A 10.200.0.1 $TTL 3600;


/etc/bind/named.conf.options

Code
1
2
3
4
5
forwarders { 212.91.243.30; } // auth-nxdomain no; // listen-on-v6 { any;} };

weiter »» «« zurück