Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Shinmera/dns-client
A pure-lisp DNS record client
https://github.com/Shinmera/dns-client
Last synced: 3 months ago
JSON representation
A pure-lisp DNS record client
- Host: GitHub
- URL: https://github.com/Shinmera/dns-client
- Owner: Shinmera
- License: zlib
- Created: 2020-04-22T20:25:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-21T17:58:09.000Z (4 months ago)
- Last Synced: 2024-08-21T20:12:26.991Z (4 months ago)
- Language: Common Lisp
- Homepage: https://shinmera.github.io/dns-client
- Size: 54.7 KB
- Stars: 15
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.mess
- License: LICENSE
Awesome Lists containing this project
- trackawesomelist - dns-client (⭐15) - DNS record client. See [documentation](https://shinmera.github.io/dns-client/). [zlib](https://directory.fsf.org/wiki/License:Zlib). (Recently Updated / [Sep 03, 2024](/content/2024/09/03/README.md))
README
## About dns-client
This is a pure-lisp implementation of a DNS client. You can use this to resolve hostnames, reverse-lookup IP addresses, and fetch other kinds of DNS records.## How To
The primary interface is ``query``, with shorthands for the most common operations in ``resolve`` and ``hostname``.:: common lisp
(org.shirakumo.dns-client:query "google.com" :type :MX)
;; => ... "alt3.aspmx.l.google.com"(org.shirakumo.dns-client:resolve "aspmx.l.google.com")
;; => "173.194.76.26"(org.shirakumo.dns-client:hostname "173.194.76.26")
;; => "ws-in-f26.1e100.net"(org.shirakumo.dns-client:resolve "ws-in-f26.1e100.net")
;; => "173.194.76.26"
::Some common record types are translated into more readable structures automatically. Unsupported ones will have their data available octets. If you find you need support for a record that's not implemented yet, please "contribute a patch"(https://github.com/shinmera/dns-client/pull/new).