bosagora / agora

POC Node implementation for CoinNet
https://bosagora.io
MIT License
37 stars 23 forks source link

Public resolvers doesn't support URI records #3249

Closed mkykadir closed 2 years ago

mkykadir commented 2 years ago

An Agora node prefers public resolvers (i.e. Cloudflare, Google DNS) to resolve validator names and we also rely on URI records for some configurations. Public resolvers does not support URI record type.

For example, Google DNS doesn't provide an URI record option.

An URI record is returned only when Authoritative NS is used

mkykadir commented 2 years ago

Actually tested this again and they support URI records but also require service and protocol labels to be there as spec requires it. Currently our authoritative servers answer URI record without service and protocol label, which should be fixed, check #3104 .

Our authoritative servers answer for following queries;

<pubkey>.validators.testnet.bosagora.io. -t URI
// and
_agora._tcp.<pubkey>.validators.testnet.bosagora.io. -t URI

public resolvers will only answer for second query.