Skip to content

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

@crobles-ppfa

Description

@crobles-ppfa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions