DNS configuration

/etc/named.conf:

//
// /etc/named.conf: conf file for name server BIND 8.2.3
//
// Jan Wagner, waja at cyconet dot org
 
// ############ global options
 
options {
directory “/var/named”; // work directory
forward only; // no outside requests,
forwarders { // only to this forwarders
141.30.230.3;
141.30.66.135;
141.30.227.52;
};
listen-on-v6 { any; }; // v6-query enable
allow-query { any; }; // normal requests
allow-transfer { any; }; // zonen-transfers (”download”)
};
 
// ############# outside world
zone “.” IN {
type hint;
file “db.hints”;
};
 
// ############# localhost
zone “0.0.127.IN-ADDR.ARPA” IN {
type master;
file “db.127.0.0″;
};
 
// ############# cyconet.org
zone “cyconet.org” IN {
type master;
file “db.cyconet.org”;
notify yes;
};
 
// ############# reverse for 2001:0658:020c::/48
zone “c.0.2.0.8.5.6.0.1.0.0.2.IP6.INT” IN {
type master;
file “db.ipv6net.cyconet.org.rev”;
notify yes;
};
 
// logging
channel log-queries {
file “log-queries”;
severity info;
};
category queries {
log-queries;
};

Reverse DNS zonefile (bind 8.2.3 syntax) - db.ipv6net.cyconet.org.rev

$TTL 12h
 
c.0.2.0.8.5.6.0.1.0.0.2.ip6.int. IN SOA ns1.cyconet.org. webmaster.cyconet.org. (
2001042603 ; serial
8H ; refresh
2H ; retry
1W ; expiry
1D ; minimum
)
 
IN NS ns1.rewtbox.de.
IN NS ns2.rewtbox.de.
 
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.cyconet.org.

Forward DNS zonefile (bind 8.2.3 syntax) - db.cyconet.org:

$TTL 12h
 
cyconet.org. IN SOA ns1.cyconet.org. webmaster.cyconet.org. (
2001042401 ; serial
8H ; refresh
2H ; retry
1W ; expiry
1D ; minimum
)
 
IN NS ns1.rewtbox.de.
IN NS ns2.rewtbox.de.
 
www IN A 41.130.205.2
www IN AAAA 2001:658:20c::1
 
smb IN CNAME www

For more informations see Nameservice and IPv6 of JOIN Project