'How do you correctly set DSN? [ERR: No DNSKEY records found ; The CNAME RRset was not signed by any keys in the chain-of-trust]

I successfully deployed my project on Heroku. The problems occurred when I wanted to set a custom domain for it (bought namecheap.com).

In neither Heroku nor Namecheap I get an error. Everything is correct, but somehow I cannot reach the page, and running an analysis on the following website returns these errors:

https://dnsviz.net/d/amsterdamtruffles.com/dnssec/

Errors:

-No DNSKEY records found.
-The CNAME RRset was not signed by any keys in the chain-of-trust.

Can anybody point me in the right direction to solve these errors?



Solution 1:[1]

I also had this occur, and the cause was setting the root domain (@) CNAME to my.github.io. The correct setup shown below, has the root and www pointed to the github.io servers, and also includes the www CNAME redirection and github pages TXT domain verification record.enter image description here

Finally, there is a CNAME record in my github pages folder with the domain name to display, and with the errant root CNAME record gone on namecheap, it all works.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Richard Barber