mirror of
https://github.com/vacp2p/specs.git
synced 2026-01-10 07:47:59 -05:00
Update tls/autotls-client.md
Co-authored-by: Marcin Rataj <lidel@lidel.org>
This commit is contained in:
@@ -168,6 +168,7 @@ while "broker" and "AutoTLS broker", which are used interchangeably, refer to th
|
||||
|
||||
**Note:** Here, `dashed-public-ip-address` is the public IPv4 address on in which the node received the confirmation dial from the broker.
|
||||
For example, if the node has two public IPv4 addresses `1.1.1.1` and `8.8.8.8`, and the broker dialed it through `1.1.1.1`, then the node SHOULD query the `A 1-1-1-1.{b36peerid}.libp2p.direct`.
|
||||
For IPv6: Replace colons with dashes, handle leading/trailing colons as zeros (`2001:db8::1` → `2001-db8--1`, `2001:db8::` → `2001-db8--0`), and query `AAAA 2001-db8--1.{b36peerid}.libp2p.direct`.
|
||||
|
||||
**Note:** The node SHOULD NOT send more than `max_dns_retries` DNS requests.
|
||||
After `max_dns_timeout`, the communication is considered failed.
|
||||
|
||||
Reference in New Issue
Block a user