mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
5ed91481ab
serve stale feature to keep the DNS resource records beyond TTL to return them as stale records in case of upstream server is not reachable or returns negative response. SD_RESOLVED_NO_STALE flag has been added to disable serving stale records via dbus. added serve stale test cases to TEST-75-RESOLVED Fixes: #21815
24 lines
573 B
Dns
24 lines
573 B
Dns
; SPDX-License-Identifier: LGPL-2.1-or-later
|
|
$TTL 86400
|
|
$ORIGIN unsigned.test.
|
|
|
|
@ IN SOA ns1.unsigned.test. root.unsigned.test. (
|
|
42 ; serial
|
|
3H ; refresh
|
|
15M ; retry
|
|
1W ; expire
|
|
1D ; minimum TTL
|
|
)
|
|
|
|
; NS info
|
|
@ NS ns1
|
|
ns1 A 10.0.0.1
|
|
ns1 AAAA fd00:dead:beef:cafe::1
|
|
|
|
@ MX 15 mail.unsigned.test.
|
|
|
|
A 10.0.0.101
|
|
AAAA fd00:dead:beef:cafe::101
|
|
mail A 10.0.0.111
|
|
stale1 1 A 10.0.0.112
|