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

Prepended dot in TXT-records #2

Open
kaspergrubbe opened this issue Feb 20, 2017 · 1 comment
Open

Prepended dot in TXT-records #2

kaspergrubbe opened this issue Feb 20, 2017 · 1 comment
Milestone

Comments

@kaspergrubbe
Copy link
Member

kaspergrubbe commented Feb 20, 2017

# certbot
s.entry('CNAME', '_acme-challenge.nav.billetto.com', 'yaOgKnUdbBSL48lsyoaPk0OusZualdls8rZvUVEDnHw', 360)

Becomes:

screenie_1487597704_976727

@kaspergrubbe
Copy link
Member Author

kaspergrubbe commented Feb 20, 2017

I didn't notice that I added a CNAME and not a TXT record. But it allowed me to test another use-case:

Create:

s.entry('CNAME', '_acme-challenge.nav.billetto.com', 'yaOgKnUdbBSL48lsyoaPk0OusZualdls8rZvUVEDnHw', 360)

Delete it, and run this:

# s.entry('CNAME', '_acme-challenge.nav.billetto.com', 'yaOgKnUdbBSL48lsyoaPk0OusZualdls8rZvUVEDnHw', 360)
s.entry('TXT', "_acme-challenge.nav.billetto.com", %q{"yaOgKnUdbBSL48lsyoaPk0OusZualdls8rZvUVEDnHw"}, 360)

Now this will appear:

/Users/kasper/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/excon-0.45.3/lib/excon/middlewares/expects.rb:6:in `response_call': InvalidChangeBatch => RRSet of type TXT with DNS name _acme-challenge.nav.billetto.com. is not permitted because a conflicting RRSet of type  CNAME with the same DNS name already exists in zone billetto.com. (Fog::DNS::AWS::Error)

@kaspergrubbe kaspergrubbe added this to the 1.0 milestone Mar 7, 2017
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