Heavily inspired by SinoDNS and ChinaDNS.
npm install -g lucky-dns
Just execute ldns
in command line after installation, see below or ldns --help
for more details.
USAGE
ldns [address=127.0.0.1] [port=53] [...options]
PARAMETERS
address - Address to bind
port - Port to listen
OPTIONS
-i, --internal <internal> - Internal (China) DNS server
-e, --external <external> - External DNS server
-r, --internal-routes <internalRoutes> - Internal (China) routes file
SUBCOMMANDS
install - Install Lucky DNS as Windows Service
uninstall - Uninstall Lucky DNS Windows Service
npm run build
MIT License.