DNS Resolvedor en polonio
Revisión del 12:55 16 dic 2011 de Mrodriguez (discusión | contribs.)
Instalación de un DNS en polonio:
mrodriguez@polonio:~$ cat /etc/bind/named.conf.local
//
// Do any local configuration here
//
zone "1.100.10.in-addr.arpa" {
type master;
file "/var/cache/bind/dompolonio/db.1.100.10";
//Para permitir transferencia desde nuestro servidor al "DNS Slave puntadeldiablo"
//allow-transfer{
//164.73.234.112;
//};
};
zone "dompolonio.taller.curerocha.edu.uy." {
type master;
file "/var/cache/bind/dompolonio/db.dompolonio.taller.curerocha.edu.uy";
//Para permitir transferencia desde nuestro servidor al "DNS Slave puntadeldiablo"
//allow-transfer{
//164.73.234.112;
//};
};
zone "domvalizas.taller.curerocha.edu.uy." {
type slave;
file "/var/cache/bind/domvalizas/db.domvalizas.taller.curerocha.edu.uy";
//Para indicar de quien somos "DNS Slave"
masters { 164.73.234.114; };
};
zone "4.100.10.in-addr.arpa" {
type slave;
file "/var/cache/bind/domvalizas/db.4.100.10";
//Para indicar de quien somos "DNS Slave"
masters { 164.73.234.114; };
};
mrodriguez@polonio:~$ cat /etc/bind/named.conf.options
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
allow-transfer { 164.73.234.0/24; };
// allow-query { 164.73.234.0/24; };
allow-query { any; };
//formwarder
forwarders {
164.73.234.104;
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};