[SOLVED] how to add a TXT record to DNS configuration in VPS

Issues related to configuring your network
Post Reply
benyaminpy
Posts: 6
Joined: 2019/01/03 21:34:42
Contact:

[SOLVED] how to add a TXT record to DNS configuration in VPS

Post by benyaminpy » 2019/04/07 15:30:59

hello,
i'm trying to verify my website in google webmaster tools, it needs verify by adding a TXT record to the DNS configuration,
i just created my VPS and set up my DNS server on it, so i have to change my dns configuration, but what part?
what exactly should i do?
google is saying:
Copy the TXT record below into the DNS configuration for mydomain.com
and TXT record is something like this:

Code: Select all

google-site-verification=KKFAUYREN31IFUDSIHERW
any help fixing this would be appreciated.
Last edited by benyaminpy on 2019/04/07 15:38:29, edited 1 time in total.

benyaminpy
Posts: 6
Joined: 2019/01/03 21:34:42
Contact:

Re: how to add a TXT record to DNS configuration

Post by benyaminpy » 2019/04/07 15:38:03

ok!
i just found the solution and i want to share it with other people.
all i needed to do was add this line to end of my named configuration file of mydomain

Code: Select all

@       14400   IN      TXT     "google-site-verification=verification_hash"
hope this will help someone.

Post Reply