Entradas

Mostrando entradas de agosto, 2012

Configuración de un DNS IPv6 local en Linux con Bind

Hoy escribiré sobre como crear un DNS dentro de nuestra LAN utilizando IPv6. Como en un tema anterior ya escribí sobre algo de teoría del DNS y Bind9 y su respectiva instalación pasaremos directamente a la configuración de los archivos para un DNS IPv6. Si tienen dudas de teoría consulten el post anterior aquí . Para Ubuntu y similares Utilizaremos las siguientes IPv6 de sitio de ejemplo: Servidor DNS - fec0::a987:200:27ff:fe59:bfd6 Cliente - fec0::a987:21f:d0ff:fe45:4e76 para el cliente Con una máscara de red de 64 bits  Por lo que nuestra dirección IPv6 de red es fec0:0:0:a987::/64 Y los siguientes dominios de ejemplo: Servidor - rukia.com y también responderá por www.rukia.com Cliente - goku.rukia.com Los archivos a configurar se encuentran en el directorio /etc/bind Primero editamos este archivo: /etc/bind/named.conf.default-zones Por default el archivo contiene lo siguiente: zone "." { type hint; file "/etc/bind/db.root"; };

Basic IPv6 network configuration for Linux

Today I'll write on how to configure Linux with IPv6. Today we'll go directly to the practice since in an older post I wrote about IPv6 addresses. Verify if the system has IPv6 enabled The IPv6 module is integrated since kernel 2.4.x even though it's not always enable. With this command we can verify if it is or not enable: test -f /proc/net/if_inet6 && echo "Enable" If it returns the message "Enable" this means that it's enable (obvious). If not we activate it with the next commands. For Ubuntu or similars: modprobe ipv6 And if we want the IPv6 module to be loaded at boot time we add the word ipv6 to the end of this file: /etc/modules For Fedora or similars We edit this file: /etc/sysconfig/network And we add this line to the file: NETWORKING_IPV6=yes Now that we added it we restart the network service. Also if we want to allow the forwarding of IPv6 packages in our computer we apply these co