]> git.ipfire.org Git - thirdparty/bind9.git/commit
Don't call dns_zone_setadded() on modify
authorMatthijs Mekking <matthijs@isc.org>
Fri, 13 Mar 2026 10:56:31 +0000 (11:56 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 17 Mar 2026 09:51:18 +0000 (09:51 +0000)
commit7e30d16e9345026227a0d29af3cefc7d0e082de1
treee0ffe13ab3e15dd23424089b9787ac64bdbc7233
parent4a6509582320916b4d3e538dbdbabfba9f98acbb
Don't call dns_zone_setadded() on modify

If we are modifiying the zone, the zone must have been added before.
Don't overwrite this value on modifications.

Also it feels cleaner to pass added=false to configure_zone() in
do_modzone().

(cherry picked from commit 780872e07eaa735c215765da570d2f1f78bfade7)
bin/named/server.c