diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-11 20:05:29 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-11 20:05:29 +0100 |
commit | d0129ddb9fbb07bed7c8ea51b8031f824bf506fb (patch) | |
tree | 9467e4acba84631984450893495e50a9bde15720 /src/resolve/dns-type.h | |
parent | 274b874830b93e6592f190608866133384066a35 (diff) |
resolved: refuse doing queries for known-obsolete RR types
Given how fragile DNS servers are with some DNS types, and given that we really should avoid confusing them with
known-weird lookups, refuse doing lookups for known-obsolete RR types.
Diffstat (limited to 'src/resolve/dns-type.h')
-rw-r--r-- | src/resolve/dns-type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/dns-type.h b/src/resolve/dns-type.h index 6b3516a76b..45080fd243 100644 --- a/src/resolve/dns-type.h +++ b/src/resolve/dns-type.h @@ -130,6 +130,7 @@ bool dns_type_is_valid_query(uint16_t type); bool dns_type_is_valid_rr(uint16_t type); bool dns_type_may_redirect(uint16_t type); bool dns_type_is_dnssec(uint16_t type); +bool dns_type_is_obsolete(uint16_t type); bool dns_class_is_pseudo(uint16_t class); bool dns_class_is_valid_rr(uint16_t class); |