16.09.2009

Simple bind conf

named.conf
options {
allow-query { any; };
view "some.domain" {
match-destinations { x.x.x.x; };
zone "zone.name" {
type master;
file "/etc/named.d/master/file.name";
};
some.domain
$TTL 604800
@ IN SOA some.domain. abc.some.domain. (
200909071 ; Serial
60 ; Refresh
60 ; Retry
60 ; Expire
300 ) ; Negative Cache TTL

@ IN NS ns.some.domain.
ns.some.domain. A x.x.x.x
some.domain. MX 10 mail.some.domain.
www.some.domain. CNAME some.domain.