diff options
| author | Shulhan <ms@kilabit.info> | 2023-08-05 21:37:06 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-08-05 21:37:06 +0700 |
| commit | 0a18ddc79e31a05ee4e1bfa8f628769c98fcaf19 (patch) | |
| tree | b538d96a1c7ce4c5c18bcde1cb1966575c10ce9e /lib/dns/testdata | |
| parent | 34d09fcaa210ddd9d8bf8d1754151faeebf4e485 (diff) | |
| download | pakakeh.go-0a18ddc79e31a05ee4e1bfa8f628769c98fcaf19.tar.xz | |
lib/dns: update the SOA Serial when record added or removed from Zone
Any call to Zone Add or Remove methods will update the Zone.SOA.Serial to
current epoch.
Diffstat (limited to 'lib/dns/testdata')
| -rw-r--r-- | lib/dns/testdata/zone_soa_test.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dns/testdata/zone_soa_test.txt b/lib/dns/testdata/zone_soa_test.txt index 355ac40f..7cba98c5 100644 --- a/lib/dns/testdata/zone_soa_test.txt +++ b/lib/dns/testdata/zone_soa_test.txt @@ -4,8 +4,8 @@ $ORIGIN test.soa <<< Add_SOA $ORIGIN test.soa -@ SOA new.soa admin 1691222000 86400 3600 0 3600 +@ SOA new.soa admin 1691222001 86400 3600 0 3600 <<< Remove_SOA $ORIGIN test.soa -@ SOA test.soa root 1691222000 86400 3600 0 3600 +@ SOA test.soa root 1691222001 86400 3600 0 3600 |
