1.0.0 • Published 2 years ago

dns-local-ip v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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.

License

Apache License 2.0

1.0.0

2 years ago