acme-dns icon indicating copy to clipboard operation
acme-dns copied to clipboard

How to get subdomains to resolve?

Open jhollowe opened this issue 4 years ago • 1 comments

I'm slowly understanding how this all works, but I still can't figure out how to get subdomains to resolve to anything. I have tried including "*.cloud.example.com. CNAME cloud.example.com." in the records in the acme-dns.cfg, but this apparently does not get returned. How can I actually get any subdomain to resolve. acme-dns is now the authoritative name server for cloud.example.com so I can't just make my main DNS provide the CNAME record.

jhollowe avatar Apr 28 '20 06:04 jhollowe

My main DNS service has 2 entries:

Record Type: A
Name: ns.acme-dns[.example.com]
Value: {{IP_ADDRESS}}

Record Type: NS
Name: acme-dns
Value: ns.acme-dns.example.com

My acme-dns config has this:

records = [
    # default A
    "acme-dns.EXAMPLE.COM. A {{IP_ADDRESS}}",

    # A 
    "ns.acme-dns.EXAMPLE.COM. A {{IP_ADDRESS}}",

    # NS
    "acme-dns.EXAMPLE.COM. NS ns.acme-dns.EXAMPLE.COM.",
]

The {{IP_ADDRESS}} is the ip of the service acme-dns is running on.

jvanasco avatar Jun 09 '20 17:06 jvanasco