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

Resource: infoblox_cname_record by default appending zone information to alias record #60

Closed
elangoganesan opened this issue Feb 14, 2020 · 2 comments

Comments

@elangoganesan
Copy link
Contributor

elangoganesan commented Feb 14, 2020

We are trying to register DNS Names for AWS ELB in our infoblox environment with a CNAME mapping to our internal domain . The plugin is registering the CNAME successfully how ever it is making the assumption that canonical name is in the same zone as alias record . This is causing issues in resolving the CNAME record correctly .

Output for DNS Lookup After Registration:

nslookup myapp.exampledomain.com
Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
myapp.exampledomain.com canonical name =myapp-xdsd134.elb.us-east-1.amazonaws.com**.exampledomain.com**

In Looking at the code , seems like we are assuming that both canonical name and alias record are in the same zone . This makes it impossible to use this plugin in cloud deployments.

@saiprasannasastry
Copy link
Contributor

saiprasannasastry commented Feb 15, 2020 via email

@saiprasannasastry
Copy link
Contributor

closing this as per the above PR

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