Re: Help with modzone/addzone scripting and Kea integration

2026-01-26 Thread Jan-Piet Mens

The client attempting the dynamic update is not authorized; probably a GRANT 
statement missing on the zone.


On the COM zone; doesn't sound right. ;)

-JP
--
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list.


Re: Help with modzone/addzone scripting and Kea integration

2026-01-26 Thread Jan-Piet Mens

Jan 25 16:00:24 OpenWrt2 named[4891]: client @0x7f99eea36400 
127.0.0.1#36561/key local-ddns: update failed: com: not authoritative for 
update zone (NOTAUTH)


I stopped reading there; the error message is quite descriptive, isn't it? 


The client attempting the dynamic update is not authorized; probably a GRANT 
statement missing on the zone.

-JP
--
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list.


Re: Help with modzone/addzone scripting and Kea integration

2026-01-25 Thread Philip Prindeville via bind-users
Adding relevant info:

From the logs:

Jan 25 16:00:21 OpenWrt2 named[4891]: received control channel command 'freeze'
Jan 25 16:00:21 OpenWrt2 named[4891]: freezing all zones: success
Jan 25 16:00:21 OpenWrt2 named[4891]: received control channel command 
'zonestatus redfish-solutions.com'
Jan 25 16:00:22 OpenWrt2 named[4891]: received control channel command 'modzone 
redfish-solutions.com {
type primary;
file "/var/run/dhcp/db.redfish-solutions.com";
update-policy {
grant local-ddns zonesub any;
};
};'
Jan 25 16:00:22 OpenWrt2 dhcp4.sh: Failed to add zone redfish-solutions.com: 
rndc: 'modzone' failed: not found
Jan 25 16:00:22 OpenWrt2 named[4891]: received control channel command 'thaw'
Jan 25 16:00:22 OpenWrt2 named[4891]: thawing all zones: success
Jan 25 16:00:24 OpenWrt2 named[4891]: client @0x7f99eea36400 
127.0.0.1#36561/key local-ddns: update failed: com: not authoritative for 
update zone (NOTAUTH)

root@OpenWrt2:~# cat /var/run/dhcp/db.redfish-solutions.com
;
; BIND empty zone created by Kea dhcp4.sh plugin
;
$TTL   604800
@ IN  SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
419200 ; Expire
604800 )   ; Negative Cache TTL
;
@ IN NS localhost.
root@OpenWrt2:~# 
root@OpenWrt2:~# cat /tmp/dhcpd.HLBgFc
; Generated by dhcp4.sh at Sun Jan 25 16:00:22 MST 2026

ttl 3600

update add usw-lite-8-poe.redfish-solutions.com. IN A 192.168.3.2
send
update add 2.3.168.192.in-addr.arpa. IN PTR 
usw-lite-8-poe.redfish-solutions.com.
send
update add uap-u6-lr.redfish-solutions.com. IN A 192.168.3.3
send
update add 3.3.168.192.in-addr.arpa. IN PTR uap-u6-lr.redfish-solutions.com.
send
update add macbook3.redfish-solutions.com. IN A 192.168.3.4
send
update add 4.3.168.192.in-addr.arpa. IN PTR macbook3.redfish-solutions.com.
send
update add macmini2.redfish-solutions.com. IN A 192.168.3.5
send
update add 5.3.168.192.in-addr.arpa. IN PTR macmini2.redfish-solutions.com.
send
update add iphone16-philip.redfish-solutions.com. IN A 192.168.3.9
send
update add 9.3.168.192.in-addr.arpa. IN PTR 
iphone16-philip.redfish-solutions.com.
send
update add iphone16-emily.redfish-solutions.com. IN A 192.168.3.10
send
update add 10.3.168.192.in-addr.arpa. IN PTR 
iphone16-emily.redfish-solutions.com.
send
update add iwatch-emily.redfish-solutions.com. IN A 192.168.3.11
send
update add 11.3.168.192.in-addr.arpa. IN PTR iwatch-emily.redfish-solutions.com.
send
update add lucs-ipad.redfish-solutions.com. IN A 192.168.3.12
send
update add 12.3.168.192.in-addr.arpa. IN PTR lucs-ipad.redfish-solutions.com.
send
update add lucs-switch.redfish-solutions.com. IN A 192.168.3.13
send
update add 13.3.168.192.in-addr.arpa. IN PTR lucs-switch.redfish-solutions.com.
send
update add lucs-iwatch.redfish-solutions.com. IN A 192.168.3.14
send
update add 14.3.168.192.in-addr.arpa. IN PTR lucs-iwatch.redfish-solutions.com.
send
update add charlottes-iwatch.redfish-solutions.com. IN A 192.168.3.15
send
update add 15.3.168.192.in-addr.arpa. IN PTR 
charlottes-iwatch.redfish-solutions.com.
send
update add lucs-laptop.redfish-solutions.com. IN A 192.168.3.16
send
update add 16.3.168.192.in-addr.arpa. IN PTR lucs-laptop.redfish-solutions.com.
send
update add fire-blue.redfish-solutions.com. IN A 192.168.3.18
send
update add 18.3.168.192.in-addr.arpa. IN PTR fire-blue.redfish-solutions.com.
send
update add fire-purple.redfish-solutions.com. IN A 192.168.3.19
send
update add 19.3.168.192.in-addr.arpa. IN PTR fire-purple.redfish-solutions.com.
send
update add rental-bedroom-echo.redfish-solutions.com. IN A 192.168.3.20
send
update add 20.3.168.192.in-addr.arpa. IN PTR 
rental-bedroom-echo.redfish-solutions.com.
send
update add rental-kitchen-echo.redfish-solutions.com. IN A 192.168.3.21
send
update add 21.3.168.192.in-addr.arpa. IN PTR 
rental-kitchen-echo.redfish-solutions.com.
send
update add fire-purple2.redfish-solutions.com. IN A 192.168.3.22
send
update add 22.3.168.192.in-addr.arpa. IN PTR fire-purple2.redfish-solutions.com.
send
update add redfish5.redfish-solutions.com. IN A 192.168.3.23
send
update add 23.3.168.192.in-addr.arpa. IN PTR redfish5.redfish-solutions.com.
send
update add dongle.redfish-solutions.com. IN A 192.168.3.24
send
update add 24.3.168.192.in-addr.arpa. IN PTR dongle.redfish-solutions.com.
send
update add greatroom-appletv.redfish-solutions.com. IN A 192.168.3.26
send
update add 26.3.168.192.in-addr.arpa. IN PTR 
greatroom-appletv.redfish-solutions.com.
send
update add bedroom-appletv.redfish-solutions.com. IN A 192.168.3.27
send
update add 27.3.168.192.in-addr.arpa. IN PTR 
bedroom-appletv.redfish-solutions.com.
send
update add guest-bedroom-appletv.redfish-solutions.com. IN A 192.168.3.28
send
update add 28.3.168.192.in-addr.arpa. IN PTR 
guest-bedroom-appletv.redfish-solutions.com.
send
update add smart-plug-1.redfish-solutions.com. IN A 192.168.3.29
send
update add 29.3.168.192.in-addr.arpa. IN PTR smart-plug-1.redfish-solutions.com.
send
update add sm