Closed tsachiherman closed 3 years ago
Can't it be config file migration issue? Like if the config file does not have version, it is assumed to be version zero and the migration happens. Since DNSSecurityFlags
has default value 1, DNSSecurityFlags=0 is treated as non-existing and migrated to 1.
Can't it be config file migration issue? Like if the config file does not have version, it is assumed to be version zero and the migration happens. Since
DNSSecurityFlags
has default value 1, DNSSecurityFlags=0 is treated as non-existing and migrated to 1.
Sure. But why would it work correctly for the gossip network and incorrectly for the telemetry ?
I tried to recreate the issue on mainnet node by clearing out list of DNSSEC servers. The only way I managed to get an error message (see below) when I set DNSSecurityFlags
to 1. Setting it to 0 works as expected.
{"file":"telemetryURIUpdateService.go","function":"github.com/algorand/go-algorand/tools/network.(*telemetryURIUpdater).lookupTelemetryURL","level":"info","line":90,"msg":"An issue occurred reading telemetry entry for '_telemetry._tls.mainnet.algorand.network': ReadFromBootstrap: Failed to obtain SRV with DNSSEC: no answer for (_telemetry._tls.mainnet.algorand.network., 33) from DNS servers []","time":"2020-12-02T17:21:43.106091-05:00"}
Can you provide config.json and logging.config from the failing instance?
I also checked migration path with DNSSecurityFlags
= 0 and Version
= 0. In this case node.log has messages from both telemetry ("Failed to obtain SRV with DNSSEC") and from wsNetwork ("got no DNS addrs for network"). wsNetwork does not log warning/error on mainnet for this case. Looks like it works as designed.
If you recall, there was an error that was fixed ( related to static code analysis ).. I don't know if this was it or not. I'd like to wait for the next release before attempting to approach them again. On the next release, we're going to have the DNSSEC refactored, and it should be at a state where everything would be working for them. If this won't be the case, I'll attempt to get the above files from them.
It was in test harness, not in prod code. I think I close this now since can't recreate and no new data can be obtained on this point.
Subject of the issue
When configuring DNSSecurityFlags = 0, the algod still trying to use DNSSec for telemetry SRV records retrieval.
Log entries
Local DNS server lookup
Additional Information