No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= CREATIEF MET BIND = | |||
bestaande zone definitie kopieren: | bestaande zone definitie kopieren: | ||
Line 10: | Line 10: | ||
vim /etc/bind/nurdspace.tk | vim /etc/bind/nurdspace.tk | ||
( | commentaar op inhoud van deze file: | ||
$ORIGIN . | |||
$TTL 604800 ; 1 week | |||
; VERVANGEN DOOR ZONE NAME: | |||
nurdspace.lan IN SOA localhost. root.localhost. ( | |||
1803 ; serial | |||
604800 ; refresh (1 week) | |||
86400 ; retry (1 day) | |||
2419200 ; expire (4 weeks) | |||
604800 ; minimum (1 week) | |||
) | |||
NS localhost. | |||
A 192.168.1.4 ; IP ADRESS ALS JE nurdspace.lan RESOLVED | |||
$ORIGIN nurdspace.lan. ; VERVANGEN DOOR ZONE NAME | |||
; AUTOMATISCH TOEGEVOEGD RECORD DOOR DHCP SERVER (via rdnc) | |||
$TTL 1800 ; 30 minutes | |||
android-2b931550c679ce0b A 192.168.1.69 | |||
TXT "312c269a92affd404c87982b113db72932" | |||
; VAST INGESTELD RECORD | |||
$TTL 604800 ; 1 week | |||
buffalo A 192.168.1.45 | |||
MAKE IT SO: | MAKE IT SO: | ||
/etc/init.d/bind9 restart | /etc/init.d/bind9 restart |
Revision as of 00:10, 22 November 2012
CREATIEF MET BIND
bestaande zone definitie kopieren:
vim /etc/bind/named.conf.local
nieuwe zone file maken:
cp /etc/bind/nurdspace.lan /etc/bind/nurdspace.tk vim /etc/bind/nurdspace.tk
commentaar op inhoud van deze file:
$ORIGIN . $TTL 604800 ; 1 week ; VERVANGEN DOOR ZONE NAME: nurdspace.lan IN SOA localhost. root.localhost. ( 1803 ; serial 604800 ; refresh (1 week) 86400 ; retry (1 day) 2419200 ; expire (4 weeks) 604800 ; minimum (1 week) ) NS localhost. A 192.168.1.4 ; IP ADRESS ALS JE nurdspace.lan RESOLVED $ORIGIN nurdspace.lan. ; VERVANGEN DOOR ZONE NAME
; AUTOMATISCH TOEGEVOEGD RECORD DOOR DHCP SERVER (via rdnc) $TTL 1800 ; 30 minutes android-2b931550c679ce0b A 192.168.1.69 TXT "312c269a92affd404c87982b113db72932"
; VAST INGESTELD RECORD $TTL 604800 ; 1 week buffalo A 192.168.1.45
MAKE IT SO:
/etc/init.d/bind9 restart