Dns ii dns record type

Source: Internet
Author: User

Each entry in a database is called a resource record (RR)

Resource record format:

The second field in the first section, the third field, the fourth field (resource record type), and the fifth field

Name TTL in (Internet) rrtvalue



If TTL is not written, you must specify a default value in the global variable. The TTL value can be omitted.




TTL 600;

For example:

Name [TTL] inrrt (resourcerecordtype) Value

Www.zledu.com. ina1.1.1.1

1.1.1.1inptrwww.zldu.com. (reverse resolution)



Resource Record type: indicates the type of the server in our NS server.

SOA :( start of authority): the initial authorization record. It must be the first of all DNS records. Used to indicate how data is synchronized between master and slave servers within a region and who is the starting authorization object)

SOA (start of authority ):

Format: Zone namettlinsoafqdn (Master DNS server address) administrator_mailbox (Administrator Email Address )(

Serial number

Refresh

Retry

Expire

Na TTL) (the five attributes are in parentheses)

Note that the unit of time for the preceding durations is m (minutes), H (hours), D (days), and w (Weeks). The default unit is seconds.

Email format: [email protected]-write it as-> admin.zldu.com here you must change @.

Note: In the region file, @ has special significance. @ is often used to indicate the region name.

Example:

Zledu.com.600insoans1.zledu.com.admin.zledu.com .(

2013040101 (note that the length of a value cannot exceed 10 characters)

1 H

5 m

1 W

1D)

In addition, the above content page can be written into a row;

Zledu.com.600insoans1.zledu.com.admin.zledu.com. (2013040101 1 H 5 m

1 W

1D)

NS: clearly indicates that you are the manager of this domain. Domain name --> FQDN; each nameserver must add an IP address.

For example:

Name TTL in RRT Value

Zledu.com. 600 in NS ns1.zledu.com.

Ns1.zledu.com. 600 in a 1.1.1.2

Zledu.com. 600 in NS ns2.zledu.com.

Ns2.zledu.com. 600 in a 1.1.1.3

These two are paired. The DNS server is defined within the region to specify which server is the master server and which is the slave server.

A: address represents the address from FQDN-IPV4;

Aaaa: Address Resolution for the FQDN-IPV6.

PTR :( pointer) indicates that the host name is followed by the IP address.

The above three types use the most RRT, but they are not the most important.

Mx (Mail exchanger): Zone name --> FQDN (the mail server is also defined with a special priority)

Zone namettlinmx privalue

Priority: 0-99. The smaller the number, the higher the level.

Zledu.com.600inmx10mail.zledu.com.

Mail.zledu.com. 600ina1. 1.1.3

At the same time, the real communication must be an IP address, so a record is given.

Cname :( cononical name) FQDN -- "FQDN:

Www2.zledu.com. In cname www.zledu.com. # The Name Of www2.zledu.com. Is www.zledu.com. The record is called an alias record.

Occasionally, the following types of records may be displayed:

Txt

Chaos

Srv


Domain: domain logic concept

Zldedu.com


Region file: physical concept of Zone

Two data files need to be created. One is a forward parsing file, and the other is a reverse parsing file. The two files are combined into one domain. Therefore, Region is a physical concept, and a domain is a logical concept.


. Com

Zledu.com.innsns.zledu.com.

Ns.zledu.com. ina192.168.0.10



Zledu.com. 192.168.0.0/24


Www192.168.0.1

Mail192.168.0.2, MX


Create two regional files:

Forward region File

Zledu.com. insoa


Www.zledu.com. ina192.168.0.1

Abbreviated:

Wwwina192.168.0.1


Reverse region File

100.16.172.in-ADDR. ARPA. insoa (write the CIDR block address in turn)


1.100.16.172.in-addr.arpa.inptrwww.zldu.com. (full write)

1inptrwww.zldu.com)



The Zone region file is a collection of resource records, except that the first one must be an SOA record. Except the region name, the first one must be the same.



The obtained DNS data file must be synchronized from the primary DNS data file. If we define an hour, the data changes in just five minutes. What about other machines?


Type of region transfer:

Complete region transfer: axfr

Incremental region transfer: ixfr

Region type:

Master region: Master

Slave region: slave

Tip area: hint. If the DNS request finds that it is not your own domain, you need to find the root. This area is called the prompt area.

Forwarding area: forward. It clearly indicates that you do not need to go to the root to find a type.


This article from the "sweat achievement dream" blog, please be sure to keep this source http://redhatdragon.blog.51cto.com/9183870/1441339

Dns ii dns record type

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.