Diferencia entre revisiones de «DNS Resolvedor en polonio»
Ir a la navegación
Ir a la búsqueda
| Línea 1: | Línea 1: | ||
| − | == Instalación de un | + | == Instalación de un DNS en polonio: == |
| − | + | mrodriguez@polonio:~$ cat /etc/bind/named.conf.local | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<pre> | <pre> | ||
| − | // | + | // |
| − | // | + | // Do any local configuration here |
| + | // | ||
| − | zone " | + | zone "1.100.10.in-addr.arpa" { |
type master; | type master; | ||
| − | file "/ | + | file "/var/cache/bind/dompolonio/db.1.100.10"; |
| − | allow- | + | |
| + | //Para permitir transferencia desde nuestro servidor al "DNS Slave puntadeldiablo" | ||
| + | //allow-transfer{ | ||
| + | //164.73.234.112; | ||
| + | //}; | ||
}; | }; | ||
| − | + | zone "dompolonio.taller.curerocha.edu.uy." { | |
| − | zone " | ||
type master; | type master; | ||
| − | file "/ | + | 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 " | + | 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 " | + | 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; }; | ||
| + | }; | ||
| − | |||
| − | |||
| − | |||
</pre> | </pre> | ||
| − | + | mrodriguez@polonio:~$ cat /etc/bind/named.conf.options | |
| − | |||
| − | |||
| − | |||
<pre> | <pre> | ||
| − | + | 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; }; | |
| − | + | }; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</pre> | </pre> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revisión del 12:55 16 dic 2011
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; };
};