Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DDNS doesn't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kahler
n00b
n00b


Joined: 01 Nov 2003
Posts: 62

PostPosted: Mon Feb 14, 2005 4:33 pm    Post subject: DDNS doesn't work Reply with quote

Hi folks,

I'm running a DHCP server and a Bind nameserver to provide ip adresses and dns service for a local network. Now I was trying to setup a DDNS service so that the clients automatically get a DNs record when they connect but for some reason DHCP won't update my nameserver. There's no error in the logs which would point into the right direction.
Here are my confs: /etc/dhcp/dhcpd.conf
Code:
option subnet-mask 255.255.255.0;
default-lease-time 6000;
max-lease-time 72000;
ddns-update-style interim;
ignore client-updates;

key "DHCP_UPDATER" {
      algorithm hmac-md5;
      secret "mysecretkey";
};

zone scumm.lan. {
        primary 127.0.0.1;
        key DHCP_UPDATER;
}

zone 1.168.192.in-addr.arpa. {
        primary 127.0.0.1;
        key DHCP_UPDATER;
}

subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.100 192.168.1.200;
  option routers 192.168.1.1;
  option domain-name "scumm.lan";
  option domain-name-servers 192.168.1.1;
}

/etc/bind/named.conf
Code:
options {
        directory "/var/bind";
        pid-file "/var/run/named/named.pid";
        forwarders {
                194.25.2.129;
                194.25.2.130;
                145.253.2.139;
                145.253.2.196;
        };
};

logging {
        category lame-servers { null; };
};

zone "." {
        type hint;
        file "pri/db.root";
};

key "DHCP_UPDATER" {
      algorithm hmac-md5;
      secret "mysecretkey";
};

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

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

zone "255.in-addr.arpa" {
        type master;
        file "pri/db.255";
};

zone "scumm.lan" {
        type master;
        file "pri/db.scumm.lan";
        allow-update { key DHCP_UPDATER; };
};

zone "1.168.192.in-addr.arpa" {
        type master;
        file "pri/db.192.168.1";
        allow-update { key DHCP_UPDATER; };
};

/etc/bind/pri/db.scumm.lan
Code:
$ORIGIN scumm.lan.
$TTL 7200       ; 2 hours
scumm.lan.              IN SOA  ns.scumm.lan. root.scumm.lan. (
                                20051109   ; serial
                                10800      ; refresh (3 hours)
                                3600       ; retry (1 hour)
                                604800     ; expire (1 week)
                                86400      ; minimum (1 day)
                                )
                        NS      ns.scumm.lan.
swordmaster             A       192.168.1.1
fester                  A       192.168.1.11
ns                      CNAME   swordmaster
print                   CNAME   swordmaster
proxy                   CNAME   swordmaster
portage                 CNAME   swordmaster


/etc/bind/pri/db.192.168.1
Code:
$ORIGIN 1.168.192.in-addr.arpa.
$TTL 7200       ; 2 hours
1.168.192.in-addr.arpa. IN SOA  ns.scumm.lan. root.scumm.lan. (
                                20032911   ; serial
                                10800      ; refresh (3 hours)
                                3600       ; retry (1 hour)
                                604800     ; expire (1 week)
                                86400      ; minimum (1 day)
                                )
                        NS      ns.scumm.lan.

1                       PTR     swordmaster.scumm.lan.
11                      PTR     fester.scumm.lan.

DHCP is working for iself (clients get an ip adress)and bind is workling for itself (can resolv static entries and forwarded requests) but they won't work together.
Has anyone got an idea what the problem could be and how to resolv this issue.
Any help would be appreciated.
Thanks,

Kahler
_________________
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d- s:+ a-- C++++ UL++++$ P+>+++ L++ E--- W+++$ N+ o+ K? w O M V- PS+ PE++ Y+ PGP- t--- 5--- X-- R tv b DI++ D+ G e h r y?+
------END GEEK CODE BLOCK------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum