Instalación de un servidor DNS (Bind9) en Debian.
Miércoles, Noviembre 21st, 2007Este documento es parte de los pasos para instalar y configurar un Sandbox para Drupal con Eclipse y CVS.
Si has llegado aquí, pero no sabes lo que es un servidor DNS, echale un vistazo a la wikipedia.
Para instalar el BIND (Berkeley Internet Name Domain):
apt-get install bind9
Ojo: Si el sistema lleva tiempo sin actualizarse será necesario realizar un apt-get update y luego instalar el bind.
Una vez finalizada la instalación, deberemos editar el fichero /etc/bind/named.conf.options para indicarle las direcciones de los DNS proporcionados por el ISP (en este caso Telefónica), en forwarders, también se debe descomentar la línea query-source address * port 53; y se debe añadir la sentencia dnssec-enable yes;
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you might need to uncomment the query-source
// directive below. Previous versions of BIND always asked
// questions using port 53, but BIND 8.1 and later use an
// unprivileged port by default.
query-source address * port 53;
// 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;
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
dnssec-enable yes;
};

