What happens if I add both A and AAAA record in cloudflare?

What is the name of the domain?

example.com

What is the issue you’re encountering

What happens if I add both A and AAAA record in cloudflare?

What steps have you taken to resolve the issue?

I am using Cloudflare as DNS proxy.

Suppose I set up both A and AAAA record for my domain, which record cloudflare proxy will use?

I am asking this because I wondering if I should publish A record or AAAA record or both?

What feature, service or problem is this related to?

DNS records

Cloudflare will try the A record address first and if that is down, try the AAAA address.

I use only AAAA through personal preference (fewer address ranges to allow at the firewall and easier to randomly change IP address if needed). You may prefer to use both in case of a problem with one of the IP stacks on your server, it’s up to you.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.