SAMPLE T1.WS.AFNOG.ORG FILE

PLEASE LOOK AT THE FILE BELOW AND MODIFY YOUR ZONE FILES ACCORDINGLY

 

SAMPLE NAMED.CONF FILE

PLEASE LOOK AT FILES CLOSELY AND MODIFY ACCORDINGLY

/* A simple BIND 8 configuration */

options {

directory "/var/named";

};

zone "t1.ws.afnog.org" {

type master;

file "master/t1.ws.afnog.org";

};

zone "0.0.127.in-addr.arpa" {

type master;

file "master/arp.in-addr.127.0.0";

};

zone "217.158.137.in-addr.arpa" {

type master;

file "master/arp.in-addr.217.158.137";

};

zone "." in {

type hint;

file "named.root";

};

 

SAMPLE T1.WS.AFNOG.ORG FILE

$TTL 86400

@ 86400 IN SOA t1-dns.t1.ws.afnog.org. tevie.t1.ws.afnog.org. (

20000526 ; serial

21600 ; refresh

3600 ; retry

2600000 ; expire

900 ) ; minimum

t1.ws.afnog.org. IN NS t1-dns.t1.ws.afnog.org.

IN NS noc.ws.afnog.org.

MX 5 t1-noc.t1.ws.afnog.org.

MX 10 t1-dns.t1.ws.afnog.org.

t1-noc IN A 137.158.216.160

t1-dns IN A 137.158.216.161

t1-instr IN A 137.158.216.162

t1-doc IN A 137.158.216.163

t1-user1 IN A 137.158.217.2

t1-user2 IN A 137.158.217.4

MX 5 t1-dns.t1.ws.afnog.org.

ftp CNAME t1-noc.t1.ws.afnog.org.

www CNAME t1-dns.t1.ws.afnog.org.

 

 

SAMPLE REVERSE NAME FILE FOR 127.0.0.1

 

$TTL 3600

@ IN SOA t1-dns.t1.ws.afnog.org root.t1.ws.afnog.org. (

200005271 ; Serial

3600 ; Refresh

900 ; Retry

3600000 ; Expire

3600 ) ; Minimum

IN NS t1-dns.ws.afnog.org.

1 IN PTR localhost.t1-dns.t1.ws.afnog.org.

 

 

 

 

 

 

SOME ISSUES :

MAKE SURE YOU EDIT THE FILES PROPERLY

MAKE SURE YOUR DOMAINS HAVE PROPERLY BEEN CHOSEN

GET THE IP ADDRESSES OF YPUR PRIMARY NAME SERVER AND SECONDARY NAME SERVERS

MAKE SURE IN NAMED.CONF YOU DEFINE SECONDARIES AND ALSO YOU CLOSE

CURLY BRACKETS