Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using CNAME instead of A records #50

Open
thoiruddin opened this issue Oct 2, 2024 · 1 comment
Open

Using CNAME instead of A records #50

thoiruddin opened this issue Oct 2, 2024 · 1 comment
Labels
question Further information is requested

Comments

@thoiruddin
Copy link

Hi,

Is it possible to use a CNAME instead of an A record? I checked the Synology DDNS IP address, and it is the same as the A records. The reason to use a CNAME is in case the IP address changes or there is a blackout or temporary router down situation, it will always stay connected using Synology DDNS, which has the same IP address as my ISP.

@mrikirill
Copy link
Owner

Hi,

CNAME (Canonical Name) DNS record cannot directly point to an IP address. It is used to map one domain name (alias) to another domain name (canonical name). In simpler terms, a CNAME record allows one domain or subdomain to resolve to another domain’s DNS records, which could eventually resolve to an IP address, but it cannot directly map to an IP address itself.

If you need to point a domain directly to an IP address, you should use an A record (for IPv4 addresses) or an AAAA record (for IPv6 addresses).

@mrikirill mrikirill added the question Further information is requested label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants