Skip to content

Instantly share code, notes, and snippets.

@ahupowerdns
Last active July 18, 2024 17:51
Show Gist options
  • Save ahupowerdns/c44f46051442c29cfa1d798c5a65af9d to your computer and use it in GitHub Desktop.
Save ahupowerdns/c44f46051442c29cfa1d798c5a65af9d to your computer and use it in GitHub Desktop.
$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