Expand description
Private address checks for attachment downloads and webhook hosts.
address-registry.txt is a snapshot of the IANA IPv4 and IPv6 registries:
https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml
Both <updated> values were 2025-10-09 when checked on 2026-09-25.
Refresh the snapshot when either <updated> value changes. A longer entry
overrides its parent entry.
Constants§
- NAT64_
DISCOVERY_ NAME - RFC 7050 §2.2: a DNS64 synthesizes this name’s AAAA under its NAT64 prefix.
Functions§
- discover_
nat64 - The prefixes in a
NAT64_DISCOVERY_NAMEanswer. No lookup, a failed one, or one slower than 5 seconds adds no prefix. - is_
private - Return true for an address that must not be reached by a default client.
- is_
private_ behind is_private, or under a discovered NAT64 prefix with a private IPv4 address.