aboutsummaryrefslogtreecommitdiff
path: root/lib/dns/server_example_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-11-14 13:16:39 +0700
committerShulhan <ms@kilabit.info>2021-11-14 16:42:57 +0700
commit207a7fa24fe58619628e98a9298a3f877ed16146 (patch)
tree69677b13af80967af6efce0c728e3e52a6f21532 /lib/dns/server_example_test.go
parent0520e7df91272447fdf0dd1be4b61fe75dea88fa (diff)
downloadpakakeh.go-207a7fa24fe58619628e98a9298a3f877ed16146.tar.xz
lib/dns: add init method to RDataSOA
The ini method initialize the SOA record by setting fields to its default value if its empty. The default value for RName is "root", for Serial is current epoch, for Refresh is 1 day, for Retry is 1 hour, and for Minimum is 1 hour. While at it, update the comments to be more understandable and represent the type or fields.
Diffstat (limited to 'lib/dns/server_example_test.go')
0 files changed, 0 insertions, 0 deletions