Mix your DNS
There are plenty of authoritative DNS servers out there - bind, powerdns, djbdns, knot, nsd etc
Since you need to have at least two DNS servers for resilience, run them with different software. Then when a bug like this comes along you're much less likely to be knocked off the face of the Internet.