This project is a multi-cryptocurrency DNS server for cryptocurrency's core wallets compatible with the DECENOMY Standard Wallet (DSW).
For each configured DSW wallet, the service will call the corresponding -cli
executable to fetch its peers and current masternode list at each minute, building a list with these fetched peers.
The service then serves those IP addresses on port 53 in a random way using the DNS protocol.
Project is created with:
- .NET 5.0 (net core)
To develop on this project, install the .NET 5.0 SDK:
With the SDK installed execute this command to test it or debug it:
$ sudo dotnet run
The sudo
command is needed to allow the binding of port 53
To release the binaries for production compile and pack it with this command:
$ dotnet publish /p:PublishProfile=Linux_x64
For Windows or other architectures you need to specify the correct RID like described here:
Publish .NET apps with the .NET CLI
.NET RID Catalog
example for: (Linux distributions running on ARM like Raspbian on Raspberry Pi Model 2+)
$ dotnet publish -c Release - r linux-arm
or for (Linux distributions running on 64-bit ARM like Ubuntu Server 64-bit on Raspberry Pi Model 3+)
$ dotnet publish -c Release - r linux-arm64
The CryptoDNS project is part of DECENOMY.
Distributed under the MIT License. See LICENSE
for more information.