Question on verifying organization website

I have a question on Verifying your organization’s domain.

My provider (a good one) does not allow me to create DNS TXT records that end in a dot, as the one suggested in the ‘Verify Domain’ screen in organization settings:

_github-challenge-example.example.org.

So I tried without the dot. Usually a new DNS record takes minutes to be available. I waited hours and still cannot validate. I know sometimes the changes can take longer time to be available. But if the dot is required it will never validate at all. Did I configure wrong with:

TXT record:

  • name: _github-challenge-example.example.org
  • value: <what-was-generated-by-github>

The dig command seems to indicate that the TXT entry exists:

; <<>> DiG 9.11.2-1ubuntu1.10-Ubuntu <<>> _github-challenge-example.example.org +nostats +nocomments +nocmd TXT
;; global options: +cmd
;_github-challenge-example.example.org. IN TXT

The dot isn’t required—it’s usually appended automatically by your DNS provider.

From the looks of your examples it could be that you’ve added this DNS record to the subdomain _github-challenge-example.example.org. This will actually result in the full domain _github-challenge-example.example.org.example.org.

I’d check for a TXT record on the domain _github-challenge-example.example.org.example.org (replacing with your actual domain of course!) to see if the verification shows up there. If it does then you’ll want to edit the DNS record’s subdomain to remove your organisations domain from the end.

Thank you @thomasshaped

I tried setting the TXT as per your suggestion (and my own domain filled in_, removing the other entry.

But unfortunately it still does not validate.

Hi @aschrijver, I don’t think I made my example clear, sorry! The subdomain you need to attach this TXT record to is only _github-challenge-example, without any example.org on the end.

If you’re still having trouble with this would you be able to post a link to the org you’re attempting to verify a domain for? That should help a little with the debugging.

1 Like

Ah, that makes perfect sense, and… it worked :slight_smile:

I think the way the page describes what should be added to DNS could be more clearly explained, i.e. something like:

Add the dns TXT record named _github-challenge-example with the value generated below.

Thanks a lot for your help @thomasshaped!

Amazing, sorry I didn’t make it clear enough first time, but glad it’s fixed now!

Yeah, I think so too. We have a feedback issue open about this page already so I’ll pass that on there for you :v:

1 Like