diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-30 16:30:25 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-30 16:47:21 +0200 |
commit | 8bf52d3d17d364438191077d0750b8b80b5dc53a (patch) | |
tree | 65fdbe0ce790585840ed2f96febafbb9ead8d41b /src/resolve/resolved-dns-rr.h | |
parent | ab0cf8f8ff819c386d53b9ca29e9ac2d6b6e8f0f (diff) |
resolved: include SOA records in LLMNR replies for non-existing RRs to allow negative caching
Diffstat (limited to 'src/resolve/resolved-dns-rr.h')
-rw-r--r-- | src/resolve/resolved-dns-rr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-rr.h b/src/resolve/resolved-dns-rr.h index a9d14fc22f..50bb74c67b 100644 --- a/src/resolve/resolved-dns-rr.h +++ b/src/resolve/resolved-dns-rr.h @@ -140,6 +140,7 @@ int dns_resource_key_compare_func(const void *a, const void *b); DEFINE_TRIVIAL_CLEANUP_FUNC(DnsResourceKey*, dns_resource_key_unref); DnsResourceRecord* dns_resource_record_new(DnsResourceKey *key); +DnsResourceRecord* dns_resource_record_new_full(uint16_t class, uint16_t type, const char *name); DnsResourceRecord* dns_resource_record_ref(DnsResourceRecord *rr); DnsResourceRecord* dns_resource_record_unref(DnsResourceRecord *rr); int dns_resource_record_new_reverse(DnsResourceRecord **ret, int family, const union in_addr_union *address, const char *name); |