diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-30 19:34:50 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-30 19:34:50 +0200 |
commit | 57f5ad3149b604d07816da61e6aa7dcf1cc56b64 (patch) | |
tree | 5fbc41a68e175c84569203ef64fdcb1b730d6710 /src/resolve/resolved-dns-zone.h | |
parent | fcf57f9cf706ff5be2b5e6d41b2ac48e3e98467b (diff) | |
download | systemd-57f5ad3149b604d07816da61e6aa7dcf1cc56b64.tar.gz |
resolved: properly set TTL in SOA records
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) |