0.2.4 • Published 6 months 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-hosts
Usage
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 command
Example:
better-hosts hosts.txt \
--fallback-server=1.1.1.1:53
0.2.4
6 months ago
0.2.3
6 months ago
0.2.2
6 months ago
0.2.1
1 year ago
0.2.0
1 year ago
0.1.21
2 years ago
0.1.20
3 years ago
0.1.10
3 years ago
0.1.11
3 years ago
0.1.12
3 years ago
0.1.13
3 years ago
0.1.14
3 years ago
0.1.15
3 years ago
0.1.16
3 years ago
0.1.8
3 years ago
0.1.17
3 years ago
0.1.7
3 years ago
0.1.18
3 years ago
0.1.19
3 years ago
0.1.9
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.0
3 years ago