How to adding a TXT record to your DNS settings

Welcome to Dgihost,

When adding a TXT record to your DNS settings, you generally need to fill out the following fields:

Type: This should be set to TXT since you’re adding a TXT record.
Name: This field usually specifies the subdomain or domain the T…


This content originally appeared on DEV Community and was authored by Gurpinder Singh

Welcome to Dgihost,

When adding a TXT record to your DNS settings, you generally need to fill out the following fields:

Type: This should be set to TXT since you’re adding a TXT record.
Name: This field usually specifies the subdomain or domain the TXT record applies to. For domain verification with Google Search Console, this is often left blank or set to @, which represents the root domain. If you are verifying a subdomain (like sub.example.com), you would put sub here.
Content: This is where you paste the TXT record value provided by Google Search Console.
TTL: This stands for "Time To Live" and determines how long the record is cached. The default value is usually fine (e.g., 3600 seconds, which is 1 hour).

Example for a Root Domain

Type: TXT
Name: @ (or leave blank if @ is not accepted)
Content: google-site-verification=your_verification_code_here
TTL: 3600 (or use the default setting)

Example for a Subdomain

If you are verifying a subdomain, for instance, sub.example.com:

Type: TXT
Name: sub
Content: google-site-verification=your_verification_code_here
TTL: 3600 (or use the default setting)

Final Steps

After saving the record, go back to Google Search Console and click the “Verify” button to complete the verification process.

Keep in mind that DNS changes might take some time to propagate, so if verification doesn’t work immediately, wait a bit and try again.

If you're still having trouble, providing details about where you're making these changes (like your DNS provider) can help in giving more specific advice.

Thanks,
Dgihost.com


This content originally appeared on DEV Community and was authored by Gurpinder Singh


Print Share Comment Cite Upload Translate Updates
APA

Gurpinder Singh | Sciencx (2024-09-08T05:58:06+00:00) How to adding a TXT record to your DNS settings. Retrieved from https://www.scien.cx/2024/09/08/how-to-adding-a-txt-record-to-your-dns-settings/

MLA
" » How to adding a TXT record to your DNS settings." Gurpinder Singh | Sciencx - Sunday September 8, 2024, https://www.scien.cx/2024/09/08/how-to-adding-a-txt-record-to-your-dns-settings/
HARVARD
Gurpinder Singh | Sciencx Sunday September 8, 2024 » How to adding a TXT record to your DNS settings., viewed ,<https://www.scien.cx/2024/09/08/how-to-adding-a-txt-record-to-your-dns-settings/>
VANCOUVER
Gurpinder Singh | Sciencx - » How to adding a TXT record to your DNS settings. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/09/08/how-to-adding-a-txt-record-to-your-dns-settings/
CHICAGO
" » How to adding a TXT record to your DNS settings." Gurpinder Singh | Sciencx - Accessed . https://www.scien.cx/2024/09/08/how-to-adding-a-txt-record-to-your-dns-settings/
IEEE
" » How to adding a TXT record to your DNS settings." Gurpinder Singh | Sciencx [Online]. Available: https://www.scien.cx/2024/09/08/how-to-adding-a-txt-record-to-your-dns-settings/. [Accessed: ]
rf:citation
» How to adding a TXT record to your DNS settings | Gurpinder Singh | Sciencx | https://www.scien.cx/2024/09/08/how-to-adding-a-txt-record-to-your-dns-settings/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.