After you add a TXT record to your domain's DNS settings, you can check the status of your change by looking up which TXT records are currently in effect for your domain. Do this by either using a third-party web service, or running DNS queries from your computer.
Remember that it can take up to 72 hours for DNS changes to go into effect, depending on the record's TTL value when you made the change. What is the TTL?
If you purchased a domain from a Google partner while signing up for your Google Cloud account, you don't need to add a TXT record to verify domain ownership (since we already know you own the domain).
- Enter your domain name in the free DNS record lookup tool provided by the following website:
https://toolbox.googleapps.com/apps/dig/
To query for TXT records only, precede you domain name with "txt:" like so:
txt: example.com
To see results for a domain already configured to use your Google service, enter: solarmora.com - Submit the form.
- Verify the results. Depending on their purpose, the values returned should match those on the TXT record values page, for example:
Domain Type Class TTL Answer mail.solarmora.com. TXT IN 30 min google-site-verification=J2T1DtdmI26z0uBqV4zkTvp3JfJCln
The application nslookup
comes with most operating systems and can be used to look up name server details from your Windows, Mac, or Linux command line.
- To start the command line in Windows, click Start > Run, enter "cmd" and press enter.
On Mac or Linux, start the terminal.
- Enter the following command:
nslookup -q=txt example.com
- Interpret the output with the help of our example:
nslookup -q=txt solarmora.com
Will return:
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
solarmora.com text = "google-site-verification=J2T1DtdmI26z0uBqV4zkTvp3JfJCln" solarmora.com text = "v=spf1 include:_spf.google.com ~all"
The relevant part of this output comes after the first two lines. Specifically, this tells us that solarmora.com has two text records. One of these text records has the value "google-site-verification=J2T1DtdmI26z0uBqV4zkTvp3JfJCln", which may be a string to verify domain ownership. The other text record has the value "v=spf1 include:_spf.google.com ~all" which is used to create an SPF record with Google Workspace.
- Optionally, examine the first two lines of the nslookup output and ensure the IP address shown (in this case, 8.8.8.8) represents your desired name server. You may have configured a different nameserver depending on your ISP or custom configuration. You can also choose to append 8.8.8.8 to the nslookup command to use the Google Public DNS resolution service:
nslookup -q=txt solarmora.com 8.8.8.8
Change the entry in the Hostname field
- Go to the DNS records stored with your domain host to edit the verification record.
- In the Hostname (also called Host, Name, or Host record) field, enter your domain name, which looks like domainname.com.
- Save the record and wait up to 72 hours to see if your domain is verified by Google.
Still need help? Contact your domain host for more assistance.