This crazy mind of mine was wondering whether it was technically possible to have two IPs per NS record, when hosting DNS data. Example:
Pointing to nameservers:

Crude example, but hopefully you get the point. points to ns1 and whose corresponding A records return multiple IPs.

But what about GLUE? How can, assuming that its nameservers are “itself,” use multiple IPs on GLUE records? Well, GLUE records are basically just another DNS record type in their own right. There aren’t any specific RFCs I can find that say you can’t use more than 1 IP for a GLUE record; but that does not mean to say you necessarily should and whether it would even work!

But wait – I found an example in the wild!

;; ANSWER SECTION: 172800 IN A 172800 IN A


dig ns
;; AUTHORITY SECTION: 172800 IN NS 172800 IN NS 172800 IN NS 172800 IN NS 172800 IN NS

;; ADDITIONAL SECTION: 172800 IN A 172800 IN A 172800 IN AAAA 2001:630:0:8::14 172800 IN AAAA 2001:630:0:9::14 172800 IN A 172800 IN AAAA 2001:630:0:44::e2 172800 IN A 172800 IN AAAA 2001:630:0:45::11 172800 IN A 172800 IN AAAA 2001:630:0:47::42

So, yeah, have multiple I records for and they are pointing back themselves. Their GLUE records are reflecting those multiple IPs for ns0, and the domain is fully resolvable over many DNS clients without throwing any issues or errors.

As I say, I’m not sure of the legalities of such setup, so to speak, but it’d be an interesting way to add redundancy to an existing set of nameservers without mass updates – providing it works!


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.