First read the DDNS howto - excellent resource. Don't forget to generate
named.keys, etc.. Here are my config files and I have win98 and winXP
clients and it works fine....
skyline:/var/lib/dhcp # cat etc/dhcpd.conf
ddns-updates on;
ddns-update-style interim;
ignore client-updates;
include "/etc/named.keys";
subnet 192.168.6.0 netmask 255.255.255.0 {
option routers 192.168.6.13;
option subnet-mask 255.255.255.0;
option domain-name "3111skyline.com";
option domain-name-servers 192.168.6.14;
option netbios-name-servers 192.168.6.14;
ddns-domainname "3111skyline.com";
ddns-rev-domainname "6.168.192.in-addr.arpa";
range dynamic-bootp 192.168.6.80 192.168.6.100;
default-lease-time 21600;
max-lease-time 172800;
# Adding zone information
zone 3111skyline.com. {primary 127.0.0.1; key DHCP_UPDATER; }
zone 6.168.192.in-addr.arpa. { primary 127.0.0.1; key
DHCP_UPDATER; }
}
skyline:/var/lib/named # cat etc/named.conf
include "/etc/named.keys";
include "/etc/rndc.key";
controls {
inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
};
options {
directory "/var/lib/named";
forward first;
forwarders { 66.76.2.130; 208.180.1.69;};
};
zone "." {
type hint;
file "root.hint";
};
zone "localhost" {
type master;
file "localhost";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "127.0.0";
};
zone "3111skyline.com" {
type master;
file "dyn/3111skyline.com";
allow-update{ key DHCP_UPDATER; };
};
zone "6.168.192.in-addr.arpa" {
type master;
file "dyn/192.168.6";
allow-update{ key DHCP_UPDATER; };
};
skyline:/var/lib/named # cat localhost
$TTL 2D
localhost. IN SOA skyline.3111skyline.com.
root.3111skyline.com. (
2004042000 ; Serial number
86400 ; Refresh 1 day
7200 ; Retry 2 hours
3600000 ; Expire 41.67 days
172800 ) ; Minimum TTL 2 days
localhost. NS skyline.3111skyline.com.
localhost. A 127.0.0.1
skyline:/var/lib/named # cat 127.0.0
$TTL 2D
0.0.127.in-addr.arpa. IN SOA skyline.3111skyline.com.
root.3111skyline.com. (
2004042000 ; Serial number
86400 ; Refresh 1 day
7200 ; Retry 2 hours
3600000 ; Expire 41.67 days
172800 ) ; Minimum TTL 2 days
0.0.127.in-addr.arpa. NS skyline.3111skyline.com.
1.0.0.127.in-addr.arpa. PTR localhost.
skyline:/var/lib/named # cat dyn/3111skyline.com
$ORIGIN .
$TTL 172800 ; 2 days
3111skyline.com IN SOA skyline.3111skyline.com.
root.3111skyline.com. (
2004042005 ; serial
86400 ; refresh (1 day)
7200 ; retry (2 hours)
3600000 ; expire (5 weeks 6 days 16
hours)
172800 ; minimum (2 days)
)
NS 66.76.2.130.
NS skyline.3111skyline.com.
MX 0 mail.3111skyline.com.
$ORIGIN 3111skyline.com.
gw A 192.168.6.13
$TTL 10800 ; 3 hours
kidsdell A 192.168.6.99
TXT "31197155d49801--------------------"
$TTL 172800 ; 2 days
localhost A 127.0.0.1
mail A 192.168.6.14
$TTL 10800 ; 3 hours
ripper A 192.168.6.100
TXT "313f41f262462b--------------------"
$TTL 172800 ; 2 days
skyline A 192.168.6.14
www A 192.168.6.14
skyline:/var/lib/named # cat dyn/192.168.6
$ORIGIN .
$TTL 172800 ; 2 days
6.168.192.in-addr.arpa IN SOA skyline.3111skyline.com.
root.3111skyline.com. (
2004042004 ; serial
86400 ; refresh (1 day)
7200 ; retry (2 hours)
3600000 ; expire (5 weeks 6 days 16
hours)
172800 ; minimum (2 days)
)
NS skyline.3111skyline.com.
$ORIGIN 6.168.192.in-addr.arpa.
13 PTR gw.3111skyline.com.
14 PTR www.3111skyline.com.
PTR mail.3111skyline.com.
$ORIGIN 6.168.192.6.168.192.in-addr.arpa.
$TTL 10800 ; 3 hours
100 PTR ripper.3111skyline.com.
99 PTR kidsdell.3111skyline.com.
--
David C. Rankin, J.D., P.E.
RANKIN * BERTIN, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankin-bertin.com
--
----- Original Message -----
From: "David Gonzalez"
Hello suse-linux-e,
Has anyone here gotten DDNS to work with bundled DIND/DHCPD suse versions?.
I'm using two Win Me! clients and i always get:
May 11 11:10:59 xaero dhcpd: Unable to add forward map from zorlag.dyn.tux to 192.168.1.89: timed out May 11 11:16:00 xaero dhcpd: Unable to add forward map from zorlag.dyn.tux to 192.168.1.89: timed out
If anyone has gooten this to work i'd appreciate some help.
Remember i'm using M$ clients.
Or is there any solution like DDclient, or Dynamic solutions like the offered by DynDNS, cjb or those that i can use?.
Thanks
-- Best regards, David mailto:test@tuxcafe.com
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com