]> git.ipfire.org Git - thirdparty/bind9.git/commit
Allow any valid DNS name as a key name
authorOndřej Surý <ondrej@isc.org>
Fri, 15 May 2026 08:08:46 +0000 (10:08 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 15 May 2026 08:14:46 +0000 (10:14 +0200)
commit85f854b076a08fa69fed78f56de1aa92ea8f1356
tree8d781d79a11744068e3d972fca9f6c3e51614e8f
parentc708d694feba58e6a14e31c449e4f112fa632419
Allow any valid DNS name as a key name

TSIG key names need to be any valid DNS name so that update-policy
"self" rules work with arbitrary names.  Replace the
alnum+'.'+'-'+'_' charset filter in the key-generation tools with a
dns_name_fromstring() validity check.
bin/confgen/keygen.c