Files
coredns/plugin
stuart nelson 8dbe1fbee2 Set SOA record TTL as min of TTL/MINIMUM (#2295)
* Set SOA record TTL as min of TTL/MINIMUM

According to
https://tools.ietf.org/html/rfc2308#section-3:

  The TTL of this record is set from the minimum
  of the MINIMUM field of the SOA record and the
  TTL of the SOA itself, and indicates how long a
  resolver may cache the negative answer.

Set the TTL accordingly so as to not always
negative cache SOA records for 300 seconds.

* Inline min func

* Update SOA record tests

* Fix types
2018-11-16 08:42:49 -05:00
..
2018-11-13 16:46:48 -05:00
2018-10-18 21:42:53 +00:00
2018-07-19 16:23:06 +01:00
2018-11-01 19:37:13 +00:00
2018-07-19 16:23:06 +01:00
2018-07-19 16:23:06 +01:00
2018-11-13 16:46:48 -05:00
2018-09-19 08:16:04 +01:00
2018-11-09 20:32:43 +00:00
2018-08-14 08:55:55 -07:00
2018-07-19 16:23:06 +01:00
2018-11-15 22:18:49 +00:00
2018-07-19 16:23:06 +01:00
2018-08-14 08:55:55 -07:00
2018-08-14 08:55:55 -07:00
2018-07-28 10:32:13 +01:00
2018-07-19 16:23:06 +01:00
2018-07-20 19:45:17 +01:00
2018-07-19 16:23:06 +01:00
2017-10-24 10:16:03 +01:00
2018-09-19 08:16:04 +01:00
2018-11-05 05:59:24 -08:00