Package Exports
- hostm
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hostm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Look at these badges
hostm: a swiss army of subjectively useful dns and hosts tool. Uses DNS over HTTPS. Updates host, unblock from custom resolver. Scalable. Blazing fast.
If you're looking for other good DoH tools, check out this section of cURL Github Wiki.
Or maybe you'll be also interested in DNSCrypt.
Commands
help- there should be one
resolve <domain name> <dns-service>(WIP)- resolve the IP of a domain name. By default it uses Google's public DNS over https. You can also choose other DNS over https services.
- second argument still WIP. Try first argument.
domain-update- updates all of the IPs on your hosts. NO TESTS. DON'T RUN THIS COMMAND YET.
unblock <domain name> <dns-service>(WIP)
Usage
- Install node
npm i hostmorgit clone https://github.com/kemalelmizan/hostmnpm installnode index.js <command> <argument-1> <argument-2> ... <argument-n>- example:
node index.js resolve kemal.elmizan.com
- example:
DNS Services
List of DNS over HTTPS service. There are some at cURL Github Wiki, but some of them are still WIP. Contribute if you know more free services that can be added.
- Cloudflare. Apparently it's the fastest.
Dependencies
Todos
Feel free to contribute.
- resolve command
- second argument of resolve to choose DoH service
- refactor
domain-update, handle edge-cases and rejected promises - add tests
- unblock command
Contributing
Please read contributing guidelines and code of conduct. If you want to create a new issue, please follow the issue template. If you want to create a pull request, please follow the pull request template.
License
The MIT License