Ver Mensaje Individual
  #4 (permalink)  
Antiguo 15/06/2009, 10:57
Avatar de racanix
racanix
 
Fecha de Ingreso: diciembre-2008
Ubicación: Morelia Mich.
Mensajes: 192
Antigüedad: 15 años, 4 meses
Puntos: 8
Respuesta: ayuda con bind9 ubuntu

Bueno creo que es necesario explicar que es lo que hice:


agrege mi zona a /etc/bind/named.conf.local

Código:
zone "racanix.com" {
	type master;
	file "/etc/bind/db.racanix.com";
};
copie /etc/bind/db.local y lo renombre por db.racanix.com

configure el archivo /etc/bind/db.racanix.com

Código:
;
; BIND data file for local loopback interface
;
$TTL	604800
@	IN	SOA	ns.racanix.com. root.racanix.com. (
			      2		; Serial
			 604800		; Refresh
			  86400		; Retry
			2419200		; Expire
			 604800 )	; Negative Cache TTL
;
@	IN	NS	ns.racanix.com.
@	IN	A	192.168.0.6
racanix	IN	A	192.168.0.6
reinicie el servicio

Código:
root@racanix-desktop:~# /etc/init.d/bind9 restart
 * Stopping domain name service... bind9                                 [ OK ] 
 * Starting domain name service... bind9                                   [ OK ]  
Configure la zona inversa agregandola al archivo named.conf.local
Código:
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

zone "racanix.com" {
	type master;
	file "/etc/bind/db.racanix.com";
};

zone "0.168.192.in-addr.arpa" {
        type master;
        notify no;
        file "/etc/bind/db.192";
}; 
y por ultimo copie db.127 por db.192 y lo configure.

Código:
;
; BIND reverse data file for local loopback interface
;
$TTL	604800
@	IN	SOA	ns.racanix.com. root.racanix.com. (
			      2		; Serial
			 604800		; Refresh
			  86400		; Retry
			2419200		; Expire
			 604800 )	; Negative Cache TTL
;
@	IN	NS	ns.
6	IN	PTR	ns.racanix.com.
ALgo se me escapa ??
Que esta MAL ??