named.conf.default-zones
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
zone "tiny.net" {
type master;
file "/etc/bind/tiny.net.zone";
};
tiny.net.zone
;
; BIND data file for local loopback interface
;
$TTL 604800
tiny.net. IN SOA www.tiny.net. master.tiny.net. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
tiny.net. IN NS www.tiny.net.
www IN A 10.0.6.196
mail IN A 10.0.6.196
ejabberd IN A 10.0.6.196
tiny.net. IN MX 10 mail.tiny.net.