]> git.ipfire.org Git - thirdparty/bind9.git/commit
nsupdate does not handle zero length RDATA well
authorMark Andrews <marka@isc.org>
Tue, 31 Mar 2026 01:26:42 +0000 (12:26 +1100)
committerMark Andrews <marka@isc.org>
Wed, 8 Apr 2026 23:24:47 +0000 (09:24 +1000)
commitf45762a5beea8dd07604e49ba225bebe09f9f970
tree0e8fe2955176afa1db499b95bdf03fff87e58961
parentd6239a2c7629bf0c5735cfae2086ffaa26efa1e8
nsupdate does not handle zero length RDATA well

Nsupdate does not distinguish between a non-existing RDATA field
and an empty RDATA field when determining which action is desired
when the RDATA field is empty. This only affects a few data types,
like APL, which allow an empty RDATA field.  Document a workaround
of using the '\# 0' form for entering these specific records. e.g.

    # delete the APL RRset
    update delete IN APL
    # delete the APL record with a zero length rdata
    update delete IN APL \# 0
bin/nsupdate/nsupdate.rst