scitra - resolves SCION TXT records to SCION-mapped IPv6 addresses
This CoreDNS plugin is a companion to [SCION-IP Address Translators][1] that returns special AAAA addresses (SCION-mapped IP addresses) for host that announce SCION support in a TXT record.
TXT records recognized by this plugin must have the form "scion=," where is a SCION AS and is an IPv4 or IPv6 address.
[1] https://github.com/netsys-lab/scion-ip-translator
scitra [prefix PREFIX]
prefix
PREFIX is an 8 bit long IPv6 prefix in CIDR notation that is used by translators to identify SCION-mapped IPv6 addresses. The default prefix isfc00::/8
.
Add the following to plugin.cfg
and recompile CoreDNS:
# add this line right before cache:cache
scitra:github.com/netsys-lab/coredns-scitra
Forward queries to another DNS server and rewrite SCION addresses.
. {
forward . 1.1.1.1
scitra
cache
}