What parts does the URL contain, and what does each part do
URL: Protocol + domain name /IP+ port number + path + Query parameters + anchor
- Protocols: The most common protocols are HTTP and HTTPS. His role is to set the standard for information transfer between WWW servers and browsers.
- Domain name: Alternate name for IP address
- Port numbers: Each host has a number of port numbers, and these port numbers are the entry points into the access program. The default port number is 80/443.
- Path: On the same server, different paths can access different pages
- Query parameters: On the same page, different parameters can access different contents
- Anchor point: the same content, different anchor points corresponding to different positions
Nslookup nslookup nslookup nslookup
DNS can resolve domain names and match domain names with IP addresses. In cli mode nslookup www.baidu.com Returns the DNS server and IP address of Baidu
What is the function of IP? How does the ping command work
IP means “The protocol used to connect networks locates a device and encapsulates data. PING IP address Test whether the device can connect to the LAN. Check whether the network is smooth
What is a domain name? What are the categories of domain names
Domain name: An ALTERNATE name for an IP address can be level-1, level-2, or level-3. According to his type is divided into English international domain name, English domestic domain name, Chinese top-level domain name