Problem DDNS + DHCP in SuSE 9.3 not response any dhcp request from client.
![](https://seccdn.libravatar.org/avatar/09d69694347aeb5059b5ff411b7ebe84.jpg?s=120&d=mm&r=g)
Hi, I already had working dhcpd server in suse 9.1, and now I want to replace with another server that running SuSE 9.3. And now I got a problem, it seems my suse 9.3 server didn't response any DHCP connection from client, it work in previous suse 9.1... :( I have genDDNS.sh to make named.key and add it to /etc/sysconfic/named and /etc/sysconfig/dhcpd. I also have add bootps in /etc/sysconfic/SuSEfirewall (which it's never add in suse 9.1) Before I run it, I have turn off my dhcpd-server in suse 9.1. Why my server didnt response dhcp client ? Anyway here's my named.conf options { directory "/var/lib/named"; dump-file "/var/log/named_dump.db"; statistics-file "/var/log/named.stats"; listen-on-v6 { any; }; allow-query { 127.0.0.1 ; 192.127.0.0/24; 202.152.21.234; }; notify no; forwarders {192.127.0.1;}; }; #include "/etc/rndc.key"; #include "/etc/named.keys"; controls { inet 127.0.0.1 allow {localhost;} keys {rndc-key;}; }; zone "." in { type hint; file "root.hint"; }; zone "localhost" in { type master; file "localhost.zone"; }; zone "0.0.127.in-addr.arpa" in { type master; file "127.0.0.zone"; }; include "/etc/named.conf.include"; zone "fsi.info" in { type master; file "dyn/fsi.info"; allow-update { key DHCP_UPDATER; }; }; zone "0.127.192.in-addr.arpa" in { type master; file "dyn/0.127.192.in-addr.arpa"; allow-update { key DHCP_UPDATER; }; And here's my DHCPD.CONF ddns-update-style interim; ddns-updates on; one-lease-per-client true; ignore client-updates; include "/etc/named.keys"; include "/etc/rndc.key"; subnet 192.127.0.0 netmask 255.255.255.0 { option routers 192.127.0.1; option broadcast-address 192.127.0.255; option domain-name "fsi.info"; option domain-name-servers 192.127.0.7; option netbios-name-servers 192.127.0.1; ddns-domainname "fsi.info"; ddns-rev-domainname "0.127.192.in-addr.arpa"; range dynamic-bootp 192.127.0.180 192.127.0.254; default-lease-time 21600; max-lease-time 86400; zone fsi.info. {primary 127.0.0.1; key DHCP_UPDATER;} zone 0.127.192.in-addr.arpa. {primary 127.0.0.1; key DHCP_UPDATER;} } #max-lease-time 172800; #host back1 { hardware ethernet 00:60:97:63:1b:68; fixed-address 192.127.0.18; } host printer1 { hardware ethernet 00:10:83:93:2c:87; fixed-address 192.127.0.205; } host printer2 { hardware ethernet 00:01:e6:5a:94:a6; fixed-address 192.127.0.206; } host maindata { hardware ethernet 00:08:02:8B:1B:57; fixed-address 192.127.0.210; } host receptionits { hardware ethernet 00:e0:7d:95:29:ed; fixed-address 192.127.1.123;} And here's /var/lib/named/dyn -rw------- 1 named named 172 Aug 11 14:13 0.127.192.in-addr.arpa -rw-r--r-- 1 named named 172 Aug 11 14:11 0.127.192.in-addr.arpa-1 -rw------- 1 named named 193 Aug 11 14:13 fsi.info -rw-r--r-- 1 named named 194 Aug 11 14:11 fsi.info-1 -- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id
![](https://seccdn.libravatar.org/avatar/75973ede5fa153b26deb187a8fead743.jpg?s=120&d=mm&r=g)
On Thu, Aug 11, 2005 at 05:00:54PM +0700, Arie Reynaldi Z wrote:
Hi,
I already had working dhcpd server in suse 9.1, and now I want to replace with another server that running SuSE 9.3. And now I got a problem, it seems my suse 9.3 server didn't response any DHCP connection from client, it work in previous suse 9.1... :( I have genDDNS.sh to make named.key and add it to /etc/sysconfic/named and /etc/sysconfig/dhcpd. I also have add bootps in /etc/sysconfic/SuSEfirewall (which it's never add in suse 9.1) Before I run it, I have turn off my dhcpd-server in suse 9.1. Why my server didnt response dhcp client ?
Are any actions of dhcpd logged in /var/log/messages?
Anyway here's my named.conf options {
directory "/var/lib/named"; dump-file "/var/log/named_dump.db"; statistics-file "/var/log/named.stats"; listen-on-v6 { any; }; allow-query { 127.0.0.1 ; 192.127.0.0/24; 202.152.21.234; }; notify no; forwarders {192.127.0.1;}; }; #include "/etc/rndc.key"; #include "/etc/named.keys"; controls { inet 127.0.0.1 allow {localhost;} keys {rndc-key;}; }; zone "." in { type hint; file "root.hint"; }; zone "localhost" in { type master; file "localhost.zone"; }; zone "0.0.127.in-addr.arpa" in { type master; file "127.0.0.zone"; }; include "/etc/named.conf.include"; zone "fsi.info" in { type master; file "dyn/fsi.info"; allow-update { key DHCP_UPDATER; }; }; zone "0.127.192.in-addr.arpa" in { type master; file "dyn/0.127.192.in-addr.arpa"; allow-update { key DHCP_UPDATER; };
And here's my DHCPD.CONF ddns-update-style interim; ddns-updates on; one-lease-per-client true; ignore client-updates; include "/etc/named.keys"; include "/etc/rndc.key"; subnet 192.127.0.0 netmask 255.255.255.0 { option routers 192.127.0.1; option broadcast-address 192.127.0.255; option domain-name "fsi.info"; option domain-name-servers 192.127.0.7; option netbios-name-servers 192.127.0.1;
ddns-domainname "fsi.info"; ddns-rev-domainname "0.127.192.in-addr.arpa"; range dynamic-bootp 192.127.0.180 192.127.0.254; default-lease-time 21600; max-lease-time 86400; zone fsi.info. {primary 127.0.0.1; key DHCP_UPDATER;} zone 0.127.192.in-addr.arpa. {primary 127.0.0.1; key DHCP_UPDATER;} } #max-lease-time 172800; #host back1 { hardware ethernet 00:60:97:63:1b:68; fixed-address 192.127.0.18; } host printer1 { hardware ethernet 00:10:83:93:2c:87; fixed-address 192.127.0.205; } host printer2 { hardware ethernet 00:01:e6:5a:94:a6; fixed-address 192.127.0.206; } host maindata { hardware ethernet 00:08:02:8B:1B:57; fixed-address 192.127.0.210; } host receptionits { hardware ethernet 00:e0:7d:95:29:ed; fixed-address 192.127.1.123;}
And here's /var/lib/named/dyn -rw------- 1 named named 172 Aug 11 14:13 0.127.192.in-addr.arpa -rw-r--r-- 1 named named 172 Aug 11 14:11 0.127.192.in-addr.arpa-1 -rw------- 1 named named 193 Aug 11 14:13 fsi.info -rw-r--r-- 1 named named 194 Aug 11 14:11 fsi.info-1
-- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id
-- 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
-- the pink machine that goes "ping" imitated the tasty machine that goes "ping"
![](https://seccdn.libravatar.org/avatar/09d69694347aeb5059b5ff411b7ebe84.jpg?s=120&d=mm&r=g)
replace with another server that running SuSE 9.3. And now I got a problem, it seems my suse 9.3 server didn't response any DHCP connection from client, it work in previous suse 9.1... :( I have genDDNS.sh to make named.key and add it to /etc/sysconfic/named and /etc/sysconfig/dhcpd. I also have add bootps in /etc/sysconfic/SuSEfirewall (which it's never add in suse 9.1) Before I run it, I have turn off my dhcpd-server in suse 9.1. Why my server didnt response dhcp client ?
Are any actions of dhcpd logged in /var/log/messages?
Ok, it seems i had to add DNS server in Allowed Service in firewall. After that, my dhcp + ddns is runing well.. :) -- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id
![](https://seccdn.libravatar.org/avatar/4505047963344fccd4c57e90ca1b4ec2.jpg?s=120&d=mm&r=g)
----- Original Message -----
From: "Arie Reynaldi Z"
replace with another server that running SuSE 9.3. And now I got a problem, it seems my suse 9.3 server didn't response any DHCP connection from client, it work in previous suse 9.1... :( I have genDDNS.sh to make named.key and add it to /etc/sysconfic/named and /etc/sysconfig/dhcpd. I also have add bootps in /etc/sysconfic/SuSEfirewall (which it's never add in suse 9.1) Before I run it, I have turn off my dhcpd-server in suse 9.1. Why my server didnt response dhcp client ?
Are any actions of dhcpd logged in /var/log/messages?
Ok, it seems i had to add DNS server in Allowed Service in firewall. After that, my dhcp + ddns is runing well.. :)
Arie, I'm glad to see you got it up and running. There are some ddns/bind dhcp update problems that can drive you nuts. This is amplified when ddns/dchp is run chroot'ed as with SuSE. It is an elegant system. However, the finer points of nsupdate and zone file entries can be fun -- from a syntax or stale zone record entry standpoint. Glad it is working.. -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com --
participants (3)
-
Arie Reynaldi Z
-
david rankin
-
poeml@cmdline.net