X-Git-Url: https://git.distorted.org.uk/~mdw/zone/blobdiff_plain/74962377fb06e415d2abe35833aa89c04090bde9..4ea82aba4c47b65d346a71a8d32564ca842ad5ba:/zone.lisp diff --git a/zone.lisp b/zone.lisp index 1324f70..633e0d4 100644 --- a/zone.lisp +++ b/zone.lisp @@ -439,7 +439,7 @@ (ttl min-ttl) (serial (make-zone-serial zname))) (listify head) - (values zname + (values (string-downcase zname) (timespec-seconds ttl) (make-soa :admin admin :source (zone-parse-host source zname) @@ -632,8 +632,8 @@ (rec :data (zone-parse-host data zname))) (defzoneparse :txt (name data rec) - ":txt TEXT" - (rec :data data)) + ":txt (TEXT*)" + (rec :data (listify data))) (export '*dkim-pathname-defaults*) (defvar *dkim-pathname-defaults* @@ -1003,7 +1003,7 @@ $TTL ~2@*~D~2%" (cons "~2D ~2D ~A" data)) (:method ((type (eql :txt)) data) (cons "~#[\"\"~;~S~:;(~@{~%~8T~S~} )~]" - (mapcar #'stringify (listify data))))) + (mapcar #'stringify data)))) (defmethod bind-record (type zr) (destructuring-bind (format &rest args)