ConvertRRSetToBind() function exports AWS ALIAS A records which vanilla bind can't import
crobles-ppfa opened this issue · comments
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