In daily life, people often know the host domain name without knowing the host IP address, and the socket API is based on IP address, so need to use DNS domain name resolution server to parse.So the first simple introduction of the principle of DNS, DNS server system is tree
Find the corresponding network card name
Using commands: ipconfig
Copy Code code as follows:
Ipconfig/all
Windows IP Configuration
Host Name ............:d501-4-3
Primary Dns Suffix ...:
Node Type ............:unknown
IP Routing Enabled ... : No
WINS Proxy Enabled ... : No
Ethernet Adapter Local Area Connection:
Connection-specific DNS Suffix. :
Description
Windows 2000/XP parameter settings
Right-click the desktop Network Neighborhood → select "Properties" → "Local Area Connection" of the network card to select "Properties" → "general" → "Internet Protocol (TCP/IP)" To view its properties:
If the router is the default setting, then the host network parameter is set to:
ip:192.168.1.x (2-254)
Mask: 255.255.255.0
Gateway: 192.168.1.1
DNS: Fill in the local DNS
In the day-to-day IT operations, we often need to query the IP address of the corresponding host name, as well as anti-spam often use the Reverse address query function. DNS itself can also be used to complete the reverse resolution of the address settings, the type of reverse query we call it a PTR record (the reverse
IP address, DNS, gateway settings
[A]dns setting
Modify File vi/etc/resolv.confModify ContentNameServer 114.114.114.114NameServer 8.8.8.8
[Two]IP settings
Modify File: Vi/etc/sysconfig/network-scripts/ifcfg-eth0Modify ContentDevice=eth0 #描述网卡对应的设备别名, for example, Ifcfg-eth0 in a file that is eth0Bootproto=static #设置网卡获得ip地址的方式, possible options for STATIC,DHC
Easily convert IP addresses and DNS settings
Problem description:
For people who use laptops, they may often need to use them in different networks, such as the company network, customer network, or home broadband network. For this reason, you often need to set IP addresses and DNS servers based on the no-need network. For example, if you use a general broadband network at home, the IP
When using DOS batch processing to set IP addresses, DNS can greatly simplify the network management workload. For example, you need to manually set IP addresses for around 100 computers in the network environment of 192.168.0.1/24, if you set the local connection attribute of each computer in the Internet protocol, this will repeat a lot of work, in fact, each computer sets only the last bit of the IP address
The ipad and iphone have a consistent approach to configuring IP addresses, and this article only takes the ipad as an example.
STEP1 : Open IPAD main interface, select " Set up " menu, select the Wi-Fi ", enter Wi-Fi set the page as shown in the following illustration.
STEP2 : Open the wireless switch, search the wireless signal, as shown in the following figure.
STEP3 : Select any one of the wireless networks on the right. ">" button (in this case, the tp-link_pocketap_419f2e as an e
Here first introduces the next Nali this open source applet, project address: http://code.google.com/p/qqwry/
Here's a description of the website from the project's owner:
Copy Code code as follows:
Download
nali-0.2.tar.gz–2011-09-11 Release (download link one, download link II)NALI-0.1.TAR.GZ–2009-08-16 Release
Description
Nali, the name is taken from the Chinese "where" pinyin. Nali contains a set of command-line programs who
Ping www.baidu.com on Linux does not work, which means that the domain name server is not well-equipped.Cat/etc/resolv.conf look at the configured IP. How can I know the IP of the domain name server?I found that Windows computer can be on Baidu, indicating that there is a domain name server.Locate the IP for DNS on WindowsPing the CNS domain name in cmd and it may show an IP address, and fill the
This technique is very useful for friends who often use laptops for business trips, such as in another environment, such as the customer's company, you always need to change the network to someone else's intranet address, gateway, DNS, and so on. Write a batch processing file, and then change it to the next one. It's faster than the mouse operation.
Form: http://blog.csdn.net/zmxjModify the IP
Article Title: manually configure UbuntuLinux to specify the DNS server address. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
This section describes how to specify the DNS server addre
Temporarily modify IP address, gateway, host name, DNS, immediately effective, no reboot (failure after reboot)
1. Modify Host Name
The code is as follows:
#hostname Slyar
2. Modify IP address (eth0 is the name of the network card)
The code is as follows:
#ifconfig eth0 192.168.1.5 netmask 255.255.255.0
3. Modify the default gateway (Eth0 is the name of th
Tags: Disable conf mct color serve static NIC and SDN1, first stop the desktop version of the NetworkManager, this thing is very difficult to use, and some settings need to restart.sudo systemctl Stop Networkmanager.service sudo systemctl disable Networkmanager.service2, set the MAC address in the Help document should look for this keyword: hardware address, set up in two ways, temporary and permanent.
Temporarily modify IP address, gateway, host name, DNS, immediately effective, no reboot (failure after reboot)
1. Modify Host Name
The code is as follows:
#hostname Slyar
2. Modify IP address (eth0 is the name of the network card)
The code is as follows:
#ifconfig eth0 192.168.1.5 netmask 255.255.255.0
3. Modify th
Because the company's computer every time the power-on reset assigned IP address is different, which leads to a lot of inconvenient things, so simply lock a fixed IP address, the following is the steps I lock the IP address:1. Set the IP addressVi/etc/network/interfacesAdd the following content:# The Primary network interface# ENP2S0 is your computer's network ca
#Script forchanging IPSEC address when DNS changes. #Script'll iterate through all peers looking forAddr_inchThe comments. It'll then#check forChangesinchThe IP forThat DNS nameifThe IP address differs it'll modify the peer# asWell asAny policy with the old IP address asWell
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.