GitHub Pages InvalidDNSError with valid REG.RU DNS and HTTPS certificate mismatch #210876
Replies: 4 comments
|
Since your DNS records appear to be correct and HTTP is already returning A few additional checks may help:
The Hopefully, GitHub can identify the cause of the persistent |
|
The This usually happens when GitHub's ACME certificate challenge gets stuck on initial validation. A few things to check:
Once re-added, GitHub will re-issue the Let's Encrypt HTTP-01 challenge against your A records. After the certificate issues (usually 10–20 minutes), the |
|
Your records are fine. The failed check is a snapshot taken when they were not, and the certificate error follows from that snapshot. What What REG.RU answers now (2026-10-22 00:28 UTC, and the same at 13:55 UTC yesterday, queried directly over UDP, TCP and with EDNS): ns1.reg.ru and ns2.reg.ru both return NOERROR with the authoritative flag for A (4 records), NS, SOA, MX, and NODATA for CNAME, AAAA and CAA, each in about 170 ms. No SERVFAIL, no REFUSED, no truncation. Google DNS agrees on every type. Nothing here fails a check run today. Why it still showed failed. Your SOA serials are timestamps: 1792531806 means the zone was changed at 2026-10-20 21:30 UTC, nearly four hours after the repo was created (17:40 UTC), and 1792610713 means another edit at 2026-10-21 19:25 UTC (the mailru TXT). The A records carry TTL 86400 and the SOA negative-cache TTL is 10800. A resolver that looked the name up before 21:30 on 10-20 (GitHub's does when you add the domain) could keep serving that answer until 21:30 UTC on 10-21. Your remove and re-add at 08:13 UTC on 10-21 (the CNAME delete and create commits) fell inside that window, so it re-asked the same cache. That window has now closed. What to do.
The HTTPS error. The apex still serves GitHub's |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Pages
Body
Repository:
you-me-lab/you-me-lab.github.ioCustom domain:
you-me-lab.comGitHub Pages reports
DNS check unsuccessful — InvalidDNSError, and HTTPS enforcement is unavailable.I have verified the DNS configuration:
wwwCNAME points toyou-me-lab.github.io.200 OK, served by GitHub.curl (60): SEC_E_WRONG_PRINCIPAL.Additional DNS diagnostics completed:
Could GitHub investigate the DNS health check and TLS certificate provisioning for this domain?
Could GitHub staff investigate the Pages DNS health check, particularly possible CAA lookup failures or resolver timeouts with REG.RU, and the TLS certificate provisioning state?
Thank you.
All reactions