@lafferty-lounge/simple-dns
v0.3.0
Published
A basic dns server that resolves the public ip address of the dns server for every request
Downloads
6
Readme
simple-dns
This is a VERY BASIC dns server that figures out its own public ip address and just returns that for every request.
Options
ll.simple-dns \
# what port to listen on
--dns-port 53 \
# when to expire dns records in seconds
--ttl 30 \
# how often to query api.ipify.org in ms
--refresh-interval 30000 \
# nameservers that you're acting as
--nameservers ns1.mydomain.org,ns2.mydomain.org \
# the zone that you're managing
--zone somedomain.tld \
# the email to use for the soa
--email [email protected]