Dynamic DNS error

David Gonzalez test at tuxcafe.com
Sat May 15 19:04:01 UTC 2004


Hello BIND,

  First  PING...  as  i  haven't  seen  and don't know why my msgs are
  ignored/not answered/getting there

  I'm getting this error whenever a dhcp tries to update

May 15 14:04:15 xaero dhcpd: DHCPDISCOVER from 00:0c:29:e6:9d:a5 via eth0
May 15 14:04:15 xaero dhcpd: Ping timeout: 1
May 15 14:04:16 xaero dhcpd: DHCPOFFER on 192.168.1.99 to 00:0c:29:e6:9d:a5 (zorlag) via eth0
May 15 14:04:16 xaero dhcpd: if zorlag.tuxcafe.lan IN A rrset doesn't exist add zorlag.tuxcafe.lan 43200 IN A 192.168.1.99: not a zone.
May 15 14:04:16 xaero dhcpd: DHCPREQUEST for 192.168.1.99 (192.168.1.100) from 00:0c:29:e6:9d:a5 (zorlag) via eth0
May 15 14:04:16 xaero dhcpd: DHCPACK on 192.168.1.99 to 00:0c:29:e6:9d:a5 (zorlag) via eth0

I changed my configs as described here:
http://www.samba.org/samba/docs/man/DNSDHCP.html#id2598369

Though i'm desperated and don't know what to do i did this:

cat /etc/named.conf

options {
        directory "/var/lib/named";
        listen-on-v6 { any; };
        notify no;
        auth-nxdomain yes;
        listen-on { any; };
};

# The following three zone definitions do not need any modification.
# The first one defines localhost while the second defines the
# reverse lookup for localhost. The last zone "." is the
# definition of the root name servers.

zone "localhost" in {
        type master;
        file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
        type master;
        file "127.0.0.zone";
};
zone "." in {
        type hint;
        file "root.hint";
};

# You can insert further zone records for your own domains below.

zone "tuxcafe.lan" {
        type master;
        file "dyn/tuxcafe.lan";
        allow-query { any; };
        allow-transfer { any; };
        allow-update { any; };
};

zone "1.168.192.in-addr.arpa" {
        type master;
        file "dyn/192.168.1.0.rev";
        allow-query { any; };
        allow-transfer { any; };
        allow-update { any; };
};

cat /etc/dhcpd.conf

xaero:/var/lib/named # cat /etc/dhcpd.conf
ddns-updates on;
ddns-domainname "tuxcafe.lan";
ddns-update-style ad-hoc;
allow unknown-clients;
default-lease-time 86400;
max-lease-time 172800;

option domain-name "tuxcafe.lan";
option domain-name-servers 192.168.1.100;

subnet 192.168.1.0 netmask 255.255.255.0 {
        range dynamic-bootp 192.168.1.60 192.168.1.254;
        option subnet-mask 255.255.255.0;
        option routers 192.168.1.2;
        allow unknown-clients;
}

xaero:/var/lib/named # cat dyn/tuxcafe.lan
$ORIGIN .
$TTL 38400
tuxcafe.lan             IN SOA  ns.txucafe.lan. root. (
                                4          ; serial
                                86400      ; refresh (1 day)
                                7200       ; retry (2 hours)
                                3600000    ; expire (5 weeks 6 days 16 hours)
                                172800     ; minimum (2 days)
                                )
                        NS      ns.tuxcafe.lan.
                        MX      0 mail.
$ORIGIN tuxcafe.lan.
keel                    A       192.168.1.10
xaero                   A       192.168.1.100

xaero:/var/lib/named # cat dyn/192.168.1.0.rev
$ORIGIN .
$TTL 38400
1.168.192.in-addr.arpa  IN SOA  ns.tuxcafe.lan. root. (
                                5          ; serial
                                86400      ; refresh (1 day)
                                7200       ; retry (2 hours)
                                3600000    ; expire (5 weeks 6 days 16 hours)
                                172800     ; minimum (2 days)
                                )
                        NS      ns.tuxcafe.lan.
$ORIGIN 1.168.192.in-addr.arpa.
10                      PTR     keel.tuxcafe.lan
100                     PTR     xaero.tuxcafe.lan

What can i do?.

Thanks

-- 
Best regards,
 David                          mailto:test at tuxcafe.com




More information about the bind-users mailing list