summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-zone.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-30 19:34:50 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-30 19:34:50 +0200
commit57f5ad3149b604d07816da61e6aa7dcf1cc56b64 (patch)
tree5fbc41a68e175c84569203ef64fdcb1b730d6710 /src/resolve/resolved-dns-zone.h
parentfcf57f9cf706ff5be2b5e6d41b2ac48e3e98467b (diff)
downloadsystemd-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.h3
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)