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

acetone 2d7c1e1a26 Attempt to fix #3 hai 10 meses
cppcodec bf602d6554 0.0.1 %!s(int64=3) %!d(string=hai) anos
html bf602d6554 0.0.1 %!s(int64=3) %!d(string=hai) anos
.gitignore da02423978 Initial commit %!s(int64=3) %!d(string=hai) anos
HTTPheaders.h beeb14fe55 1.0.0: REST API, refactoring %!s(int64=2) %!d(string=hai) anos
LICENSE da02423978 Initial commit %!s(int64=3) %!d(string=hai) anos
README.md 01d4fe63d4 example link hai 1 ano
funcs.cpp 51cfa9de32 Customize options and web page bit fix %!s(int64=3) %!d(string=hai) anos
funcs.h 51cfa9de32 Customize options and web page bit fix %!s(int64=3) %!d(string=hai) anos
jsonanswer.cpp beeb14fe55 1.0.0: REST API, refactoring %!s(int64=2) %!d(string=hai) anos
jsonanswer.h beeb14fe55 1.0.0: REST API, refactoring %!s(int64=2) %!d(string=hai) anos
main.cpp beeb14fe55 1.0.0: REST API, refactoring %!s(int64=2) %!d(string=hai) anos
mario-dns-tool.pro beeb14fe55 1.0.0: REST API, refactoring %!s(int64=2) %!d(string=hai) anos
resolver.cpp 2d7c1e1a26 Attempt to fix #3 hai 10 meses
resolver.h beeb14fe55 1.0.0: REST API, refactoring %!s(int64=2) %!d(string=hai) anos
version.h beeb14fe55 1.0.0: REST API, refactoring %!s(int64=2) %!d(string=hai) anos

README.md

Mario DNS tool

Download Mario DNS tool

Example instance: dns.acetone.i2p.

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 simple API. Mario DNS provides API with output in JSON format:

# Request:
/api/toConverting=dns.acetone.ygg

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

You can use version request for version information.

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 HTML 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 (-14KB).