Skip to content
Snippets Groups Projects

geomirror: leverage LUA records for failover+GeoIP

Merged Evangelos Foutras requested to merge geomirror-use-lua-records into master
  1. Apr 29, 2022
    • Evangelos Foutras's avatar
      geomirror: bump TTL to 86400 for NS records · 6878066d
      Evangelos Foutras authored
      In an effort to stay consistent with the TTL used for the archlinux.org
      and pkgbuild.com NS records, as well as slightly improve lookup latency.
      Verified
      6878066d
    • Evangelos Foutras's avatar
      geomirror: leverage LUA records for failover+GeoIP · b3ec0204
      Evangelos Foutras authored
      PowerDNS provides a neat way to implement GeoIP-based redirection and
      automatic failover. With GeoLite2-City database, it is able to select
      the closest mirror from a list of IPs we provide. Every 60 seconds it
      also checks if the mirror's HTTPS URL is working as expected; if that
      check fails, it stops giving it out (this acts as automatic failover).
      Verified
      b3ec0204
Loading