<p dir="ltr">Hi everyone,</p>
<p dir="ltr">I'm in the midst of setting up a new dhcp server with ddns for static and dynamic clients.<br>
For testing purposes I've tried a simple configuration for DHCP with DDNS and, after some troubles and searching online, all is working flawlessly.<br>
DHCP is updating DNS after which DNS reloads and syncs with the secondary DNS server.</p>
<p dir="ltr">My problem starts when I try loading DHCP with a less simplistic configuration.</p>
<p dir="ltr">I would like the following configuration.</p>
<p dir="ltr">I want dynamic (unknown) clients to be assigned;<br>
dynamic.domain.lan<br>
range 192.168.178.65 192.168.178.126;</p>
<p dir="ltr">I would like static (known) clients to be assigned;<br>
domain.lan<br>
range 192.168.178.1 192.168.178.30;</p>
<p dir="ltr">To achieve this I'm using the following configuration file;</p>
<p dir="ltr">include "/etc/dhcp/ddns.key";</p>
<p dir="ltr">log-facility local7;</p>
<p dir="ltr">ping-check true; <br>
shared-network dynamic-clients {<br>
subnet 192.168.178.64 netmask 255.255.255.192 {<br>
range 192.168.178.65 192.168.178.126;<br>
default-lease-time 3600;<br>
max-lease-time 7200;<br>
option ntp-servers 194.109.22.18, 194.109.20.18;<br>
option domain-name "dynamic.domain.lan";<br>
option domain-name-servers 192.168.178.24, 192.168.178.20;<br>
option routers 192.168.178.1;<br>
option subnet-mask 255.255.255.0;</p>
<p dir="ltr"> ddns-updates on;<br>
update-static-leases on;<br>
allow unknown-clients;<br>
use-host-decl-names on;<br>
ddns-update-style interim;<br>
authoritive;<br>
ddns-domainname "dynamic.domain.lan";<br>
ddns-rev-domainname "in-addr.arpa";</p>
<p dir="ltr">zone 178.168.192.in-addr.arpa. {<br>
primary 127.0.0.1;<br>
key DDNS_UPDATE;<br>
}</p>
<p dir="ltr">zone dynamic.domain.lan. {<br>
primary 127.0.0.1;<br>
key DDNS_UPDATE;<br>
}<br>
}<br>
}</p>
<p dir="ltr">shared-network static-clients {<br>
subnet 192.168.178.0 netmask 255.255.255.224 {<br>
range 192.168.178.1 192.168.178.30;<br>
default-lease-time 3600;<br>
max-lease-time 7200;<br>
option ntp-servers 194.109.22.18, 194.109.20.18;<br>
option domain-name "domain.lan";<br>
option domain-name-servers 192.168.178.24, 192.168.178.20;<br>
option routers 192.168.178.1;<br>
option subnet-mask 255.255.255.0;</p>
<p dir="ltr"> ddns-updates on;<br>
update-static-leases on;<br>
deny unknown-clients;<br>
use-host-decl-names on;<br>
ddns-update-style interim;<br>
authoritive;<br>
ddns-domainname "domain.lan";<br>
ddns-rev-domainname "in-addr.arpa";</p>
<p dir="ltr">zone ictinc.lan. {<br>
primary 127.0.0.1;<br>
key DDNS_UPDATE;<br>
}<br>
} <br>
host router1-lan {<br>
option host-name "router1.domain.lan"; ddns-hostname "router1";<br>
hardware ethernet C0:25:06:5A:A8:02;<br>
fixed-address 192.168.178.1;<br>
}<br>
Etc. Etc. <br>
}</p>
<p dir="ltr">Unfortunately for some reason this configuration fails when DHCP tries to assign a IP address to a unknown (dynamic) client with the following error:</p>
<p dir="ltr">Jul 11 05:19:53 rpi2 dhcpd: DHCPREQUEST for 192.168.178.101 from 00:e3:b2:e2:60:20 via eth0: ignored (not authoritative).<br>
Jul 11 05:19:55 rpi2 dhcpd: DHCPREQUEST for 192.168.178.101 from 00:e3:b2:e2:60:20 via eth0: ignored (not authoritative).<br>
Jul 11 05:19:57 rpi2 dhcpd: DHCPDISCOVER from 00:e3:b2:e2:60:20 via eth0: unknown client<br>
Jul 11 05:20:01 rpi2 dhcpd: DHCPDISCOVER from 00:e3:b2:e2:60:20 via eth0: unknown client<br>
Jul 11 05:20:10 rpi2 dhcpd: DHCPDISCOVER from 00:e3:b2:e2:60:20 via eth0: unknown client<br>
Jul 11 05:20:26 rpi2 dhcpd: DHCPREQUEST for 192.168.178.101 from 00:e3:b2:e2:60:20 via eth0: ignored (not authoritative).<br>
Jul 11 05:20:29 rpi2 dhcpd: DHCPREQUEST for 192.168.178.101 from 00:e3:b2:e2:60:20 via eth0: ignored (not authoritative).<br>
Jul 11 05:20:30 rpi2 dhcpd: DHCPDISCOVER from 00:e3:b2:e2:60:20 via eth0: unknown client</p>
<p dir="ltr">I hope anyone could help me sort out what I'm doing wrong and what I could do to get this setup work. I'm in no way am advanced DNS/DHCP user, but I'm no beginner either.</p>
<p dir="ltr">I've tried different searches and methods online for days at an end now and I think it time to ask help from the real pros, cause I'm at a loss.</p>
<p dir="ltr">Thanks in advance for reading through this message and helping me out. I really appreciate any help or suggestions.</p>
<p dir="ltr">Best regards,</p>
<p dir="ltr">Ronald.</p>