Tool for resolving domain names with web interface and API. Meshname/meship supported.
acetone 8dce1a7e06 readme update | 3 lat temu | |
---|---|---|
cppcodec | 3 lat temu | |
html | 3 lat temu | |
.gitignore | 3 lat temu | |
HTTPheaders.h | 3 lat temu | |
LICENSE | 3 lat temu | |
README.md | 3 lat temu | |
funcs.cpp | 3 lat temu | |
funcs.h | 3 lat temu | |
main.cpp | 3 lat temu | |
mario-dns-tool.pro | 3 lat temu | |
resolver.cpp | 3 lat temu | |
resolver.h | 3 lat temu | |
version.h | 3 lat temu |
Tool for resolving domain names with web interface and API. Meshname / meship supported.
C++, Qt5
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.
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).