Skip to content
Home » Linux DNS Bind error: network unreachable resolving ‘./DNSKEY/IN’Linux DNS Bind error:

Linux DNS Bind error: network unreachable resolving ‘./DNSKEY/IN’Linux DNS Bind error:

Una vez hemos instalado un servidor de DNS en Linux, cuando ejecutamos:

systemctl status bind9

para verificar si esta funcionando el servidor y vemos la siguiente la salida:

network unreachable resolving './DNSKEY/IN': 2001:500:2f::f#53
network unreachable resolving './DNSKEY/IN': 2001:500:a8::e#53
network unreachable resolving './DNSKEY/IN': 2001:7fe::53#53
network unreachable resolving './DNSKEY/IN': 2001:dc3::35#53
network unreachable resolving './DNSKEY/IN': 2001:503:c27::2:30#53

significa que tenemos habilitado IPv6 y no está funcionando correctamente. La mejor opción es inhabilitarlo. Para ello añadimos -4 en OPTIONS dentro del archivo /etc/default/bind9:

# startup options for the server
OPTIONS="-u bind -4"

A continuación reiniciamos el servicio:

systemctl status bind9