Tool for resolving domain names with web interface and API. Meshname/meship supported.

acetone f265051c3a shitty typo před 3 roky
cppcodec bf602d6554 0.0.1 před 3 roky
html bf602d6554 0.0.1 před 3 roky
.gitignore da02423978 Initial commit před 3 roky
HTTPheaders.h 51cfa9de32 Customize options and web page bit fix před 3 roky
LICENSE da02423978 Initial commit před 3 roky
README.md 8dce1a7e06 readme update před 3 roky
funcs.cpp 51cfa9de32 Customize options and web page bit fix před 3 roky
funcs.h 51cfa9de32 Customize options and web page bit fix před 3 roky
main.cpp 51cfa9de32 Customize options and web page bit fix před 3 roky
mario-dns-tool.pro f558c0f0ff HEAD and POST request processing před 3 roky
resolver.cpp f265051c3a shitty typo před 3 roky
resolver.h 1eb69354e9 code optimization / 0.1.1 před 3 roky
version.h 1eb69354e9 code optimization / 0.1.1 před 3 roky

README.md

Mario DNS tool

Download Mario DNS tool

Tool for resolving domain names with web interface and API. Meshname / meship supported.

C++, Qt5

For what?

The main use of the tool is to translate IPv6 addresses to meship domains for use in services without IPv6 support. Meship (and meshname) domains are resolved by meshnamed.

Also, the tool can be used as a supplement to projects that need to resolve domain names to addresses with some API. Mario DNS provides API with output in JSON format:

# Request:
dns.acetone.ygg

# Answer:
{
    "status": true,
    "answer": [
        "324:71e:281a:9ed3::53"
    ]
}

You can use version request for version information.

To use the API, send a domain or address to a socket without additional headers.

How to start

Pass address and port to bind via parameters:

./mario-dns 192.168.0.1 5000

Several options are supported, which must be specified after the port:

  • --no-api disable API access (only HTTP mode for web browser);
  • --no-http disable HTTP access (only API mode);
  • --no-resolve disable DNS resolving (only meship domains);
  • --no-favicon disable web page favicon (-135KB for faster loading).