]> git.ipfire.org Git - thirdparty/bind9.git/commit
add new functions to classify rdata types
authorEvan Hunt <each@isc.org>
Tue, 4 Mar 2025 23:51:49 +0000 (15:51 -0800)
committerEvan Hunt <each@isc.org>
Sat, 15 Mar 2025 00:27:54 +0000 (00:27 +0000)
commit1c51d44d82e9ddd1aa6effcba6b39ee97e3ca044
tree0c7647e3fb79a697e20317505a02340404ac32a6
parent3b0b658a5201b61b08852ea59d2de4df70c20db5
add new functions to classify rdata types

- dns_rdatatype_ismulti() returns true if a given type can have
  multiple answers: ANY, RRSIG, or SIG.
- dns_rdatatype_issig() returns true for a signature: RRSIG or SIG.
- dns_rdatatype_isaddr() returns true for an address: A or AAAA.
- dns_rdatatype_isalias() returns true for an alias: CNAME or DNAME.
lib/dns/include/dns/rdata.h
lib/dns/rdata.c