Log in to your domain name registrar and find the domain that you want to verify on GitHub. You’re looking for a section that allows you to modify DNS records. It might be called something like “Advanced DNS,” “Resource Records,” or “Manage DNS.”
GitHub gave us two pieces of information that we need to add to our DNS configuration. One is the name (or host) for the TXT record. It looks something like this: _github-challenge-<organization>.<domain>.<tld>.. The second part is a code for us to put in the value field of the TXT record.
Notice that the name for the TXT record already contains our domain name at the end (and followed by another . to make it a fully qualified domain name), so we don’t need to paste the whole thing into the host field. Instead, just use the _github-challenge-<organization>. part.
This change can take some time to propagate, but often you will see the records update in a matter of minutes, depending on which DNS servers you’re using.
If you’re using a Linux operating system or if you have WSL installed on Windows, you can check the status of the DNS records using this command: dig _github-challenge-<organization>.<domain>.<tld> TXT. This will grab all of the TXT records for that host.
Once we’ve made sure that the DNS records have been updated, we can go back over to GitHub.