Domain Name resolution record

Source: Internet
Author: User
Tags domain name server mx record nslookup nslookup command

From:

56486734?utm_source=copy

53914524?utm_source=copy

——————————————————————————————————————————————————

First look at the domain name resolution and the pan Domain name resolution:

First, what is the domain name resolution?

Domain name resolution is the process of converting a domain name to an IP address. IP address is the digital address that identifies your site on the network, in order to be easy to remember, the domain name is used instead of the IP address to identify the site address. The resolution of the domain name is done by the DNS server.

Second, what is the pan-domain name resolution?

Pan-domain name resolution refers to resolving the *. Domain name to the same IP (this IP must be an independent IP).

Add any subdomains before the domain name to access the Web address you are pointing to. That is, the customer's domain name a.com under the *.a.com all resolved to the same IP address up.

For example, the customer set b.a.com will automatically resolve to the same IP address as the a.com.

Third, the difference between the pan-domain name resolution and the domain name resolution?

The pan domain name resolution is: *. domain name resolves to the same IP.

Domain Name resolution is: sub-domain name. the domain name resolves to the same IP.

Note: A generic domain name makes sense only when the user's space is an independent IP. The domain name resolution does not have this requirement.

The above content is the domain name resolution and the domain name pan-analytic difference, hoped for the domain name resolution and the domain name pan-analytic friend to be able to help you!

Host record:

www indicates the domain name after parsing is www. domain name

@ means resolving primary domain directly

* Denotes pan-resolution *. Domain name

Record type:

A record: Address record, used to specify the IPV4 address of the domain name, if you need to point the domain name to an IP address, you need to add a record.

CNAME: If you need to point a domain name to another domain name and then provide an IP address from another domain name, you need to add a CNAME record.

TXT: Here you can fill in anything with a length limit of 255. The vast majority of TXT records are used to make SPF records (anti-spam).

NS: Domain name server records, if you need to send the domain name to other DNS service provider resolution, you need to add NS records.

AAAA: Used to specify the host name (or domain name) corresponding to the IPV6 address (for example: FF06:0:0:0:0:0:0:C3) record.

MX: If you need to set up a mailbox so that your mailbox can receive mail, you'll need to add an MX record.

Explicit URLs: When redirecting from one address 301 to another, you need to add a dominant URL record (note: Dnspod currently supports only 301 redirects).

Implicit URLs: Similar to explicit URLs, except that implicit URLs do not change the domain names in the address bar.

SRV: Records which computer provides which service. The format is: the name of the service, the point, the type of protocol

--------------------------------------------------------------------------------------------------------------- ---------------------

About viewing Domain A records, MX records, CNAME records-nslookup usage Introduction


Ping to see the IP address of the domain name, so that only the domain name of a record, to query the domain name of the MX record, CNAME record or NS records, the nslookup command can be used. Nslookup is a command that comes with Windows Nt/2000/xp and UNIX, Linux and other operating systems.  (not in Windows 98/me). In Windows DOS command Line window, or unix/linux command line, enter Nslookup, after startup, the interface is as follows (for example in Windows):

where "Default server" and "address" are the DNS server domain names and addresses that are currently being used for Internet access. ">" is a nslookup prompt. Enter "?" at the prompt and enter, you can see the help information of Nslookup, enter "Exit" and return to exit Nslookup.
At this point, enter the domain name directly under the prompt, you can find a record of the domain name. For example:


where "non-authoritative answer" means that the query results are returned from the DNS cache.
Enter the set TYPE=MX, and then enter the domain name to query the MX record. For example:


Enter set Querytype=cname, and then enter the domain name to query the CNAME record. For example


Enter the set Type=ns, and then enter the domain name to query the NS record. Cases:

In the computer point "start" _ "Run" _ Input "CMD" _ Enter the following will be in the black box that appears inside Input: 1, query the domain name of a record nslookup (space)-qt=a (space) domain name example: query command nslookup-qt=awww.163ns.com Results of the query: 61.155.150.232 is a kee

In the computer "start" _ "Run" _ Input "CMD" _ Carriage return
The following will be entered inside the black box that appears:
1, query the name of a record
Nslookup (space)-qt=a (space) domain name
Example: Query command Nslookup-qt=a www.163ns.com
Results of the query: 61.155.150.232 is what a record points to,
Also use this method can be in the domain name resolution to see if the domain name is parsed into effect (in general, the domain name changes will take effect within 2 hours after the resolution).
2. If you query the MX record for the domain name:
1 method, enter nslookup (space)-qt=mx (space) domain name
In the last line mtservers.vicp.net this is the value of the MX record for this domain name
3, the same can be found Txt,cname record value:
Nslookup (space)-qt=txt (space) domain name
Nslookup (space)-qt=cname (space) domain name
4. Querying DNS for domain names
Nslookup (space)-qt=ns (space) domain name
The value of QT here is not DNS, it is NS.
With this convenient command, you can view the dynamic of your domain at any time.

Domain Name resolution record

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.