diff options
Diffstat (limited to 'src/resolve/resolved-dns-zone.h')
-rw-r--r-- | src/resolve/resolved-dns-zone.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-zone.h b/src/resolve/resolved-dns-zone.h index 5e7a1f72d0..b2af028cfc 100644 --- a/src/resolve/resolved-dns-zone.h +++ b/src/resolve/resolved-dns-zone.h @@ -38,3 +38,6 @@ int dns_zone_put(DnsZone *z, DnsResourceRecord *rr); void dns_zone_remove_rr(DnsZone *z, DnsResourceRecord *rr); int dns_zone_lookup(DnsZone *z, DnsQuestion *q, DnsAnswer **answer, DnsAnswer **soa); + +/* RFC 4795 Section 2.8. suggests a TTL of 30s by default */ +#define LLMNR_DEFAULT_TTL (30) |