[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DNS (BIND)primario y secundario



> DNS (BIND)primario y secundario
>
> ALguien que tenga algún manual para configurar dos servidores con DNS
> primario y secundario en Debian Lenny o algún sitio al respecto que tenga
> un
> how to a algo similar????
>

No tiene nada de complicado socio, seria algo asi:

Para el DNS Primario

# nano /etc/bine/named.conf.local

//Zona gecgr.co.cu
       zone "gecgr.co.cu" {
       type master;
       file "/var/cache/bind/gecgr.co.cu";
       allow-transfer { 192.168.xx.yy; };
       notify yes;
       };

Y en el DNS secundario seria:

# nano /etc/bine/named.conf.local

//Zona gecgr.co.cu
       zone "gecgr.co.cu" {
       type slave;
       masters { 192.168.xx.xx; };
       file "/var/cache/bind/gecgr.co.cu";
       allow-query { any; };
       };

Nota: 192.168.xx.xx seria la IP del servidor DNS primario y 192.168.xx.yy
es la ip del servidor DNS secundario. Asi lo tengo yo en Debian lenny y me
funciona sin problemas.


Ah! solo te puse la zona directa, para la inversa es lo mismo.


Saludos...

_______________________________________
Eduardo R. Barrera Pérez
Administrador Nodo Jovenclub
Pinar del Rí­o
Web-Site: http://www.pri.jovenclub.cu
Email:  ebarrera@pri.jovenclub.cu
Jabber: ebarrera@softwarelibre.cu
        ebarrera@jabber.pri.jovenclub.cu
Phone:  0148-755805
      _
  ___| |__   __ _ _ __ _ __ ___ _ __ __ _
 / _ \ '_ \ / _` | '__| '__/ _ \ '__/ _` |
|  __/ |_) | (_| | |  | | |  __/ | | (_| |
 \___|_.__/ \__,_|_|  |_|  \___|_|  \__,_|




Reply to: