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

DNSControl prevents AKAMAICDN and CNAME on the same hostname #2959

Open
hallorans-nca opened this issue May 16, 2024 · 1 comment
Open

DNSControl prevents AKAMAICDN and CNAME on the same hostname #2959

hallorans-nca opened this issue May 16, 2024 · 1 comment

Comments

@hallorans-nca
Copy link

Describe the bug
The Akamai Control Panel allows users to create AKAMAICDN records with the same name as a CNAME.
DNSControl does not allow this combination.

To Reproduce
Steps to reproduce the behavior:

  1. Have a zone with the following two records
    CNAME('alpha','dnscontroltest.com.au.edgesuite.net.'),
    AKAMAICDN('alpha','dnscontroltest.com.au.edgesuite.net'),
  2. Run dnscontrol check
  3. You will get an error similar to below

2024/05/16 14:22:02 ERROR: cannot have CNAME and AKAMAICDN record with same name: alpha.dnscontroltest.com.au

Expected behavior
dncontrol check should pass this special case, and upload both records to EdgeDNS

DNS Provider
AKAMAIEDGEDNS

Additional context
The function checkCNAMEs seems to be function is causing my issue

@tlimoncelli
Copy link
Contributor

CC @edglynes

(You'll need to work around this in the checkCNAMEs() function in pkg/normalize/validate.go. It's a layering violation but sadly that's unavoidable right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants