At present, many enterprises and institutions have set up units within the LAN, the internal network are equipped with related servers (such as Web, FTP and other servers). Internal network users want all servers to use domain names to access, network administrators can use the way to build a DNS server to achieve.
Set up a DNS
Overview: What is DNS spoofing?
DNS Spoofing is the art of changing the original IP address of DNS. For better understanding, let's look at an example. If you want to use a browser to search for some information on Google, you can enter the information in the address bar without a doubt.
Www.google.com
And press Enter
People may have such a puzzle: computers on the network can only identify such as "123.123.123.123" such as digital address, so why when we open the browser, in the Address bar to enter the domain name dns.qy.com.cn, we can see the page we need?
In fact, just an IP address and domain name each other "translation" process. The former has to establish a domain name Mapping record that points to the corresponding IP
Concept FinishingAlthough the common protocol is easy to understand, but after looking after a period of time not to see or easy to forget, note the following, more fragmented, reluctantly for you to review. If there is a mistake, please correct me.DNS ProtocolThe role of the DNS protocol is to resolve the domain name to IP, the number of domain names is very large, and the corresponding relations
1. Set IP address, gateway Cp/etc/network/interfaces/etc/network/interfaces.bak # Backing up legacy configuration Files Vi/etc/network/interfaces # Edit Network adapter profile # The Loopback network interfaceAuto LoIface Lo inet Loopback# The Primary network interfaceAuto eth0 # Auto Connect networkAllow-hotplug eth0Iface eth0 inet Static # static means using dynamic IP with fixed
D:/>netshNetsh>ipNetsh>interfaceNetsh interface>ipCommands in this context:Set address-Sets the IP or default gateway for the specified interface.Set DNS-sets the DNS server mode and address.Set wins-sets the WINS server mode and address.netsh interface
Tags: file handle relative path CDC receive sbin data notation Windows ASI"The main content of this blog post"
Introduction to bind server (including Introduction to Client Tools Dig)
Configuring forward parsing DNS servers
Configure Reverse resolution DNS server
Configuring a secondary
Use DNS-views to resolve IP addresses in different regions-Linux Enterprise Application-Linux server application information. For more information, see the following section.
I. Introduction
In actual network applications, we sometimes hope that the same Domain Name can be resolved to different corresponding IP address
achieve communication between the two networks, you must pass through the gateway. If the host in Network a discovers that the destination host for the packet is not on the local network, forwards the packet to its own gateway, which is then forwarded by the gateway to Network B's gateway, and the gateway of Network B is forwarded to a host on network B. The same is true of network B's process of forwarding packets to network A. Therefore, only if the IP
found12-dec-2005 13:55:46. 825 listening on IPv4 interface fxp0, 219.132.1.1 #5312-dec-2005 13:55:46. 825 listening on IPv4 interface lo0, 127.0.0.1 #53......12-dec-2005 13:55:46. 866 runningAs long as there is the last line, your configuration is basically successful.Press Ctrl + C on the keyboard to stop BIND 9 first.
6. Add an NSWhen you modify the domain name information, you will find that there is a DNS information modification, there will be s
Copy Code code as follows:
:: Get the NIC name with the Ipconfig/all command.
for/f "tokens=2*"%%i in (' ipconfig/all^|find/i "Ethernet adapter" ') do set name=%%j
:: Remove the colon after the network card name with the for command.
for/f "tokens=1* delims=:"%%i in ("%name%") do set network card name =%%i
Apply the above script to modify DNS, such as the national DNS
from/etc/hostname.
For more information about setting host names, visit here
5. Configure DNS
First, you can add some host names to/etc/hosts and the IP addresses corresponding to these host names. This is a simple static query on the local machine.
To access the DNS server for query, you need to set the/etc/r
1. Main DNS configuration files
/Etc/hosts-a list file of the Host-contains a list of known hosts (in the local network). If the system IP address is not dynamically generated, you can use it, for simple host name resolution (dot notation/Etc/host. conf-Conversion Program Control File-tells the network Domain Name Server how to find the host (usually/etc/hosts, a
That, since the domestic technology has appeared the DNS pollution problem, often caused a lot of foreign site access is not normal, so by reference to some blog to avoid DNS pollution method, decided to build an Ubuntu JeOS DNS cache server, the server uses TCP to obtain
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,
Many users want a credible proof of whether the speed of the Win7 system is affected by the DNS server. Many times when users have DNS servers, they are concerned that DNS servers can have a detrimental effect on the speed of windows7 system surfing. When the user opens a local connection in the network and Sharing Cen
1.1. Set the IP address, gateway, and DNSRHEL7 inside the network card naming method from the eth0,1,2 way into the enoxxxxx format. En stands for enthernet (Ethernet), O stands for onboard (built-in), and that number is automatically generated by an index number of the motherboard to ensure its uniqueness. Compared with the original naming method, this new way is longer, difficult to remember, but the advantage is that the number is unique, when the
1. Stop the DNS service (Execute command in run: net stop DNS)
2, open regedit, find Hkey_local_machine\system\currentcontrolset\services\dns
3. Export this branch of DNS. Named Dns-1.reg
4, Find Hkey_local_machine\software\microsoft\windowsnt\currentversion\dnsserver
If you have the opportunity to build your own server in your local area network to configure a static ip address and dns, you must modify the ip address so that the ip address remains unchanged for future access convenience. Next, let's talk about how to set such an
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.