{"id":27991,"date":"2026-03-04T19:45:43","date_gmt":"2026-03-04T17:45:43","guid":{"rendered":"https:\/\/www.cheops-technology.ch\/docs\/what-is-the-format-of-dns-resource-records\/"},"modified":"2026-03-05T12:58:48","modified_gmt":"2026-03-05T10:58:48","password":"","slug":"what-is-the-format-of-dns-resource-records","status":"publish","type":"docs","link":"https:\/\/www.cheops-technology.ch\/en\/docs\/what-is-the-format-of-dns-resource-records\/","title":{"rendered":"What is the format of DNS resource records?"},"content":{"rendered":"\n<p>All resource records have a defined format that uses the same first-level fields, as described in the following table.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"QuelestleFormatdesenregistrementsderessourcesDNS?-A\">A<\/h2>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Description:<\/strong> A resource record (host address). Maps a DNS domain name to a 32-bit Internet Protocol (IP) version 4 address. For more information, see RFC 1035.  <\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Syntax:<\/strong><em>owner class ttl<\/em> <strong>A<\/strong><em> address_IP_v4<\/em><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Example :<\/strong><a href=\"http:\/\/host1.example.microsoft.com\/\">host1.example.microsoft.com<\/a>. IN A 127.0.0.1 <\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"QuelestleFormatdesenregistrementsderessourcesDNS?-AAAA\">AAAA<\/h2>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Description:<\/strong> AAAA resource record (IPv6 host address). Maps a DNS domain name to a 128-bit Internet Protocol (IP) version 6 address. For more information, see RFC 1886.  <\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Syntax:<\/strong><em>owner class ttl<\/em> <strong>AAAA<\/strong><em> address_IP_v6<\/em><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Example :<\/strong><a href=\"http:\/\/ipv6_host1.example.microsoft.com\/\">ipv6_host1.example.microsoft.com<\/a>. IN AAAA 4321:0:1:2:3:4:567:89ab <\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"QuelestleFormatdesenregistrementsderessourcesDNS?-AFSDB\">AFSDB<\/h2>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Description:<\/strong> AFSDB (Andrew File System Database) resource record. Maps a DNS domain name in the <em>server_host_name<\/em> field to the host name of a server belonging to a server subtype. <em>TheSubtype<\/em> field can have one of these recognized and supported values:Value <strong>1<\/strong> indicates that the server is an AFS version 3.0 volume location server for the named AFS cell. Value <strong>2<\/strong> indicates that the server is an authenticated name server that maintains the root cell directory node for the server using the OSF (Open Software Foundation) DCE or HP\/Apollo NCA (Network Computing Architecture) authenticated cell name system. For more information, see RFC 1183.    <\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Syntax:<\/strong><em>owner ttl class<\/em>  <strong>AFSDB<\/strong><em> subtype server_host_name<\/em><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Example:<\/strong><a href=\"http:\/\/exemple.microsoft.com\/\">example.microsoft.com<\/a>. AFSDB 1 <a href=\"http:\/\/afs-server1.example.microsoft.com\/\">afs-server1.example.microsoft.com<\/a> <\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"QuelestleFormatdesenregistrementsderessourcesDNS?-CNAME\">CNAME<\/h2>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Description:<\/strong>CNAME (canonical name) resource record. Maps a DNS domain name with an alias, or secondary, in the <em>owner<\/em> field to a canonical or primary DNS domain name, specified in the <em>canonical_name<\/em> field. The canonical or primary DNS domain name used in the data is mandatory and must be convertible to a valid DNS domain name in the namespace.  <\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Syntax:<\/strong><em>owner ttl class <\/em> <strong>CNAME<\/strong><em> canonical_name<\/em><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Example :<\/strong><a href=\"http:\/\/aliasname.example.microsoft.com\/\">aliasname.example.microsoft.com<\/a>. CNAME <a href=\"http:\/\/truename.example.microsoft.com\/\">truename.example.microsoft.com<\/a> <\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"QuelestleFormatdesenregistrementsderessourcesDNS?-HINFO\">HINFO<\/h2>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Description:<\/strong>HINFO resource record (host information). Specifies the type of processor and operating system in the <em>type_processor<\/em> and <em>type_operating_system<\/em> fields, respectively, for the DNS domain name of the host in the <em>owner<\/em> field. The most common processor and operating system types are listed in RFC 1700. This information can be used by application protocols such as FTP, which use special procedures to communicate with computers corresponding to a specific type of processor and operating system.   <\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Syntax:<\/strong><em>owner ttl class <\/em> <strong>HINFO <\/strong><em> processor_type operating_system_type<\/em><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Example :<\/strong><a href=\"http:\/\/my-computer-name.example.microsoft.com\/\">my-computer-name.example.microsoft.com<\/a>. HINFO INTEL-386 WIN32 <\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"QuelestleFormatdesenregistrementsderessourcesDNS?-MX\">MX<\/h2>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Description:<\/strong> MX resource record (mail server). Specifies message routing to a mail server host, as specified in <em>mail_server_host<\/em>, for messages sent to a domain name specified in the <strong>owner<\/strong> field. 2-digit preference value indicating the order chosen in the event of multiple server hosts being specified. Each server host must have a corresponding A resource record (host address) in a valid zone. For more information, see RFC 1035.    <\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Syntax:<\/strong><em>owner ttl class <\/em> <strong>MX<\/strong><em> host_server_messaging preference<\/em><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Example:<\/strong><a href=\"http:\/\/exemple.microsoft.com\/\">example.microsoft.com<\/a>. MX 10 <a href=\"http:\/\/mailserver1.example.microsoft.com\/\">mailserver1.example.microsoft.com<\/a> <\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"QuelestleFormatdesenregistrementsderessourcesDNS?-NS\">NS<\/h2>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Description:<\/strong> Used to map a DNS domain name, as specified in <strong>owner<\/strong>, onto the names of hosts running DNS servers specified in the <em>domain_server_name<\/em> field.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Syntax:<\/strong><em>owner ttl IN <\/em> <strong>NS<\/strong><em> server_domain_name<\/em><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Example:<\/strong><a href=\"http:\/\/exemple.microsoft.com\/\">example.microsoft.com<\/a>. IN NS <a href=\"http:\/\/nomserveur1.exemple.microsoft.com\/\">nameserver1.example.microsoft.com<\/a> <\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"QuelestleFormatdesenregistrementsderessourcesDNS?-PTR\">PTR<\/h2>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Description:<\/strong> PTR resource record (pointer). Points from the name contained in <strong>owner<\/strong> to another location in the DNS namespace as specified in <em>target_domain_name<\/em>. Typically used in special domains such as the <a href=\"http:\/\/in-addr.arpa\/\">in-addr.arpa<\/a> domain tree to perform indirect address-name lookups. Most often, each record contains information that points to another DNS domain name location, such as a matching A resource (host address) record in a direct search zone. For more information, see RFC 1035.    <\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Syntax:<\/strong><em>owner ttl class <\/em> <strong>PTR<\/strong><em> target_domain_name<\/em><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Example :<\/strong><a href=\"http:\/\/1.0.0.10.in-addr.arpa\/\">1.0.0.10.in-addr.arpa<\/a>. PTR <a href=\"http:\/\/host.example.microsoft.com\/\">host.example.microsoft.com<\/a> <\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"QuelestleFormatdesenregistrementsderessourcesDNS?-RP\">RP<\/h2>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Description:<\/strong> RP resource record (responsible person). Specifies a domain mailbox name for a responsible person in <em>mailbox_name<\/em>. This name is then mapped to a domain name in <em>text_record_name<\/em>, for which TXT resource records exist in the same zone. When RP records are used in DNS queries, additional queries are used to retrieve the associated TXT (text) resource record information. For more information, see RFC 1183.    <\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Syntax:<\/strong><em>owner ttl class <\/em> <strong>RP<\/strong><em> letter_box_name text_recording_name<\/em><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Example:<\/strong><a href=\"http:\/\/exemple.microsoft.com\/\">example.microsoft.com<\/a>. RP <a href=\"http:\/\/admin.example.microsoft.com\/\">admin.example.microsoft.com<\/a>. <a href=\"http:\/\/admin-info.example.microsoft.com\/\">admin-info.example.microsoft.com<\/a><a href=\"http:\/\/admin-info.example.microsoft.com\/\">.admin-info.example.microsoft.com<\/a>. TXT &#8220;Joe Administrator, (555) 555-0110&#8221;  <\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"QuelestleFormatdesenregistrementsderessourcesDNS?-SOA\">SOA<\/h2>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Description:<\/strong>Name source resource record (SOA; Start of Authority). Indicates the original name of the zone and contains the name of the server which is the main source of information on the zone. It also indicates other basic properties of the zone. The SOA resource record is always the first record in a standard zone. It indicates which DNS server created it first, or which is currently the zone&#8217;s main server. It is also used to store other properties such as version information and timeouts that affect zone renewal or expiration. These properties affect the frequency of transfers between the zone&#8217;s reference servers. For more information, see <a href=\"https:\/\/msdn.microsoft.com\/fr-fr\/library\/cc779148(v=ws.10).aspx\">Managing authority records<\/a><strong>.RemarksIn<\/strong>the example below, the owner (main DNS server) is specified as &#8220;@&#8221;, because the domain name is &#8220;@&#8221;. @&#8221;, as the domain name is identical to the origin of all zone data<a href=\"http:\/\/exemple.microsoft.com\/\">(example.microsoft.com<\/a>.). This is a standard notation convention for resource records, frequently used in SOA registration.        <\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Syntax:<\/strong><em>owner class <\/em> <strong>SOA<\/strong><em> server_names person_responsible (serial_number refresh_interval interval_before_new_attempt expiration minimum_lifetime)<\/em><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Example :<\/strong>@ IN SOA <a href=\"http:\/\/serveurnoms.exemple.microsoft.com\/\">serveurnoms.example.microsoft.com<\/a>. <a href=\"http:\/\/postmaster.exemple.microsoft.com\/\">postmaster.example.microsoft.com<\/a>. ( 1 ; serial number 3600 ; update [1h] 600 ; retry [10m] 86400 ; expiry [1d] 3600 ) ; TTL min [1h] <\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"QuelestleFormatdesenregistrementsderessourcesDNS?-SRV\">SRV<\/h2>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Description: <\/strong>Service locator resource (SRV) record. Allows multiple servers offering a similar TCP\/IP service to be located using a single DNS query. This record lets you manage a list of servers for a specific server port and transport protocol type, ranked in order of preference for a DNS domain name. For example, in DNS Windows Server 2003, this record allows you to locate domain controllers that use the LDAP (Lightweight Directory Access Protocol) service via TCP port 389,The purposes of each of the specialized fields used in an SRV resource record are as follows<strong>:service:<\/strong> Symbolic name for the desired service. For common services, a reserved universal symbolic name such as &#8220;_telnet&#8221; or &#8220;_smtp&#8221; is defined in RFC 1700. If a common service name is not defined in RFC 1700, a local or user-defined name may be used. Some frequently used TCP\/IP services, such as POP (Post Office Protocol), do not have a unique universal symbolic name. If RFC 1700 assigns a name to the service indicated in this field, the name defined by the RFC is the only name allowed. Only locally defined services can be named locally. <strong>protocol:<\/strong> Indicates the type of transport protocol. Typically, this is TCP or UDP, although any of the transport protocols named in RFC 1700 may be used<strong>.name:<\/strong> DNS domain name to which this resource record refers. The SRV resource record is unique among other DNS record types in that it is not used for searching or querying<strong>.priority:<\/strong> Defines the preference for a host specified in the <em>target<\/em> field. DNS clients searching for SRV resource records try to contact the first accessible host with the lowest preference value specified here. Although <em>target<\/em> hosts have the same preference value, they can be queried in random order. The range of preference values is between 0 and 65535<strong>.weight:<\/strong> Can be used in conjunction with preference to provide a load-balancing mechanism between multiple servers that are specified in the <strong>target<\/strong> field and all match the same preference level. When selecting a target server host from among servers of the same preference, this value can be used to add an additional preference level to determine the exact order or balancing of the selection, for target hosts used in the response to an SRV request. When a non-zero value is used, hosts with the same preference are tested in proportion to the weight of this value. The range of values is from 1 to 65535. If load balancing is not required, use a value of 0 in this field to make the record easier to read<strong>.port:<\/strong> Port of the server on the <strong>target<\/strong> host offering the service specified in the <em>service<\/em> field.                  The port number range is 0 to 65535, although the number is usually a known port number reserved for the service, as defined in RFC 1700. Unassigned ports can be used if required<strong>.target:<\/strong> Specifies the DNS domain name of the host offering the type of service requested. Each host name used must have a corresponding A resource record (host address) in the DNS namespace. A single dot (.) can be used in this field to forcefully indicate that the requested service, specified in this SRV resource record, is not available for this DNS domain name. For more information, see the online help document &#8220;A DNS RR for specifying the location of services (DNS SRV)&#8221;.   <\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Syntax :<\/strong><em>service.protocol.name ttl class <\/em> <strong>SRV <\/strong><em> preference target port weight<\/em><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Example :<\/strong>_ldap._tcp._msdcs SRV 0 0 389 <a href=\"http:\/\/dc1.example.microsoft.com\/\">dc1.example.microsoft.com<\/a> SRV 10 0 389 <a href=\"http:\/\/dc2.example.microsoft.com\/\">dc2.example.microsoft.com<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"QuelestleFormatdesenregistrementsderessourcesDNS?-TXT\">TXT<\/h2>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Description: <\/strong>TXT (text) resource record. Maps a DNS domain name specified in the <em>owner<\/em> field to a string in the <em>text_string<\/em> field for use as descriptive text. For more information, see RFC 1035.  <\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Syntax:<\/strong><em>owner ttl class <\/em> <strong>TXT<\/strong><em> text_string<\/em><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Example:<\/strong><a href=\"http:\/\/exemple.microsoft.com\/\">example.microsoft.com<\/a>. TXT &#8220;This is an example of additional domain name information.&#8221; <\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>All resource records have a defined format that uses the same first-level fields, as described in the following table. A Description: A resource record (host address). Maps a DNS domain name to a 32-bit Internet Protocol (IP) version 4 address. For more information, see RFC 1035. Syntax:owner class ttl A address_IP_v4 Example :host1.example.microsoft.com. IN A [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[136],"doc_tag":[],"class_list":["post-27991","docs","type-docs","status-publish","hentry","doc_category-web-hosting"],"year_month":"2026-05","word_count":1543,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Support","author_nicename":"support","author_url":"https:\/\/www.cheops-technology.ch\/en\/author\/support\/"},"doc_category_info":[{"term_name":"Web hosting","term_url":"https:\/\/www.cheops-technology.ch\/en\/docs-category\/web-hosting\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs\/27991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/comments?post=27991"}],"version-history":[{"count":1,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs\/27991\/revisions"}],"predecessor-version":[{"id":27993,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs\/27991\/revisions\/27993"}],"wp:attachment":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/media?parent=27991"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/doc_category?post=27991"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/doc_tag?post=27991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}