DNS

A brief history of dns

In the eaisy time of internet,there no dns,the make the hosts in everyone in the internet,with the more and more computer came online,the hosts is not work nomally,through the DNS server be born.the most famous is the bind(Berkeley internet name domain)

Terminology

Domain name

A domain name is likely the way you interface with DNS most often when browsing the internet. e.g. google.com

Top-Level Domain

A top-level domain is an important,but rather generic,part of a domain name. Example include com, net,govand org

Fully Qualified Domain Name(FQDN)

A Fully-qualified domain name is equivalent to the absolute name. An absolute is one in which the full location of an item is specified. e.g.

root@deku# hostname –fqdn worker2.clu.kube.com

Zonefile

A zonefile is simply a text file made of a variety of different records for an indivdual domain.Each line of a zonefile contains the name of a particular domain, and then value and type associated with it. For instance,in google.com’s zonefile, there may exists a line which denotes www translates, via an A record to 173.194.34.68

Records

A DNS record is a single mapping between a domain and relevant data -for instance, an IP address in the case of an A record,or a mail server’s domain name,in the case of an Mx record. Many records make up a zonefile.

Resources types

Record Type Description
A domain name to ip
AAAA domain name to ipv6
CNAME domain name to domain name
MX email name
PTR fqdn record
SOA specifies authoritative details about a zonefile