Features: Dns
The node can run in DNS (nameserver) mode, which makes it respond to domain name resolutions and return the IPs of all outgoing (public available) IP addresses.
That's a way to ensure that anyone who runs public nodes, can become visible for participants (clients) in the network without manually editing seed lists.
Below is a sample docker-compose.yml
you can run to host your DNS nameserver for dynamic IP lists:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
You need the following entries on your domain:
Type: NS
Domain: seed.my-chain.org
Name: dns.seed.my-chain.org
Type: A
Domain: dns.seed.my-chain.org
IP: 200.100.100.100
You might also potentially need to do the following instructions as well:
Open port 53 on Linux
When setting up a DNS server on linux its required to open port 53 see this guid to open that port or follow the steps bellow https://www.linuxuprising.com/2020/07/ubuntu-how-to-free-up-port-53-used-by.html
Open this file:
1 |
|
Set this params:
1 2 |
|
Save the file.
Create a link:
1 |
|
Reboot the machine