Los servidores secundarios permiten descargar el tráfico DNS en redes en las que se consulte a menudo una zona.
Si el servidor primario o maestro se mantiene inactivo por alguna razón, el servidor secundario ofrecerá una resolución de nombres en esa zona mientras el primario no esté disponible.
• | Servidor Maestro: También denominado Primario. Obtiene los datos del dominio a partir de un fichero hospedado en el mismo servidor. |
• | Servidor Esclavo: También denominado Secundario. Al iniciar obtiene los datos del dominio a través de un Servidor Maestro (o primario), realizando un proceso denominado transferencia de zona. |
El servidor DNS secundario(pcp22, pc122, etc) no tiene zonas definidas las TRANSFIERE desde el principal(pc149) al directorio:
/var/cache/bind
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "aulaI4.com" {
type slave;
file "/var/cache/bind/db.aulaI4.com";
masters { 192.168.1.150; };
};
zone "1.168.192.in-addr.arpa" {
type slave;
file "/var/cache/bind/db.192.168.1";
masters { 192.168.1.150; };
};
/var/cache/bind
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "aulaI4.com" {
type slave;
file "/var/cache/bind/db.aulaI4.com";
masters { 192.168.1.150; };
};
zone "1.168.192.in-addr.arpa" {
type slave;
file "/var/cache/bind/db.192.168.1";
masters { 192.168.1.150; };
};
En el servidor principal(150) se permite la transferencia de zonas a determinados servidores secundarios (22 y 122)
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.
forwarders {
80.58.61.250;
80.58.61.254;
};
allow-transfer { 192.168.1.22;
192.168.1.122;
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
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.
forwarders {
80.58.61.250;
80.58.61.254;
};
allow-transfer { 192.168.1.22;
192.168.1.122;
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
cat /etc/resolv.conf
cat /etc/hosts
cat /etc/hostname
cat /etc/network/interfaces
hostname
uname -a
host ai4pc150.aulaI4.com
lsb_release -a
nm-tool
dig
nslookup
netstat -an | grep ESCUCHAR
netstat -tupl
sudo lsof -i:53 | grep named
route -n
netstat -rn
arp -a
sudo lshw -short
xeyes
xclock
xcalc
http://es.wikipedia.org/wiki/Domain_Name_System
http://es.wikipedia.org/wiki/Servidor_Ra%C3%ADz
http://en.wikipedia.org/wiki/Paul_Mockapetris
TNS (Top Name Servers)
http://root-servers.org/
TLD (del inglés top-level domain)
http://es.wikipedia.org/wiki/Dominio_de_nivel_superior
country code top-level domain o ccTLD
http://es.wikipedia.org/wiki/Dominio_de_nivel_superior_geogr%C3%A1fico
generic top-level domains (gTLD)
http://es.wikipedia.org/wiki/Dominio_de_nivel_superior_gen%C3%A9rico
cat /etc/hosts
cat /etc/hostname
cat /etc/network/interfaces
hostname
uname -a
host ai4pc150.aulaI4.com
lsb_release -a
nm-tool
dig
nslookup
netstat -an | grep ESCUCHAR
netstat -tupl
sudo lsof -i:53 | grep named
route -n
netstat -rn
arp -a
sudo lshw -short
xeyes
xclock
xcalc
http://es.wikipedia.org/wiki/Domain_Name_System
http://es.wikipedia.org/wiki/Servidor_Ra%C3%ADz
http://en.wikipedia.org/wiki/Paul_Mockapetris
TNS (Top Name Servers)
http://root-servers.org/
TLD (del inglés top-level domain)
http://es.wikipedia.org/wiki/Dominio_de_nivel_superior
country code top-level domain o ccTLD
http://es.wikipedia.org/wiki/Dominio_de_nivel_superior_geogr%C3%A1fico
generic top-level domains (gTLD)
http://es.wikipedia.org/wiki/Dominio_de_nivel_superior_gen%C3%A9rico
No hay comentarios:
Publicar un comentario