feat(defzone): Add plist argument format for SOA records

These records have so many fields that it's difficult to track what's
what in a long list. For convenience they're now specified in plist
format (see the example).

There isn't really a point to this because the SOA record is the one I
care the *least* about practically as Cloud DNS sets it for me, but
whatever.
This commit is contained in:
Vincent Ambo 2019-12-22 03:07:59 +00:00
parent 8c86b9b5f6
commit 5cc37a15a5
2 changed files with 45 additions and 27 deletions

View file

@ -1,8 +1,14 @@
;;; example.el - usage example for defzone macro
(defzone "tazj.in."
(SOA 21600 "ns-cloud-a1.googledomains.com." "cloud-dns-hostmaster.google.com."
123 21600 3600 1209600 300)
(SOA 21600
:mname "ns-cloud-a1.googledomains.com."
:rname "cloud-dns-hostmaster.google.com."
:serial 123
:refresh 21600
:retry 3600
:expire 1209600
:minimum 300)
(NS 21600
"ns-cloud-a1.googledomains.com."