question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DreamHost Provider only works if root domain is set with an A or AAAA record

See original GitHub issue

I’m using Lexicon to generate certificates an environment where DNS is my only accessible option, but I’ve noticed an odd behavior. It appears that it’ll only successfully authenticate a domain if the @ entry has an A or AAAA record defined in DNS. This is a bit problematic in my environment as I have a CNAME pointed towards hashnode setup for that entry.

Is there any reason why a CNAME would not be regarded as valid for the purposes of authenticating the domain? You can see the behavior defined below.

https://github.com/AnalogJ/lexicon/blob/18c788dc410b0088336ee1c392f63102fe956ed4/lexicon/providers/dreamhost.py#L109-L112

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
chhsiao1981commented, Jan 31, 2022

A follow-up from Dreamhost confirmed that the APIs that we are using (dns-add_record and dns-remove_record and dns-list_records) are still working.

I’ll update the code and include CNAME

image

0reactions
JerrettDaviscommented, Dec 1, 2022

Closed with #1110

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding custom DNS records - DreamHost Knowledge Base
It's not possible to add a CNAME record to the root domain. example.com. This is because the root domain (example.com) can only use...
Read more >
Basic DNS records - DreamHost Knowledge Base
Overview This article outlines the various types of records set up for a domain and what they are for. You can find your...
Read more >
Setting your domain to 'DNS Only' (legacy)
When your domain is 'Fully Hosted', it has several DreamHost IP addresses (A records) assigned to it that control where the site is...
Read more >
Setting your domain to 'DNS Only'
Overview This article explains how to remove your domain's default DreamHost DNS-hosting records. When your domain is 'Fully Hosted', it...
Read more >
Configuring DNS for your domains
For most purposes, you'll only need to use A and AAAA records. Locating your public IP address. Each DreamCompute instance in the US-East...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found