Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base node needs 1.1.1.1 to resolve DNS for seednodes if there is no configured seednodes in config #6598

Open
leet4tari opened this issue Oct 3, 2024 · 1 comment

Comments

@leet4tari
Copy link
Contributor

Describe the bug
In some places, IP 1.1.1.1 can or has been blocked, breaking the start up of the base node, if there are no seednodes setup in the config file.

To Reproduce
Block IP traffic to 1.1.1.1 and start up a fresh run of base node without any seednodes in the config file.

Expected behavior
Having a trusted list of failover resolvers before using local or configured resolver would be better.

Also the name_server does not take a plain IP or port address, this needs more info and possible a list of possible trusted records.

[auto_update]
# Name server for auto update (default = "1.1.1.1:53/cloudflare.net")
#name_server = "1.1.1.1:53/cloudflare.net"

# Customize the hosts that are used to check for updates. These hosts must contain update information in DNS TXT
# records. (default = [])
#update_uris = []

#use_dnssec = false

I found this in an older config, but it does not seem to be in the current config.

[peer_seeds]
# DNS seeds hosts - DNS TXT records are queried from these hosts and the resulting peers added to the comms peer list.
#dns_seeds = []
# Custom specified peer seed nodes
#peer_seeds = []
# DNS name server to use for DNS seeds
#dns_seeds_name_server = "1.1.1.1:853/cloudflare-dns.com"
#dns_seeds_name_server = "192.168.0.2:53/leet.lan"
# All DNS seed records must pass DNSSEC validation
#dns_seeds_use_dnssec = false
@leet4tari
Copy link
Contributor Author

Some what related to #6388 and upgrading from trust-dns and upgrading to newer and more supported hickory-dns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant