Configuración básica de un servidor DNS
- /etc/bind/named.conf
options {
directory "/var/cache/bind";
};
logging {
category lame-servers { null; };
category cname { null; };
};
zone "." {
type hint;
file "/etc/bind/db.root";
};
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 "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.192.168.1";
allow-update {
192.168.1.1;
};
};
zone "arroutada.es" {
type master;
file "/etc/bind/db.arroutada.es";
allow-update {
192.168.1.1;
};
};
|