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

ConvertRRSetToBind() function exports AWS ALIAS A records which vanilla bind can't import #330

Open
crobles-ppfa opened this issue Jun 15, 2023 · 1 comment

Comments

@crobles-ppfa
Copy link

Issue type

  • Bug report

cli53 version (cli53 --version)

HEAD

OS / Platform

All

Steps to reproduce

cli53 export example.com | grep ALIAS
ecs-site-name 86400 AWS ALIAS A dualstack.XXXXX.us-east-2.elb.amazonaws.com. XXXXX true

Expected behaviour

The record would be able to import to bind w/o having to do something like this

cli53 export ${zone} | grep -v 'AWS	ALIAS' > /etc/named/zones/${zone}
cli53 export ${zone} | grep 'AWS' | grep ALIAS | awk '{print $1"\t"$2"\tIN\tCNAME",$6}' >> /etc/named/zones/${zone}

Actual behaviour

bind will fail to load the exported zone

Have you checked if the documentation has the information you require?

Yes
Around line 234 of bind.go it's mentioned that vanilla bind can't import AWS Alias records.

Could you contribute a fix or help testing with this issue?

Yes

@michael-niemand
Copy link

+1 can reproduce; import fails on Cloudflare

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

No branches or pull requests

2 participants