logoalt Hacker News

dyniptoday at 9:55 AM2 repliesview on HN

There are multiple multiples :) both (hidden) primary and secondaries are multiple, snapshots every 20 minutes and forward-update functionality from the secondaries with replicated tsig over powerdns api every 120 seconds. since they are static they only need to replicate once.

if you register a zone and open the snippets quickly, there is a green notification saying tsig replication underway for x amount of seconds and until that happens RFC 2136 updates are not possible but the ones that use api are available right off the bat.


Replies

ericpauleytoday at 1:08 PM

Really cool stuff. Out of curiosity what made you select PowerDNS (and in general a commodity DNS server) vs. developing a custom DNS server integrating your logic (using https://github.com/miekg/dns for instance).

hfristedttoday at 10:26 AM

Cool! How did you scale-out the hidden primary? Multiple instances communicating with a single postgres?

show 1 reply