No edit summary |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= CREATIEF MET BIND = | |||
eerst backup maken van ALLESSS!!1 | |||
tar --one-file-system -czf /mnt/freek_hier_dus/backup_nurdserver_voordat_ik_er_mee_ging_kutten.tar.gz / | |||
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 | |||
nu is alles stuk en fucked , succes :P | |||
Latest revision as of 00:13, 22 November 2012
CREATIEF MET BIND
eerst backup maken van ALLESSS!!1
tar --one-file-system -czf /mnt/freek_hier_dus/backup_nurdserver_voordat_ik_er_mee_ging_kutten.tar.gz /
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
nu is alles stuk en fucked , succes :P