Integrating ISC-DHCP with/ Bind (and eventually Kea)
Mark Andrews
marka at isc.org
Tue Dec 2 00:12:52 UTC 2025
> On 2 Dec 2025, at 10:16, Philip Prindeville <philipp_subx at redfish-solutions.com> wrote:
>
> I tried that and it worked. Thanks.
>
> Dumb question… what if we did a “modzone” instead of an “addzone”?
Modzone works with previously added zones.
>> On Dec 1, 2025, at 2:58 PM, Mark Andrews <marka at isc.org> wrote:
>>
>> Almost certainly this will be a clash between the existing automatic empty zone and
>> the 'rndc addzone' for 168.192.in-addr.arpa. The long term fix will be to have named
>> check if the added zone is an automatic empty zone and to allow 'rndc addzone’ to
>> replace it. In the mean time I would just add 168.192.in-addr.arpa to named.conf or add
>> 'disable-empty-zone 168.192.in-addr.arpa;’
>>
>> Mark
>>
>>> On 2 Dec 2025, at 07:50, Philip Prindeville via bind-users <bind-users at lists.isc.org> wrote:
>>>
>>> [ Bcc: David and Noah ]
>>>
>>> Hi,
>>>
>>> I’m the maintainer for Kea and ISC-DHCP on OpenWRT. The scripting to take the UCI configuration files for DHCP and mangle them into Bind zone transfers is here:
>>>
>>> https://github.com/openwrt/packages/blob/master/net/isc-dhcp/files/dhcpd.init#L136-L186
>>> https://github.com/openwrt/packages/blob/master/net/isc-dhcp/files/dhcpd.init#L274
>>> https://github.com/openwrt/packages/blob/master/net/isc-dhcp/files/dhcpd.init#L276
>>>
>>> https://github.com/openwrt/packages/blob/master/net/isc-dhcp/files/dhcpd.init#L569
>>> https://github.com/openwrt/packages/blob/master/net/isc-dhcp/files/dhcpd.init#L575
>>>
>>> https://github.com/openwrt/packages/blob/master/net/isc-dhcp/files/dhcpd.init#L581-L606
>>> https://github.com/openwrt/packages/blob/master/net/isc-dhcp/files/dhcpd.init#L694
>>>
>>> and the glue in Bind is here:
>>>
>>> https://github.com/openwrt/packages/blob/master/net/bind/files/bind/named.conf#L8-L9
>>>
>>> An example is running locally here, where I have “redfish-solutions.com <http://redfish-solutions.com/>” and “168.192.in-addr.arpa” as the domains I serve.
>>>
>>> ; Generated by /etc/init.d/dhcpd at Mon Dec 1 13:14:10 MST 2025
>>>
>>> ttl 3600
>>>
>>> update add Bedroom.redfish-solutions.com. IN A 192.168.5.5
>>> send
>>> update add 5.5.168.192.in-addr.arpa. IN PTR Bedroom.redfish-solutions.com.
>>> send
>>> update add Penthouse.redfish-solutions.com. IN A 192.168.5.6
>>> send
>>> update add 6.5.168.192.in-addr.arpa. IN PTR Penthouse.redfish-solutions.com.
>>> send
>>> update add switch1.redfish-solutions.com. IN A 192.168.6.3
>>> send
>>> update add 3.6.168.192.in-addr.arpa. IN PTR switch1.redfish-solutions.com.
>>> send
>>> update add usw-24-poe.redfish-solutions.com. IN A 192.168.6.4
>>> send
>>> update add 4.6.168.192.in-addr.arpa. IN PTR usw-24-poe.redfish-solutions.com.
>>> send
>>> update add usw-aggregation.redfish-solutions.com. IN A 192.168.6.5
>>> send
>>> update add 5.6.168.192.in-addr.arpa. IN PTR usw-aggregation.redfish-solutions.com.
>>> send
>>> update add uap-ac-pro-upstairs.redfish-solutions.com. IN A 192.168.6.6
>>> send
>>> update add 6.6.168.192.in-addr.arpa. IN PTR uap-ac-pro-upstairs.redfish-solutions.com.
>>> send
>>> update add uap-u6-lr-mainfloor.redfish-solutions.com. IN A 192.168.6.7
>>> send
>>> update add 7.6.168.192.in-addr.arpa. IN PTR uap-u6-lr-mainfloor.redfish-solutions.com.
>>> send
>>> update add uap-ac-pro-basement.redfish-solutions.com. IN A 192.168.6.8
>>> send
>>> update add 8.6.168.192.in-addr.arpa. IN PTR uap-ac-pro-basement.redfish-solutions.com.
>>> send
>>> update add bluray3d.redfish-solutions.com. IN A 192.168.6.13
>>> send
>>> update add 13.6.168.192.in-addr.arpa. IN PTR bluray3d.redfish-solutions.com.
>>> send
>>> update add bluray.redfish-solutions.com. IN A 192.168.6.14
>>> send
>>> update add 14.6.168.192.in-addr.arpa. IN PTR bluray.redfish-solutions.com.
>>> send
>>> update add macbook3.redfish-solutions.com. IN A 192.168.6.17
>>> send
>>> update add 17.6.168.192.in-addr.arpa. IN PTR macbook3.redfish-solutions.com.
>>> send
>>> update add charlottes-iwatch.redfish-solutions.com. IN A 192.168.6.18
>>> send
>>> update add 18.6.168.192.in-addr.arpa. IN PTR charlottes-iwatch.redfish-solutions.com.
>>> send
>>> update add kuiper-macbookpro.redfish-solutions.com. IN A 192.168.6.19
>>> send
>>> update add 19.6.168.192.in-addr.arpa. IN PTR kuiper-macbookpro.redfish-solutions.com.
>>> send
>>> update add iphone16-philip.redfish-solutions.com. IN A 192.168.6.20
>>> send
>>> update add 20.6.168.192.in-addr.arpa. IN PTR iphone16-philip.redfish-solutions.com.
>>> send
>>> update add iwatch-emily.redfish-solutions.com. IN A 192.168.6.22
>>> send
>>> update add 22.6.168.192.in-addr.arpa. IN PTR iwatch-emily.redfish-solutions.com.
>>> send
>>> update add lucs-laptop.redfish-solutions.com. IN A 192.168.6.23
>>> send
>>> update add 23.6.168.192.in-addr.arpa. IN PTR lucs-laptop.redfish-solutions.com.
>>> send
>>> update add queenies-switch.redfish-solutions.com. IN A 192.168.6.24
>>> send
>>> update add 24.6.168.192.in-addr.arpa. IN PTR queenies-switch.redfish-solutions.com.
>>> send
>>> update add queenies-switch-lite.redfish-solutions.com. IN A 192.168.6.25
>>> send
>>> update add 25.6.168.192.in-addr.arpa. IN PTR queenies-switch-lite.redfish-solutions.com.
>>> send
>>> update add sony-ps4.redfish-solutions.com. IN A 192.168.6.26
>>> send
>>> update add 26.6.168.192.in-addr.arpa. IN PTR sony-ps4.redfish-solutions.com.
>>> send
>>> update add Lucs-iPhone.redfish-solutions.com. IN A 192.168.6.27
>>> send
>>> update add 27.6.168.192.in-addr.arpa. IN PTR Lucs-iPhone.redfish-solutions.com.
>>> send
>>> update add fire-blue.redfish-solutions.com. IN A 192.168.6.28
>>> send
>>> update add 28.6.168.192.in-addr.arpa. IN PTR fire-blue.redfish-solutions.com.
>>> send
>>> update add fire-purple.redfish-solutions.com. IN A 192.168.6.29
>>> send
>>> update add 29.6.168.192.in-addr.arpa. IN PTR fire-purple.redfish-solutions.com.
>>> send
>>> update add lucs-ipad-air.redfish-solutions.com. IN A 192.168.6.30
>>> send
>>> update add 30.6.168.192.in-addr.arpa. IN PTR lucs-ipad-air.redfish-solutions.com.
>>> send
>>> update add philips-echo.redfish-solutions.com. IN A 192.168.6.31
>>> send
>>> update add 31.6.168.192.in-addr.arpa. IN PTR philips-echo.redfish-solutions.com.
>>> send
>>> update add penthouse-kitchen-echo.redfish-solutions.com. IN A 192.168.6.32
>>> send
>>> update add 32.6.168.192.in-addr.arpa. IN PTR penthouse-kitchen-echo.redfish-solutions.com.
>>> send
>>> update add kitchen-echo.redfish-solutions.com. IN A 192.168.6.33
>>> send
>>> update add 33.6.168.192.in-addr.arpa. IN PTR kitchen-echo.redfish-solutions.com.
>>> send
>>> update add lucs-echo-dot.redfish-solutions.com. IN A 192.168.6.34
>>> send
>>> update add 34.6.168.192.in-addr.arpa. IN PTR lucs-echo-dot.redfish-solutions.com.
>>> send
>>> update add penthouse-bedroom-echo-dot.redfish-solutions.com. IN A 192.168.6.35
>>> send
>>> update add 35.6.168.192.in-addr.arpa. IN PTR penthouse-bedroom-echo-dot.redfish-solutions.com.
>>> send
>>> update add iphone16-emily.redfish-solutions.com. IN A 192.168.6.36
>>> send
>>> update add 36.6.168.192.in-addr.arpa. IN PTR iphone16-emily.redfish-solutions.com.
>>> send
>>> update add emilys-laptop.redfish-solutions.com. IN A 192.168.6.37
>>> send
>>> update add 37.6.168.192.in-addr.arpa. IN PTR emilys-laptop.redfish-solutions.com.
>>> send
>>> update add redfish5.redfish-solutions.com. IN A 192.168.6.38
>>> send
>>> update add 38.6.168.192.in-addr.arpa. IN PTR redfish5.redfish-solutions.com.
>>> send
>>> update add macmini2-wifi.redfish-solutions.com. IN A 192.168.6.39
>>> send
>>> update add 39.6.168.192.in-addr.arpa. IN PTR macmini2-wifi.redfish-solutions.com.
>>> send
>>> update add fire-purple2.redfish-solutions.com. IN A 192.168.6.40
>>> send
>>> update add 40.6.168.192.in-addr.arpa. IN PTR fire-purple2.redfish-solutions.com.
>>> send
>>> update add LAPTOP-8PUDRPSI.redfish-solutions.com. IN A 192.168.6.41
>>> send
>>> update add 41.6.168.192.in-addr.arpa. IN PTR LAPTOP-8PUDRPSI.redfish-solutions.com.
>>> send
>>> update add aquent-surface-wired.redfish-solutions.com. IN A 192.168.6.42
>>> send
>>> update add 42.6.168.192.in-addr.arpa. IN PTR aquent-surface-wired.redfish-solutions.com.
>>> send
>>> update add emilys-ipad-pro.redfish-solutions.com. IN A 192.168.6.43
>>> send
>>> update add 43.6.168.192.in-addr.arpa. IN PTR emilys-ipad-pro.redfish-solutions.com.
>>> send
>>> update add Emilys-MBP-2.redfish-solutions.com. IN A 192.168.6.44
>>> send
>>> update add 44.6.168.192.in-addr.arpa. IN PTR Emilys-MBP-2.redfish-solutions.com.
>>> send
>>> update add mycloud2.redfish-solutions.com. IN A 192.168.6.45
>>> send
>>> update add 45.6.168.192.in-addr.arpa. IN PTR mycloud2.redfish-solutions.com.
>>> send
>>> update add epson3b6659.redfish-solutions.com. IN A 192.168.6.46
>>> send
>>> update add 46.6.168.192.in-addr.arpa. IN PTR epson3b6659.redfish-solutions.com.
>>> send
>>> update add switch4.redfish-solutions.com. IN A 192.168.6.47
>>> send
>>> update add 47.6.168.192.in-addr.arpa. IN PTR switch4.redfish-solutions.com.
>>> send
>>> update add un32h5500.redfish-solutions.com. IN A 192.168.6.48
>>> send
>>> update add 48.6.168.192.in-addr.arpa. IN PTR un32h5500.redfish-solutions.com.
>>> send
>>> update add un55ju6400.redfish-solutions.com. IN A 192.168.6.49
>>> send
>>> update add 49.6.168.192.in-addr.arpa. IN PTR un55ju6400.redfish-solutions.com.
>>> send
>>> update add un60d8000.redfish-solutions.com. IN A 192.168.6.50
>>> send
>>> update add 50.6.168.192.in-addr.arpa. IN PTR un60d8000.redfish-solutions.com.
>>> send
>>> update add lg-65c7.redfish-solutions.com. IN A 192.168.6.51
>>> send
>>> update add 51.6.168.192.in-addr.arpa. IN PTR lg-65c7.redfish-solutions.com.
>>> send
>>> update add lucs-chromebook.redfish-solutions.com. IN A 192.168.6.52
>>> send
>>> update add 52.6.168.192.in-addr.arpa. IN PTR lucs-chromebook.redfish-solutions.com.
>>> send
>>> update add lucs-switch.redfish-solutions.com. IN A 192.168.6.53
>>> send
>>> update add 53.6.168.192.in-addr.arpa. IN PTR lucs-switch.redfish-solutions.com.
>>> send
>>> update add helper-shark.redfish-solutions.com. IN A 192.168.6.54
>>> send
>>> update add 54.6.168.192.in-addr.arpa. IN PTR helper-shark.redfish-solutions.com.
>>> send
>>> update add lucs-iwatch.redfish-solutions.com. IN A 192.168.6.55
>>> send
>>> update add 55.6.168.192.in-addr.arpa. IN PTR lucs-iwatch.redfish-solutions.com.
>>> send
>>> update add emilys-dock.redfish-solutions.com. IN A 192.168.6.56
>>> send
>>> update add 56.6.168.192.in-addr.arpa. IN PTR emilys-dock.redfish-solutions.com.
>>> send
>>> update add anker-dongle.redfish-solutions.com. IN A 192.168.6.57
>>> send
>>> update add 57.6.168.192.in-addr.arpa. IN PTR anker-dongle.redfish-solutions.com.
>>> send
>>> update add ubuntu20-04.redfish-solutions.com. IN A 192.168.6.64
>>> send
>>> update add 64.6.168.192.in-addr.arpa. IN PTR ubuntu20-04.redfish-solutions.com.
>>> send
>>> update add centos8S.redfish-solutions.com. IN A 192.168.6.65
>>> send
>>> update add 65.6.168.192.in-addr.arpa. IN PTR centos8S.redfish-solutions.com.
>>> send
>>> update add ghostbsd.redfish-solutions.com. IN A 192.168.6.66
>>> send
>>> update add 66.6.168.192.in-addr.arpa. IN PTR ghostbsd.redfish-solutions.com.
>>> send
>>> update add slingsgot-g01-SEC504.redfish-solutions.com. IN A 192.168.6.97
>>> send
>>> update add 97.6.168.192.in-addr.arpa. IN PTR slingsgot-g01-SEC504.redfish-solutions.com.
>>> send
>>> update add mystery-device.redfish-solutions.com. IN A 192.168.6.99
>>> send
>>> update add 99.6.168.192.in-addr.arpa. IN PTR mystery-device.redfish-solutions.com.
>>> send
>>> update add diningroom-dimmer1.redfish-solutions.com. IN A 192.168.6.208
>>> send
>>> update add 208.6.168.192.in-addr.arpa. IN PTR diningroom-dimmer1.redfish-solutions.com.
>>> send
>>> update add diningroom-dimmer2.redfish-solutions.com. IN A 192.168.6.209
>>> send
>>> update add 209.6.168.192.in-addr.arpa. IN PTR diningroom-dimmer2.redfish-solutions.com.
>>> send
>>> update add kitchen-dimmer1.redfish-solutions.com. IN A 192.168.6.210
>>> send
>>> update add 210.6.168.192.in-addr.arpa. IN PTR kitchen-dimmer1.redfish-solutions.com.
>>> send
>>> update add island-dimmer1.redfish-solutions.com. IN A 192.168.6.211
>>> send
>>> update add 211.6.168.192.in-addr.arpa. IN PTR island-dimmer1.redfish-solutions.com.
>>> send
>>> update add nook-dimmer1.redfish-solutions.com. IN A 192.168.6.212
>>> send
>>> update add 212.6.168.192.in-addr.arpa. IN PTR nook-dimmer1.redfish-solutions.com.
>>> send
>>> update add penthouse-kitchen-dimmer1.redfish-solutions.com. IN A 192.168.6.213
>>> send
>>> update add 213.6.168.192.in-addr.arpa. IN PTR penthouse-kitchen-dimmer1.redfish-solutions.com.
>>> send
>>> update add penthouse-livingroom-dimmer1.redfish-solutions.com. IN A 192.168.6.214
>>> send
>>> update add 214.6.168.192.in-addr.arpa. IN PTR penthouse-livingroom-dimmer1.redfish-solutions.com.
>>> send
>>> update add penthouse-livingroom-dimmer2.redfish-solutions.com. IN A 192.168.6.215
>>> send
>>> update add 215.6.168.192.in-addr.arpa. IN PTR penthouse-livingroom-dimmer2.redfish-solutions.com.
>>> send
>>> update add mainfloor-thermostat.redfish-solutions.com. IN A 192.168.6.216
>>> send
>>> update add 216.6.168.192.in-addr.arpa. IN PTR mainfloor-thermostat.redfish-solutions.com.
>>> send
>>> update add basement-thermostat.redfish-solutions.com. IN A 192.168.6.217
>>> send
>>> update add 217.6.168.192.in-addr.arpa. IN PTR basement-thermostat.redfish-solutions.com.
>>> send
>>> update add christmas-lights-switch.redfish-solutions.com. IN A 192.168.6.218
>>> send
>>> update add 218.6.168.192.in-addr.arpa. IN PTR christmas-lights-switch.redfish-solutions.com.
>>> send
>>> update add penthouse-bedroom-thermostat.redfish-solutions.com. IN A 192.168.6.219
>>> send
>>> update add 219.6.168.192.in-addr.arpa. IN PTR penthouse-bedroom-thermostat.redfish-solutions.com.
>>> send
>>> update add balcony-switch.redfish-solutions.com. IN A 192.168.6.220
>>> send
>>> update add 220.6.168.192.in-addr.arpa. IN PTR balcony-switch.redfish-solutions.com.
>>> send
>>> update add front-porch-switch.redfish-solutions.com. IN A 192.168.6.221
>>> send
>>> update add 221.6.168.192.in-addr.arpa. IN PTR front-porch-switch.redfish-solutions.com.
>>> send
>>> update add back-porch-switch.redfish-solutions.com. IN A 192.168.6.222
>>> send
>>> update add 222.6.168.192.in-addr.arpa. IN PTR back-porch-switch.redfish-solutions.com.
>>> send
>>> update add emilys-refrigerator.redfish-solutions.com. IN A 192.168.6.223
>>> send
>>> update add 223.6.168.192.in-addr.arpa. IN PTR emilys-refrigerator.redfish-solutions.com.
>>> send
>>> update add garage-mandoor-cam.redfish-solutions.com. IN A 192.168.6.224
>>> send
>>> update add 224.6.168.192.in-addr.arpa. IN PTR garage-mandoor-cam.redfish-solutions.com.
>>> send
>>> update add patio-cam.redfish-solutions.com. IN A 192.168.6.225
>>> send
>>> update add 225.6.168.192.in-addr.arpa. IN PTR patio-cam.redfish-solutions.com.
>>> send
>>> update add front-office-cam.redfish-solutions.com. IN A 192.168.6.226
>>> send
>>> update add 226.6.168.192.in-addr.arpa. IN PTR front-office-cam.redfish-solutions.com.
>>> send
>>> update add driveway-cam.redfish-solutions.com. IN A 192.168.6.227
>>> send
>>> update add 227.6.168.192.in-addr.arpa. IN PTR driveway-cam.redfish-solutions.com.
>>> send
>>> update add garage-door-left.redfish-solutions.com. IN A 192.168.6.228
>>> send
>>> update add 228.6.168.192.in-addr.arpa. IN PTR garage-door-left.redfish-solutions.com.
>>> send
>>> update add garage-door-right.redfish-solutions.com. IN A 192.168.6.229
>>> send
>>> update add 229.6.168.192.in-addr.arpa. IN PTR garage-door-right.redfish-solutions.com.
>>> send
>>> update add garage-cam-right.redfish-solutions.com. IN A 192.168.6.230
>>> send
>>> update add 230.6.168.192.in-addr.arpa. IN PTR garage-cam-right.redfish-solutions.com.
>>> send
>>> update add garage-cam-left.redfish-solutions.com. IN A 192.168.6.231
>>> send
>>> update add 231.6.168.192.in-addr.arpa. IN PTR garage-cam-left.redfish-solutions.com.
>>> send
>>> update add nook-thermostat.redfish-solutions.com. IN A 192.168.6.232
>>> send
>>> update add 232.6.168.192.in-addr.arpa. IN PTR nook-thermostat.redfish-solutions.com.
>>> send
>>> update add smart-plug-1.redfish-solutions.com. IN A 192.168.6.233
>>> send
>>> update add 233.6.168.192.in-addr.arpa. IN PTR smart-plug-1.redfish-solutions.com.
>>> send
>>> update add smart-plug-2.redfish-solutions.com. IN A 192.168.6.234
>>> send
>>> update add 234.6.168.192.in-addr.arpa. IN PTR smart-plug-2.redfish-solutions.com.
>>> send
>>> update add spa942-3.redfish-solutions.com. IN A 192.168.6.235
>>> send
>>> update add 235.6.168.192.in-addr.arpa. IN PTR spa942-3.redfish-solutions.com.
>>> send
>>> update add spa504g-2.redfish-solutions.com. IN A 192.168.6.236
>>> send
>>> update add 236.6.168.192.in-addr.arpa. IN PTR spa504g-2.redfish-solutions.com.
>>> send
>>> update add spa504g-1.redfish-solutions.com. IN A 192.168.6.237
>>> send
>>> update add 237.6.168.192.in-addr.arpa. IN PTR spa504g-1.redfish-solutions.com.
>>> send
>>> update add spa942-1.redfish-solutions.com. IN A 192.168.6.238
>>> send
>>> update add 238.6.168.192.in-addr.arpa. IN PTR spa942-1.redfish-solutions.com.
>>> send
>>> update add spa112.redfish-solutions.com. IN A 192.168.6.239
>>> send
>>> update add 239.6.168.192.in-addr.arpa. IN PTR spa112.redfish-solutions.com.
>>> send
>>> update add Living-Room.redfish-solutions.com. IN A 192.168.6.240
>>> send
>>> update add 240.6.168.192.in-addr.arpa. IN PTR Living-Room.redfish-solutions.com.
>>> send
>>> update add Playroom.redfish-solutions.com. IN A 192.168.6.243
>>> send
>>> update add 243.6.168.192.in-addr.arpa. IN PTR Playroom.redfish-solutions.com.
>>> send
>>> update add Washingmachine.redfish-solutions.com. IN A 192.168.6.244
>>> send
>>> update add 244.6.168.192.in-addr.arpa. IN PTR Washingmachine.redfish-solutions.com.
>>> send
>>> update add Dryer.redfish-solutions.com. IN A 192.168.6.245
>>> send
>>> update add 245.6.168.192.in-addr.arpa. IN PTR Dryer.redfish-solutions.com.
>>> send
>>> update add cielo-bedroom.redfish-solutions.com. IN A 192.168.6.246
>>> send
>>> update add 246.6.168.192.in-addr.arpa. IN PTR cielo-bedroom.redfish-solutions.com.
>>> send
>>> update add cielo-greatroom.redfish-solutions.com. IN A 192.168.6.247
>>> send
>>> update add 247.6.168.192.in-addr.arpa. IN PTR cielo-greatroom.redfish-solutions.com.
>>> send
>>> update add zanders-tower.redfish-solutions.com. IN A 192.168.6.248
>>> send
>>> update add 248.6.168.192.in-addr.arpa. IN PTR zanders-tower.redfish-solutions.com.
>>> send
>>> update add zanders-laptop.redfish-solutions.com. IN A 192.168.6.249
>>> send
>>> update add 249.6.168.192.in-addr.arpa. IN PTR zanders-laptop.redfish-solutions.com.
>>> send
>>> update add zanders-occulus-quest.redfish-solutions.com. IN A 192.168.6.250
>>> send
>>> update add 250.6.168.192.in-addr.arpa. IN PTR zanders-occulus-quest.redfish-solutions.com.
>>> send
>>> update add zanders-iphone.redfish-solutions.com. IN A 192.168.6.251
>>> send
>>> update add 251.6.168.192.in-addr.arpa. IN PTR zanders-iphone.redfish-solutions.com.
>>> send
>>> update add mail.redfish-solutions.com. IN A 192.168.8.3
>>> send
>>> update add 3.8.168.192.in-addr.arpa. IN PTR mail.redfish-solutions.com.
>>> send
>>> update add apc.redfish-solutions.com. IN A 192.168.8.4
>>> send
>>> update add 4.8.168.192.in-addr.arpa. IN PTR apc.redfish-solutions.com.
>>> send
>>> update add apc2.redfish-solutions.com. IN A 192.168.8.5
>>> send
>>> update add 5.8.168.192.in-addr.arpa. IN PTR apc2.redfish-solutions.com.
>>> send
>>> update add freenas.redfish-solutions.com. IN A 192.168.8.6
>>> send
>>> update add 6.8.168.192.in-addr.arpa. IN PTR freenas.redfish-solutions.com.
>>> send
>>> update add mybook.redfish-solutions.com. IN A 192.168.8.8
>>> send
>>> update add 8.8.168.192.in-addr.arpa. IN PTR mybook.redfish-solutions.com.
>>> send
>>> update add Macmini2.redfish-solutions.com. IN A 192.168.8.9
>>> send
>>> update add 9.8.168.192.in-addr.arpa. IN PTR Macmini2.redfish-solutions.com.
>>> send
>>> update add iphone12-philip-sb.redfish-solutions.com. IN A 192.168.8.10
>>> send
>>> update add 10.8.168.192.in-addr.arpa. IN PTR iphone12-philip-sb.redfish-solutions.com.
>>> send
>>> update add macbook3.redfish-solutions.com. IN A 192.168.8.12
>>> send
>>> update add 12.8.168.192.in-addr.arpa. IN PTR macbook3.redfish-solutions.com.
>>> send
>>> update add kvm1.redfish-solutions.com. IN A 192.168.8.30
>>> send
>>> update add 30.8.168.192.in-addr.arpa. IN PTR kvm1.redfish-solutions.com.
>>> send
>>> update add kvm1-ipmi.redfish-solutions.com. IN A 192.168.8.31
>>> send
>>> update add 31.8.168.192.in-addr.arpa. IN PTR kvm1-ipmi.redfish-solutions.com.
>>> send
>>> update add ubuntu24.redfish-solutions.com. IN A 192.168.8.33
>>> send
>>> update add 33.8.168.192.in-addr.arpa. IN PTR ubuntu24.redfish-solutions.com.
>>> send
>>> update add builder.redfish-solutions.com. IN A 192.168.8.34
>>> send
>>> update add 34.8.168.192.in-addr.arpa. IN PTR builder.redfish-solutions.com.
>>> send
>>> update add centos7.redfish-solutions.com. IN A 192.168.8.35
>>> send
>>> update add 35.8.168.192.in-addr.arpa. IN PTR centos7.redfish-solutions.com.
>>> send
>>> update add openwrt-efi.redfish-solutions.com. IN A 192.168.8.36
>>> send
>>> update add 36.8.168.192.in-addr.arpa. IN PTR openwrt-efi.redfish-solutions.com.
>>> send
>>> update add freedos.redfish-solutions.com. IN A 192.168.8.37
>>> send
>>> update add 37.8.168.192.in-addr.arpa. IN PTR freedos.redfish-solutions.com.
>>> send
>>> update add win10.redfish-solutions.com. IN A 192.168.8.38
>>> send
>>> update add 38.8.168.192.in-addr.arpa. IN PTR win10.redfish-solutions.com.
>>> send
>>> update add win7.redfish-solutions.com. IN A 192.168.8.39
>>> send
>>> update add 39.8.168.192.in-addr.arpa. IN PTR win7.redfish-solutions.com.
>>> send
>>> update add centos6.redfish-solutions.com. IN A 192.168.8.40
>>> send
>>> update add 40.8.168.192.in-addr.arpa. IN PTR centos6.redfish-solutions.com.
>>> send
>>> update add kvm2.redfish-solutions.com. IN A 192.168.8.62
>>> send
>>> update add 62.8.168.192.in-addr.arpa. IN PTR kvm2.redfish-solutions.com.
>>> send
>>> update add kvm2-ipmi.redfish-solutions.com. IN A 192.168.8.63
>>> send
>>> update add 63.8.168.192.in-addr.arpa. IN PTR kvm2-ipmi.redfish-solutions.com.
>>> send
>>> update add rhel10.redfish-solutions.com. IN A 192.168.8.64
>>> send
>>> update add 64.8.168.192.in-addr.arpa. IN PTR rhel10.redfish-solutions.com.
>>> send
>>> update add ftp.redfish-solutions.com. IN CNAME mail.redfish-solutions.com.
>>> send
>>> update add www.redfish-solutions.com. IN CNAME mail.redfish-solutions.com.
>>> send
>>> update add pbx.redfish-solutions.com. IN CNAME openwrt.redfish-solutions.com.
>>> send
>>> update add ubuntu.redfish-solutions.com. IN CNAME ubuntu24.redfish-solutions.com.
>>> send
>>> update add openwrt3.redfish-solutions.com. IN CNAME openwrt.redfish-solutions.com.
>>> send
>>> update add ntp.redfish-solutions.com. IN CNAME rhel10.redfish-solutions.com.
>>> send
>>> update add openwrt.redfish-solutions.com. IN A 192.168.1.1
>>> send
>>> update add 1.1.168.192.in-addr.arpa. IN PTR openwrt.redfish-solutions.com.
>>> send
>>> update add openwrt.redfish-solutions.com. IN A 192.168.5.1
>>> send
>>> update add 1.5.168.192.in-addr.arpa. IN PTR openwrt.redfish-solutions.com.
>>> send
>>> update add openwrt.redfish-solutions.com. IN A 192.168.6.1
>>> send
>>> update add 1.6.168.192.in-addr.arpa. IN PTR openwrt.redfish-solutions.com.
>>> send
>>> update add openwrt.redfish-solutions.com. IN A 192.168.7.1
>>> send
>>> update add 1.7.168.192.in-addr.arpa. IN PTR openwrt.redfish-solutions.com.
>>> send
>>> update add openwrt.redfish-solutions.com. IN A 192.168.8.1
>>> send
>>> update add 1.8.168.192.in-addr.arpa. IN PTR openwrt.redfish-solutions.com.
>>> send
>>> update add openwrt-bios2.redfish-solutions.com. IN A 192.168.8.41
>>> send
>>> update add 41.8.168.192.in-addr.arpa. IN PTR openwrt-bios2.redfish-solutions.com.
>>> send
>>> update add openwrt-bios2.redfish-solutions.com. IN A 192.168.8.199
>>> send
>>> update add 199.8.168.192.in-addr.arpa. IN PTR openwrt-bios2.redfish-solutions.com.
>>> send
>>> update add tnsr1.redfish-solutions.com. IN A 24.116.100.93
>>> send
>>> update add pigpen.redfish-solutions.com. IN A 24.116.100.94
>>> send
>>> update add redfish-solutions.com. IN MX 10 mail.redfish-solutions.com.
>>> send
>>> update add _sip._udp.redfish-solutions.com. IN SRV 0 10 5060 pbx.redfish-solutions.com.
>>> send
>>>
>>>
>>> And both zones were primed via these commands:
>>>
>>> rndc addzone redfish-solutions.com. '{
>>> type primary;
>>> file "/var/run/dhcp/db.redfish-solutions.com";
>>> update-policy {
>>> grant local-ddns zonesub any;
>>> };
>>> };'
>>>
>>> rndc addzone 168.192.in-addr.arpa. '{
>>> type primary;
>>> file "/var/run/dhcp/db.168.192.in-addr.arpa";
>>> update-policy {
>>> grant local-ddns zonesub any;
>>> };
>>> };’
>>>
>>>
>>> and then I do “nsupdate -l -v -4 my-update-file-here”
>>>
>>> But I see 125 instances of “update failed: REFUSED” which incidentally is the number of PTR records.
>>>
>>> Lastly, if I query a local host A record that works. But when I query that address for a PTR record it fails.
>>>
>>> root at OpenWrt:~# dig -t a macmini2.redfish-solutions.com.
>>>
>>> ; <<>> DiG 9.20.15 <<>> -t a macmini2.redfish-solutions.com.
>>> ;; global options: +cmd
>>> ;; Got answer:
>>> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23297
>>> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
>>>
>>> ;; OPT PSEUDOSECTION:
>>> ; EDNS: version: 0, flags:; udp: 1232
>>> ; COOKIE: 39141732f1eb310601000000692dfcb178eb0b0ac919a619 (good)
>>> ;; QUESTION SECTION:
>>> ;macmini2.redfish-solutions.com. IN A
>>>
>>> ;; ANSWER SECTION:
>>> Macmini2.redfish-solutions.com. 3600 IN A 192.168.8.9
>>>
>>> ;; Query time: 0 msec
>>> ;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
>>> ;; WHEN: Mon Dec 01 13:38:09 MST 2025
>>> ;; MSG SIZE rcvd: 112
>>>
>>> root at OpenWrt:~# dig -x 192.168.8.9
>>>
>>> ; <<>> DiG 9.20.15 <<>> -x 192.168.8.9
>>> ;; global options: +cmd
>>> ;; Got answer:
>>> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 10165
>>> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
>>>
>>> ;; OPT PSEUDOSECTION:
>>> ; EDNS: version: 0, flags:; udp: 1232
>>> ; COOKIE: bf0f9ed67f6870c501000000692dfcb8991c9d7aa265fcbe (good)
>>> ;; QUESTION SECTION:
>>> ;9.8.168.192.in-addr.arpa. IN PTR
>>>
>>> ;; AUTHORITY SECTION:
>>> 168.192.IN-ADDR.ARPA. 86400 IN SOA 168.192.IN-ADDR.ARPA. . 0 28800 7200 604800 86400
>>>
>>> ;; Query time: 1 msec
>>> ;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
>>> ;; WHEN: Mon Dec 01 13:38:16 MST 2025
>>> ;; MSG SIZE rcvd: 136
>>>
>>> root at OpenWrt:~#
>>>
>>>
>>> So… why am I authoritative for “redfish-solutions.com <http://redfish-solutions.com/>” but not for “168.192.in-addr.arpa”?
>>>
>>> The top of my dhcpd.conf file looks like:
>>>
>>> authoritative;
>>> ddns-domainname "redfish-solutions.com.";
>>> ddns-update-style standard;
>>> ddns-updates on;
>>> ignore client-updates;
>>>
>>> update-static-leases on;
>>> use-host-decl-names on;
>>> update-conflict-detection off;
>>> update-optimization off;
>>>
>>> include "/var/run/named/session.key";
>>>
>>> zone redfish-solutions.com. {
>>> primary 127.0.0.1;
>>> key local-ddns;
>>> }
>>>
>>> zone 168.192.in-addr.arpa. {
>>> primary 127.0.0.1;
>>> key local-ddns;
>>> }
>>>
>>>
>>> My named.conf file contains:
>>>
>>> options {
>>> …
>>> // This is used e.g. by isc-dhcp
>>> allow-new-zones yes;
>>> …
>>> };
>>>
>>>
>>>
>>> It’s probably something simple but at this point I can’t see the forest for the trees…. Please help me get a patch out the door quickly.
>>>
>>> Thanks
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list.
>>
>> --
>> Mark Andrews, ISC
>> 1 Seymour St., Dundas Valley, NSW 2117, Australia
>> PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
>>
>
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list