jueves, 12 de noviembre de 2009

5 Ahora le toca a Bind9, configurando un servidor DNS

Este Bind es funcional, el detalle es que no me gurda las cache el suficiente tiempo
*Asunto x solucionar ...

#instalacion /$sudo apt-get install bind9
#archivos

#/etc/bind/named.conf.local
#/etc/bind/named.conf.options
#/etc/bind/db.angel
#/etc/bind/db.192


#le sacamos copia a los archivos /db.local y /db.127 que estan ubicados en la carpeta /etc/bind, y los renombramos x unos nuestros en mi caso esta con los nombres
#/etc/bind/db.angel
#/etc/bind/db.192

#servicio /etc/init.d/bind9 {stop|start|restart}

Backup

#/etc/bind/named.conf.local

**************************************************
zone "angel.home.net" {
type master;
file "/etc/bind/db.angel";
};

zone "192.in-addr.arpa" {
type master;
file "/etc/bind/db.192";
};
**************************************************
#/etc/bind/named.conf.options
**************************************************
options {
directory "/var/cache/bind";

forwarders {
192.168.1.100;
200.48.225.130;
200.48.225.130;
};

};
**************************************************
#/etc/bind/db.angel
**************************************************
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA angel.home.net. root.angel.home.net. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800000 ) ; Negative Cache TTL
;
@ IN NS angel.home.net.
@ IN A 192.168.1.100
@ IN MX 0 angel.home.net.
www IN A 192.168.1.100
saturno IN CNAME angel.home.net.

**************************************************
#/etc/bind/db.192
**************************************************
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA angel.home.net. root.angel.home.net. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS angel.home.net.
100.1.168 IN PTR angel.home.net.

**************************************************

haber px cuantos entraron?