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

cli53 import ignores updates to ALIAS records #268

Open
cjonesunivision opened this issue Jan 29, 2019 · 0 comments
Open

cli53 import ignores updates to ALIAS records #268

cjonesunivision opened this issue Jan 29, 2019 · 0 comments

Comments

@cjonesunivision
Copy link

Issue type

  • Bug report

cli53 version (cli53 --version)

0.8.13

OS / Platform

Ubuntu 18.04.1 LTS 64 bit

Steps to reproduce

Create a zone with an ALIAS record

$ cli53 export fakedomain.com
$ORIGIN fakedomain.com.
@	900	IN	SOA	ns-1640.awsdns-13.co.uk. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
@	86400	AWS	ALIAS	A dualstack.oldalb.us-east-1.elb.amazonaws.com. Z35SXDOTRQ7X7K false
@	172800	IN	NS	ns-1640.awsdns-13.co.uk.
@	172800	IN	NS	ns-1530.awsdns-63.org.
@	172800	IN	NS	ns-447.awsdns-55.com.
@	172800	IN	NS	ns-726.awsdns-26.net.

Create zone file with update to A record.

$ cat fakedomain.com.zone 
$ORIGIN fakedomain.com.
@	900	IN	SOA	ns-1640.awsdns-13.co.uk. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
@	86400	AWS	ALIAS	A dualstack.newalb.us-east-1.elb.amazonaws.com. Z35SXDOTRQ7X7K false
@	172800	IN	NS	ns-1640.awsdns-13.co.uk.
@	172800	IN	NS	ns-1530.awsdns-63.org.
@	172800	IN	NS	ns-447.awsdns-55.com.
@	172800	IN	NS	ns-726.awsdns-26.net.

Import the zone

$ cli53 import fakedomain.com --dry-run --editauth --replace --file fakedomain.com.zone
Dry-run, but no changes would have been made.
$ cli53 import fakedomain.com --editauth --replace --file fakedomain.com.zone
6 records imported (0 changes / 0 additions / 0 deletions)

Expected behaviour

For the alias record to be updated

Actual behaviour

$ cli53 import fakedomain.com --dry-run --editauth --replace --file fakedomain.com.zone
Dry-run, but no changes would have been made.
$ cli53 import fakedomain.com --editauth --replace --file fakedomain.com.zone
6 records imported (0 changes / 0 additions / 0 deletions)

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

Double and trip checked

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

I'm working on it but I'm new to Go. I hope to have a PR soon but if you can beat me to the fix please do.

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

1 participant