--- title: Set up your DNS TXT record tags: v2 --- [ToC] ## Set up your DNS TXT record > Why do you need to set your DNS TXT? > OpenCerts: The main upgrade is to allow institutes that are able to prove the ownership of a domain to bind the certificate issuer's identity to the domain name. > When a user views a certificate issued under this model, > they will see "Certificate issued by exampleschool.com" > Link: https://docs.opencerts.io/docs/migrations/v1_to_v2#opencerts-20-dns-txt-verification ### Step 1: Purchasing a Domain (If you already have a Domain name, you can skip this Step) - Choose a trusted domain name registrar,e.g. [Google Domains](https://domains.google/), [Namecheap](https://www.namecheap.com/), [GoDaddy](https://www.godaddy.com/), [Gandi](https://www.gandi.net/en-US) - Buy the domain you want ### Step 2: Setting up a DNS TXT record > What is a DNS TXT record? > Often used as a way to verify domain ownership, if you can change the TXT record, you own the domain. > Google: TXT records are a type of Domain Name System (DNS) record that contains text information for sources outside of your domain. You add these records to your domain settings. Google uses them to verify domain ownership and to ensure email security. > https://support.google.com/a/answer/2716800?hl=zh-Hant * Adding this record will not affect your existing email or other services #### Go to your domain's DNS records * Field names may vary depending on the domain host 1. Go to your domain’s DNS records. The page might be called something similar to: DNS Management, Name Server Management, Control Panel, or Advanced Settings. 2. Select the option to add a new record. #### Add the verification record to your domain host 1. For the record type, select TXT. 2. In the Name/Host/Alias field, enter @ or leave it blank. 3. Your host might require you to enter your domain, which looks like example.com, into this field. Your other DNS records might indicate what you should enter. 4. In the Time to Live (TTL) field, enter 30 or the lowest second your host allow 5. In the Value/Answer/Destination field, paste`"openatts net=ethereum netId=3 addr=0xED2E50434Ac3623bAD763a35213DAD79b43208E4"`。儲存記錄。 --- - The following takes Google Domains as an example 1. Click Manage ![](https://i.imgur.com/SZlG3BP.png) 2. Select DNS on the left ![](https://i.imgur.com/zLPKLZj.png) 3. Expand custom record ![](https://i.imgur.com/oxou29X.png) 4. Select type TXT ![](https://i.imgur.com/UnRFPeA.png) 5. Enter `"openatts net=ethereum netId=3 addr=0xED2E50434Ac3623bAD763a35213DAD79b43208E4"` ![](https://i.imgur.com/eTeotG9.png) 6. Press Save to finish - GoDaffy added TXT https://tw.godaddy.com/help/add-a-txt-record-19232 - Google uses TXT records to verify your domain https://support.google.com/a/answer/183895 ### Step 3: How to confirm DNS TXT settings are complete - MacOS - Open terminal and type `dig +short ${your domain name} txt` - e.g. my domain name is mickyfan.one, so `dig +short mickyfan.one txt` - `"openatts net=ethereum netId=3 addr=0xED2E50434Ac3623bAD763a35213DAD79b43208E4"` appears is correct - Windows - Open the command prompt by typing `nslookup -type=txt ${your domain name}` - e.g. my domain name is mickyfan.one, so `nslookup -type=txt mickyfan.one` - `"openatts net=ethereum netId=3 addr=0xED2E50434Ac3623bAD763a35213DAD79b43208E4"` appears is correct