0.2.4 • Published 1 year ago
better-hosts v0.2.4
better-hosts
Dead simple DNS server using syntax similar to hosts file.
Motivations
hosts works well, until:
1. you need wildcard-based rules like 127.0.0.1 *.local-service.
2. you need ban rules like -example.com.
3. you need to share records in the hosts file to other devices.
4. you don't want to have to request administrator or root privileges every time you edit it.
better-hosts solves these problems by creating a DNS server that uses the hosts file.
Install
npm install --global better-hosts
# or
yarn global add better-hostsUsage
Usage: better-hosts [options] <filename>
Options:
-V, --version output the version number
--fallback-server <server>
--timeout <seconds> (default: "30")
--port <port> (default: "53")
--log <level> (default: "info")
-h, --help display help for commandExample:
better-hosts hosts.txt \
--fallback-server=1.1.1.1:530.2.4
1 year ago
0.2.3
1 year ago
0.2.2
1 year ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.21
3 years ago
0.1.20
4 years ago
0.1.10
4 years ago
0.1.11
4 years ago
0.1.12
4 years ago
0.1.13
4 years ago
0.1.14
4 years ago
0.1.15
4 years ago
0.1.16
4 years ago
0.1.8
4 years ago
0.1.17
4 years ago
0.1.7
4 years ago
0.1.18
4 years ago
0.1.19
4 years ago
0.1.9
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.0
4 years ago