Expand description
Provides helper functions to convert net addresses to resource records
Functionsยง
- hashmap_
to_ txt - Converts the hashmap to a TXT Record
- ip_
addr_ to_ resource_ record - Convert the addr to an A (IpV4) or AAAA (IpV6) record
- port_
to_ srv_ record - Convert the port to an SRV record. The provided name will be used as resource name and target
- socket_
addr_ to_ srv_ and_ address - Convert the socket address to a SRV and an A (IpV4) or AAAA (IpV6) record, the return will be a tuple where the SRV is the first item