# TXT record #### WHAT IS THE TXT RECORD? Any text information can be stored in the TXT record. TXT corresponds to the abbreviation for Text.
With TXT records, you can verify the domain name property rights for some services. The SPF, DK, DKIM and DMARC keys are published in TXT records.
A domain name may have several TXT records. #### QUERYING TXT RECORD For example, you can use the nslookup command in Windows to access record TXT, while under Linux the host command. Example of a Windows-based nslookup query: ``` nslookup -q=TXT dotroll.com Server: google-public-dns-a.google.com Address: 8.8.8.8 Non-authoritative answer: dotroll.com text = "google-site-verification=NMkDYF4JGT5YCQTQKfHvfBTFeg_TOfsYjZIowHSpKFU" dotroll.com text = "yandex-verification: 66da9e054ee4bea9" dotroll.com text = "v=spf1 mx a:staffmx.dotroll.com a:staffmx1.dotroll.com ip4:80.77.113.20 ip4:80.77.113.30 ip4:185.33.52.53 a:admin.dotroll.com a:online1.int.dotroll.com ~all" ``` Example of Linux based host query: ``` host -t TXT dotroll.com dotroll.com descriptive text "v=spf1 mx a:staffmx.dotroll.com a:staffmx1.dotroll.com ip4:80.77.113.20 ip4:80.77.113.30 ip4:185.33.52.53 a:admin.dotroll.com a:online1.int.dotroll.com ~all" dotroll.com descriptive text "google-site-verification=NMkDYF4JGT5YCQTQKfHvfBTFeg_TOfsYjZIowHSpKFU" dotroll.com descriptive text "yandex-verification: 66da9e054ee4bea9" ``` #### TXT RECORD FORMAT**Fields name** | **Description** |
Name | this field contains the domain or subdomain name. |
TTL | this field contains record lifetime in seconds. This is the time until the entry is stored in the resolver. |
TXT record | contains the text |