hostm

1.0.1-rc.1 • Public • Published

hostm Logo

Look at these badges

License Contributors Node Issues Pull requests Last commit Top language Size Maintenance Report Color Important Sketchy Useless Following the Open Source community standard Funny


CLI application with collections of subjectively useful dns and hosts tools. Uses DNS over HTTPS. This tool can to update your hosts file and resolving a domain with your chosen public DoH service. The creator of this tool is very concerned about privacy and security.

Scalable. Blazing fast. Not using AI, ML or blockchain.

Check out hostm on npmjs.

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

  1. help
    • there should be one
  2. resolve <domain name> <doh-server> (WIP)
  3. domain-update
    • updates all of the IPs on your hosts. NO TESTS. DON'T RUN THIS COMMAND YET.
  4. unblock <domain name> <doh-server> (WIP)

Usage

  1. Install node
  2. git clone https://github.com/kemalelmizan/hostm
  3. npm install
  4. node index.js <command> <argument-1> <argument-2> ... <argument-n>
    • example: node index.js resolve kemal.elmizan.com

Public DoH Servers

List of public DNS over HTTPS services. 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.

  1. Google
  2. Cloudflare. Apparently it's the fastest.

Dependencies

  1. Axios
  2. Hostile

Todos

Feel free to contribute.

  1. resolve command
  2. second argument of resolve to choose DoH service
  3. refactor domain-update, handle edge-cases and rejected promises
  4. add tests
  5. 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

Package Sidebar

Install

npm i hostm

Weekly Downloads

0

Version

1.0.1-rc.1

License

MIT

Unpacked Size

29.4 kB

Total Files

9

Last publish

Collaborators

  • kemalelmizan