Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 2003 11:12:48 -0400
From:      Tim Radigan <tradigan@touchdynamic.com>
To:        freebsd-questions@freebsd.org
Subject:   Dynamic DNS Updates
Message-ID:  <3EE4A3F0.7040804@touchdynamic.com>

next in thread | raw e-mail | index | archive | help
Hey peoples,

Have a quick question for anyone who is up for it.  Trying to use DHCP 
to issue Dynamic DNS Updates for my "internal" zone.  I keep getting the 
following error message on the console:

Jun  9 11:00:39 ns2 dhcpd: unable to add reverse map from 
243.1.168.192.in-addr.arpa. to td-webdesign.touchdynamic.com: timed out

I get that for each client on my internal network.  Below are my 
named.conf and dhcpd.conf files edited to remove actual IP's however the 
configuration should be the only thing that matters.

If anyone has any ideas, please let me know.

-------------------------------------------- named.conf 
--------------------------------------------------------
options {
        directory "/etc/namedb";

        query-source address * port 53;

        listen-on { address.to.external.interface; };

        forwarders { address.to.forwarders; };
};

logging {
        channel update_debug {
                file "/var/log/update-debug.log";
                severity  debug 3;
                print-category yes;
                print-severity yes;
                print-time     yes;
        };
        channel security_info    {
                file "/var/log/named-auth.info";
                severity  info;
                print-category yes;
                print-severity yes;
                print-time     yes;
        };
        category update { update_debug; };
        category security { security_info; };
};

acl "td-internal" {
        127/8;
        192.168.1/24;
};

acl "name-servers" {
        address.to.nameserver.1;
        address.to.nameserver.2;
};

key "td-dnsadmin" {
        algorithm hmac-md5;
        secret "secret key";
};

key ns1-ns2.touchdynamic.com. {
        algorithm hmac-md5;
        secret "secret key";
};
       
controls {
        inet 127.0.0.1 port 953      
                allow { 127.0.0.1; } keys { "td-dnsadmin"; };
};
        
server address.to.nameserver.1 {       
        keys { ns1-ns2.touchdynamic.com.; };    
};
                                  
server address.to.nameserver.2 {            
        keys { ns1-ns2.touchdynamic.com.; };
};       
       
view "internal" {
        match-clients { "td-internal"; };
        recursion yes;            
        notify yes;               
                                  
        zone "touchdynamic.com" {
                type master;             
                file "internal/int.touchdynamic.com";
                allow-update { key ns1-ns2.touchdynamic.com.; };
                allow-transfer { "name-servers"; };
        };        
             
        zone "." {  
                type hint;
                file "named.root";
        };         
                     
        zone "0.0.127.IN-ADDR.ARPA" {
                type master;
                file "localhost.rev";
        };        
                          
        zone "1.168.192.IN-ADDR.ARPA" {
                type master;
                file "internal/192.168.1.rev";
                allow-update { key ns1-ns2.touchdynamic.com.; };
                allow-transfer { "name-servers"; };
        };                        
};       
       
view "external" {
        match-clients { any; };         
        recursion no;             
        notify no;                
                                  
        zone "touchdynamic.com" {
                type slave;              
                file "external/ext.touchdynamic.bak";
                masters { address.to.master; };
        };        
             
        zone "." {  
                type hint;
                file "named.root";
        };         
                     
        zone "xx.xx.xx.IN-ADDR.ARPA" {
                type slave;
                file "external/xx.xx.xx.bak";
                masters { address.to.master; };
        };

        zone "xx.xx.xx.IN-ADDR.ARPA" {
                type slave;
                file "external/xx.xx.xx.bak";
                masters { address.to.master; };
        };
};
-------------------------------------------- named.conf 
--------------------------------------------------------
-------------------------------------------- dhcpd.conf 
--------------------------------------------------------
option domain-name "touchdynamic.com";
option domain-name-servers  xx.xx.xx.xx, xx.xx.xx.xx;
option routers 192.168.1.1;

default-lease-time 43200;
max-lease-time 86400;

authoritative;

key ns1-ns2.touchdynamic.com. {
  algorithm hmac-md5;
  secret secret key;
};


zone touchdynamic.com. {
  primary 127.0.0.1;
  key ns1-ns2.touchdynamic.com.;
}

zone 1.168.192.in-addr.arpa. {
  primary 127.0.0.1;
  key ns1-ns2.touchdynamic.com.;
}

ddns-update-style interim;
ddns-domainname "touchdynamic.com.";
ddns-rev-domainname "in-addr.arpa.";

log-facility local7;

host td-termsrvr {
  hardware ethernet 00:E0:02:02:06:5A;
  fixed-address 192.168.1.3;
}

host home {
  hardware ethernet 00:50:fc:4b:ea:cb;
  fixed-address 192.168.1.2;
}

subnet 192.168.1.0 netmask 255.255.255.0 {
  option broadcast-address 192.168.1.255;
  range 192.168.1.10 192.168.1.245;
}
-------------------------------------------- dhcpd.conf 
--------------------------------------------------------

-- 
Tim Radigan - tradigan@touchdynamic.com
Director of Information Technology
Touch Dynamic, Inc.
888.508.6824
http://www.touchdynamic.com





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EE4A3F0.7040804>