In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
In this issue, the editor will bring you about how to query ip through the domain name. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
You can query the IP address of the domain name through CMD (command prompt). One is the ping command, and the other is the nslookup command.
A domain name (Domain Name) is the name of a computer or computer group on an Internet consisting of a string of dotted names, which is used to identify the electronic location of the computer during data transmission. In popular terms, the domain name is the URL we usually use when browsing the web (such as: www.west.cn). The domain name is only for the convenience of reading and memory, the computer can not deal with it directly, and the domain name needs to be resolved to the corresponding IP address through the domain name server (DNS) before it can be accessed on the network. Therefore, you can also access the network by entering the corresponding IP address directly in the address bar of the web browser.
1. Ping command
Open the cmd command (start-run-enter cmd, enter to enter; or function key + R, call up the run window), take the domain name as an example, enter: ping www.west.cn enter, you can get the following results:
As can be seen from the picture, 61.139.126.229 is the domain name IP address.
2. Nslookup command
Also in the cmd command interface, typing nslookup will first return our own DNS server address and IP address
Then enter: www.west.cn
You can get the content of the above figure: addresses information, aliases information. Addresses even if the domain name corresponds to the IP address, there are two, the first is the address of IPv6, and the second is the address of IPv4. Aliases, on the other hand, verifies that the domain names of websites are consistent.
The data recorded on the DNS server is called a resource record (RR). There are many different types of resource records, the most important of which is the A record, which represents the correspondence between the "host name" and the "IP" address and is used to convert the domain name into an IP address. By default, nslookup queries the A record.
The above is what the editor shares with you about how to query ip through the domain name. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.