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

Dhcp y dns update



hey,

Tengo un servidor dhcp y un bind9 ijnstalados en mi servidor...ambos funcionan perfectamente por separado...pero quiero que ahora el dhcp actualice el servidor dns, reo que mi conf es correcta pero no funciona...mis archivos de configuracion son:


dhcp.conf

# Dispositivos moviles
subnet 192.168.x.0 netmask 255.255.255.0 {
         ##DE MOMENTO NO ACEPTA NINGUN CLIENTE DE FUERA, HASTA QUE CONFIGURE EL$
        deny unknown-clients;
        range 192.168.x.145 192.168.x.159;
        }
##PC's de xxxxxx
group{
        server-identifier xxxxx-server;
        option domain-name "xxxxx.es";
        option routers 192.168.x.250;
        option domain-name-servers 192.168.x.249 , 192.168.x.246;
        option ntp-servers xxxxx-server;
        next-server 192.168.x.249;
        filename "pxelinux.0";
        default-lease-time 8640000;
        ddns-update-style interim;
        ddns-domainname "xxxxx.es";
        use-host-decl-names on;
        ddns-updates on;
        #Cano
        host PCxxxxx1 {
                hardware ethernet 00:13:8F:x:x:x;
                fixed-address 192.168.x.65;
                option host-name "PCxxxxxx1";
                update-static-leases on;
                }
....
}

named.conf

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
        type hint;
        file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
        type master;
        file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
        type master;
        file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
        type hint;
        file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
        type master;
        file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
        type master;
        file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
        file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};
include "/etc/bind/named.conf.local";



include "/etc/bind/rndc.key";

key "TRANSFER" {
algorithm hmac-md5;
        secret "FCi9fs/xGz/61FX3GTX8fw==";
};

server 192.168.x.246 {
        };


# Configure the logging options
logging {



    channel default {
        # Send logs to the syslog 'local0' facility
        syslog          local0;
        # Log messages of severity 'info' or higher
        severity        debug;
        print-category  yes;
        print-severity  yes;
    };



    # Ignore logs about misconfigured remote servers
    category lame-servers { null; };

    # Default logging options
        category default { default; };
};

server 192.168.x.233 {
        };


Hay dos servidores dns secundarios en x.233 y x.246


named.conf.local

zone "xxxx.es" {
        type master;
        file "/etc/bind/zones/master_xxxxx.es";
        allow-update { key "rndc-key"; };
        notify yes;
};
zone "." IN{
       type slave;
       file "/etc/bind/db.root";

masters {  58.6.115.46; 216.87.84.214;62.42.230.24; 62.42.63.52;87.216.1.65;};

       allow-transfer { any; };
       notify no;
};



named.conf.options

options {
        directory "/var/cache/bind";

         forward first;
         forwarders {
                62.42.230.24;
                62.42.63.52;
                87.216.1.65;
                87.216.1.66;
                62.14.63.145;
                62.14.2.1;
                80.58.61.254;
                80.58.61.250;
                195.5.64.2;
                217.76.128.4;
                217.76.129.4;
         };

        auth-nxdomain no;    # conform to RFC1035
        dnssec-enable yes;
        listen-on port 53 { 192.168.x.249; };
        listen-on-v6 port 53 { 192.168.x.249; };
       dump-file       "/var/cache/bind/cache_dump.db";
        statistics-file "/var/cache/bind/named_stats.txt";
        memstatistics-file "/var/cache/bind/named_mem_stats.txt";
       allow-query     { any; };
        stacksize 1100M;
        datasize 1000M;


};

En el archivo dhcpd.leases no aparece ningun registro.

Alguien sabe que falla?

gracias
Reply to: