Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ORIGIN .
v6.powerdns.org 3600 IN NS lua-ns-v6.powerdns.org.
v6.powerdns.org 3600 IN SOA lua-ns-v6.powerdns.org hostmaster.v6.powerdns.org 1 10800 3600 604800 3600
whoami-ecs.v6.powerdns.org 60 IN LUA TXT "'ip: '..who:toString()..', netmask: '..(ecswho and ecswho:toString() or 'no ECS')"
whoami-port.v6.powerdns.org 60 IN LUA TXT "who:toStringWithPort()"
whoami.v6.powerdns.org 60 IN LUA AAAA "who:toString()"
whoami.v6.powerdns.org 60 IN LUA TXT "who:toString()"
;;;;;;;;;;;;;;
$ORIGIN .
*.closest.v4.powerdns.org 3600 IN LUA A "closestMagic()"
latlon.v4.powerdns.org 60 IN LUA TXT "latlon()"
latlon.v4.powerdns.org 60 IN LUA LOC "latlonloc()"
v4.powerdns.org 3600 IN NS lua-ns-v4.powerdns.org.
v4.powerdns.org 3600 IN SOA lua-ns-v4.powerdns.org hostmaster.v4.powerdns.org 1 10800 3600 604800 3600
whoami-ecs.v4.powerdns.org 60 IN LUA TXT "'ip: '..who:toString()..', netmask: '..(ecswho and ecswho:toString() or 'no ECS') "
whoami-port.v4.powerdns.org 60 IN LUA TXT "who:toStringWithPort()"
whoami.v4.powerdns.org 60 IN LUA A "who:toString()"
whoami.v4.powerdns.org 60 IN LUA TXT "who:toString()"
;;;;;;;;;;;;;;
$ORIGIN .
latlon.lua.powerdns.org 60 IN LUA LOC "latlonloc()"
latlon.lua.powerdns.org 60 IN LUA TXT "latlon()"
lua.powerdns.org 3600 IN NS ns1.lua.powerdns.org.
lua.powerdns.org 3600 IN SOA kolmo.org hostmaster.lua.powerdns.org 1 10800 3600 604800 3600
whoami-ecs.lua.powerdns.org 60 IN LUA TXT "'ip: '..who:toString()..', netmask: '..(ecswho and ecswho:toString() or 'no ECS') "
whoami-port.lua.powerdns.org 60 IN LUA TXT "who:toStringWithPort()"
whoami.lua.powerdns.org 60 IN LUA TXT "who:toString()"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment