mirror of
https://github.com/coredns/coredns.git
synced 2026-10-25 11:45:43 -04:00
plugin/k8s_external: correct the SOA example in the docs (#8666)
The README and man page introduce the apex with "By default the apex of the zone will look like the following", but the SOA fields shown do not match what soa() actually emits. plugin/k8s_external/apex.go sets Refresh 7200, Retry 1800, Expire 86400 and Minttl e.ttl (default 5 seconds), while the example listed 14400/3600/604800 and annotated the minimum value of 5 as "4 hours". Align the example with the emitted values and fix the minimum's unit. Signed-off-by: Vincent <1729065730@qq.com>
This commit is contained in:
@@ -17,10 +17,10 @@ By default the apex of the zone will look like the following (assuming the zone
|
||||
~~~ dns
|
||||
example.org. 5 IN SOA ns1.dns.example.org. hostmaster.example.org. (
|
||||
12345 ; serial
|
||||
14400 ; refresh (4 hours)
|
||||
3600 ; retry (1 hour)
|
||||
604800 ; expire (1 week)
|
||||
5 ; minimum (4 hours)
|
||||
7200 ; refresh (2 hours)
|
||||
1800 ; retry (30 minutes)
|
||||
86400 ; expire (1 day)
|
||||
5 ; minimum (5 seconds)
|
||||
)
|
||||
example.org 5 IN NS ns1.dns.example.org.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user