LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2006, 10:20 AM   #1
joel112
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 169

Rep: Reputation: 30
DDNS with BIND and ISC-DHCPD


I'm having real problems getting DDNS to work.

named.conf
Code:
include "/etc/namedb/rndc.key";
options {
        directory       "/etc/namedb";
        pid-file        "/var/run/named/pid";
        dump-file       "/var/dump/named_dump.db";
        statistics-file "/var/stats/named.stats";
        listen-on       { 10.203.1.7; };



        forwarders {
                10.203.1.4;
                10.203.1.5;
                };
};

// If you enable a local name server, don't forget to enter 127.0.0.1
// first in your /etc/resolv.conf so this server will be queried.
// Also, make sure to enable it in /etc/rc.conf.

zone "." {
        type hint;
        file "named.root";
};

zone "0.0.127.IN-ADDR.ARPA" {
        type master;
        file "master/localhost.rev";
};

zone "1.203.10.in-addr.arpa" {
        type master;
        file "master/1.203.10.in-addr.arpa";
        allow-update { localhost; };
};

zone "enodis.com" {
        type slave;
        masters {
                10.0.1.1;
                };
        file "/etc/namedb/enodis.com.hosts";
        };
zone "viscount-catering.co.uk" {
        type master;
        file "/etc/namedb/viscount-catering.co.uk.hosts";
        allow-update { localhost; };
};
dhcpd.conf

Code:
#Global
option subnet-mask 255.255.0.0;
option domain-name "viscount-catering.co.uk";
option routers 10.203.0.1;
option domain-name-servers 10.203.1.7, 10.203.1.5;
ddns-domainname "viscount-catering.co.uk";
ddns-rev-domainname "viscount-catering.co.uk";
default-lease-time 2400;
max-lease-time 7200;
ddns-update-style interim;
# Local Clients

subnet 10.203.0.0 netmask 255.255.0.0 {
        authoritative;
        allow client-updates;
        allow unknown-clients;
        ddns-updates on;
        ddns-update-style interim;
        range 10.203.4.1 10.203.4.254;
        }

# Client Reverse

key rndc-key {
        secret <blah>;
        algorithm hmac-md5;
        }

zone viscount-catering.co.uk. {
        primary 10.203.1.7;
        key rndc-key;
        }
When a client connects, it gets the dhcp lease ok, but it wont update the DNS. i get

May 25 14:31:25 intranet dhcpd: Unable to add forward map from prodctrl1.viscount-catering.co.uk to 10.203.4.81: timed out

I cant see what is wrong, and nothing i've searched for seems to give me any clues as to what may be wrong.

Joel
 
Old 05-25-2006, 11:06 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Doesn't the named.conf need the ddns-update-style interim line?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DDNS Bind 9.0 / DHCP - mule Linux - Networking 2 01-06-2006 11:55 PM
Issues with Dualhome ISC DHCPD psychobyte Linux - Networking 1 11-18-2005 04:03 PM
BIND 9/DHCPD DDNS Not Functioning Corxscrew Linux - Networking 2 02-07-2005 05:43 AM
Bind/DDNS problem locutus233 Linux - Networking 12 04-26-2004 10:06 AM
CERTŪ Advisory CA-2003-01 Buffer Overflows in ISC DHCPD Minires Library Astro Slackware 1 01-21-2003 06:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration