mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 04:45:48 +03:00
[GH-ISSUE #196] DNS Provider not Allowing NS and A Recs for the Same Domain #87
Labels
No labels
Documentation
Documentation
bug
enhancement
feature request
feature request
help wanted
pull-request
question
security
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/acme-dns#87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @svoop on GitHub (Nov 8, 2019).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/196
The setup for
acme-dnsrequires both a NS record and an A record to exist for the zone subdelegated toacme-dns. As explained in the docs:https://github.com/joohoi/acme-dns#dns-records
The records look something like this:
My current DNS provider dyn.com accepts this, but since it has been bought by Oracle, they decided to shortcut what they consider "lifelong license". My new DNS provider eurodns.com handles this case stricter. It is not possible to have both records at the same time and the reason they give is somewhat plausible:
This leaves me in a kind of limbo. I get that the NS record is what points acme to the instance of
acme-dnsrunning on demand on my box, however, I'm not sure who consumes the A record and whether it would be possible to work around this with a CNAME/A combo, a proprietary TXT record or some other hack.@joohoi Do you see any solution for this?
@Ajedi32 commented on GitHub (Nov 8, 2019):
Look for a dedicated section for setting "glue records". That's what the A records called in this specific case: https://ns1.com/blog/glue-records-and-dedicated-dns
If that's not an option, then I suppose you could point the NS to a different subdomain which isn't part of the subdelegation.
@svoop commented on GitHub (Nov 8, 2019):
@Ajedi32 Ah, now I get it. The following should do the trick then?
The example in the docs uses the same domain name
auth.example.comfor both which apparently not all of the DNS providers out there like.@Ajedi32 commented on GitHub (Nov 8, 2019):
No, I don't believe that will work because ns1.auth.example.com is a subdomain of the namespace you're delegating to. You could use something like ns1-auth.example.com though I believe.
@svoop commented on GitHub (Nov 8, 2019):
You're right, makes more sense this way. EuroDNS accepts this. Thanks for your help, @Ajedi32 !
@svoop commented on GitHub (Nov 8, 2019):
By the way, the subdomain example was "the way to do it" according to the README as of april 2018 (when I set up my box), so seems to work afterall:
github.com/joohoi/acme-dns@7744357b61/README.md (dns-records)This section was later updated by @Yannik with commit
dc0dd43017@Ajedi32 commented on GitHub (Nov 8, 2019):
Yes, I'm saying it probably wouldn't work for you since according to the statement you quoted your DNS provider doesn't seem to support glue records. For a DNS provider which does support glue records it should would work fine (as would the earlier example you gave of just using "auth.example.com" as the name server).
@svoop commented on GitHub (Nov 8, 2019):
Well, he does support glue records, he just doesn't support the delegated subdomain and the glue record to be identical.