Well, I would like to point to my own DNS, as long as my domain registrar (123-reg.co.uk) does not have support for AAAA records.
But if I request to point to my own DNS, they ask me for two NS, that's ok so far, and then for IPv4 addresses and nothing more, is there any workaround for IPv6 or I have to change my domain registrar?
I need to change my Domain registrar. As long as they do not support IPv6.
The
NS
record hold only a name, which could resolve on an IPv4 or an IPv6 :You should be able to only provide the name of your DNS server to your registrar. They should be able to extract the IP adresses in v4 or v6 from the name of your server.
However your DNS server should be available on IPv4 and IPv6, even if all your records point on IPv6.
There is no garantee, even if the client is connected on the IPv6 Internet, that the DNS resolution will happend only on IPv6. For example the DNS resolver of the client could be unable to do queries on IPv6 even if it is able to respond on this protocol.
This is a transitional situation and most DNS server should be able to properly resolve names on the IPv6 Internet in the future, but for now it is safer to double stack the DNS.
Let's say your domain is
example.com.
When the recursive DNS server queriesa.gtld-servers.net.
forwww.example.com.
, it will get returned an NS record - sayns1.example.com.
if you're running your own DNS servers. Because the DNS server's domain name is in the same domain as the address you're looking for, there has to be a glue record held ona.gtld-servers.net.
. The glue record is an A or AAAA record forns1.example.com
.Your domain registrar is responsible for updating the TLD's DNS with the NS delegation and the glue records.
It is for the glue records that 123-reg are asking you for an IP address. You can still host
ns1.example.com.
dual-stacked, and the authoritative record forns1.example.com.
can have both an A and an AAAA record - it doesn't have to match the glue record on the server you're delegating from.You have two options if you want an AAAA glue record:
For instance, if you have
example.com
andexample.co.uk
with two different registrars, you could havens1.example.co.uk
as the delegation for both domains, but onlyexample.co.uk
would need to have a glue record (becauseexample.com
could resolve its name without the glue). As long as your registrar forexample.co.uk
supports AAAA glue (and the .uk registry does, which it does) then you're OK.