User:Psy

42 editsJoined 23 May 2012
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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


nu is alles stuk en fucked , succes :P