+ explanation
This commit is contained in:
parent
ad0c1c9fcd
commit
e10f527885
1 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,12 @@
|
||||||
# Nico Schottelius, 2020-01-07
|
# Nico Schottelius, 2020-01-07
|
||||||
# Detect the DNS64 prefix
|
# Detect the DNS64 prefix
|
||||||
# Based on https://tools.ietf.org/html/draft-ietf-behave-nat64-discovery-heuristic-05
|
# Based on https://tools.ietf.org/html/draft-ietf-behave-nat64-discovery-heuristic-05
|
||||||
|
#
|
||||||
|
# How it works:
|
||||||
|
# - ipv4only.arpa only has A records.
|
||||||
|
# - a DNS64 server will add AAAA records
|
||||||
|
# - we take this response (if any) and derive the IPv6 prefix from it
|
||||||
|
#
|
||||||
|
|
||||||
import dns.resolver
|
import dns.resolver
|
||||||
import ipaddress
|
import ipaddress
|
||||||
|
|
Loading…
Reference in a new issue