DNS resource records using DNS server on Windows Server

  • 7,000
  • Tác giả: admin
  • Ngày đăng:
  • Lượt xem: 7
  • Tình trạng: Còn hàng

DNS resource records contain the information that a zone maintains about the resources (such as hosts) that the zone contains. A typical resource record consists of the:

  • Name (host) of the resource record.
  • Information about how long the resource record can remain in the cache.
  • Resource record type, such as a host (A) resource record.
  • Data that's specific vĩ đại the record type, such as the host's IPv4 address.

You can add resource records directly, or they can be added automatically when Windows-based, Dynamic Host Configuration Protocol (DHCP) enabled clients join a network using dynamic update.

Types of resource records

Common resource records include:

Resource record type Description
Host (A, AAAA) records Maps a hostname vĩ đại an IP address.
Alias (CNAME) records Forward an alias tên miền name or subdomain vĩ đại another primary or canonical name. Alias (CNAME) resource records are also termed canonical name resource records. With these records, you can use more than vãn one DNS name vĩ đại point vĩ đại a single host.
Mail exchanger (MX) records Specifies the name of a computer that exchanges or forwards mail. E-mail applications use the mail exchanger (MX) resource record vĩ đại locate a mail server based on a DNS tên miền name in the destination address for the e-mail recipient of a message. If multiple mail exchanger (MX) resource records exist, the DNS Client service attempts vĩ đại tương tác mail servers in the order of preference from lowest value (highest priority) vĩ đại highest value (lowest priority).
Pointer (PTR) records Used by reverse DNS lookups vĩ đại map an IP address vĩ đại tên miền. Pointer (PTR) resource records tư vấn the reverse lookup process, based on zones that are created and rooted in the in-addr.arpa tên miền. You need vĩ đại have the appropriate reverse lookup zone present on your DNS server vĩ đại create a PTR record that maps an IP address vĩ đại a specific hostname.
Service location (SRV) records Specifies the host, port and protocol for a service. Service location (SRV) resource records are required when clients use DNS vĩ đại locate location services such as Active Directory tên miền controllers.
Name server (NS) records Specifies the authoritative name servers for a tên miền.
Text (TXT) record Enables the publication of text in a DNS record. Text records let you add text information that can be returned by querying DNS. TXT records are often used vĩ đại authenticate ownership of DNS zones.
Delegation name (DNAME) record Provides an alias for a tên miền, lượt thích a CNAME record, but includes all subdomains.
Start of authority (SOA) record Provides authoritative information about a DNS zone. The SOA record includes primary name server, tương tác of DNZ zone administrator, refresh information, and other information.

Working with resource records and zones

Resource records can be added vĩ đại an existing zone using the Add-DNSServerResourceRecord PowerShell command. Some common resource record types have other PowerShell commands where you don't need to specify the resource record type. You can also add resource records using the DNS Manager console. See Managing DNS resource records for guidance on working with resource records, including creating and modifying existing resource records of all types.

Next steps

  • Managing DNS resource records