dns-local-ip
v1.0.0
Published
A DNS server which always answers my IP in local network.
Downloads
2
Readme
dns-local-ip
A DNS server which always answers my IP in local network.
Usage
dns-local-ip <port> [--debug]
Example
Start a server:
# start a server
$ dns-local-ip 6000
# start a server with debug flag
$ dns-local-ip 6000 --debug
Request a DNS record:
$ dig @127.0.0.1 -p 6000 www.example.com
# no matter which domain you query, the server will always answer
# the IP in local network.