feat(lisp/dns): Support CNAME & NS record RDATAs

This commit is contained in:
Vincent Ambo 2020-01-27 00:47:45 +00:00
parent a8c9058a58
commit 90dd824606
2 changed files with 65 additions and 379 deletions

View file

@ -74,3 +74,11 @@
(defun lookup-mx (name &key (doh-url *doh-base-url*))
"Look up the MX records at NAME."
(lookup-generic name "MX" doh-url))
(defun lookup-cname (name &key (doh-url *doh-base-url*))
"Look up the CNAME records at NAME."
(lookup-generic name "CNAME" doh-url))
(defun lookup-ns (name &key (doh-url *doh-base-url*))
"Look up the NS records at NAME."
(lookup-generic name "NS" doh-url))