Install and configure the DNS server in linux, and configure the dns server in linux
1. DNS concept:
Simply put, DNS is a service on the system that uses port 53 to provide mutual conversion between domain names and IP addresses. For example, if you access www.csdn.net, the router cannot know the address. You need to
In the previous blog, we introduced the DNS server architecture, from which we learned that if we want to register a domain name, then we must go through the top-level domain name server or its subordinate domain name server for our application of the domain name to delegate, the right to resolve to our DNS server, In this way we can obtain the right to resolve the requested domain name. In this article we
In the last section, we use the form of text to describe the process of DNS parsing, in order to better help you understand the entire parsing process, I did a DNS domain name resolution of the step-by-step diagram, as follows:
In this diagram, the 8-step parsing process allows the client to successfully access the domain name of www.163.com, but in practical applications, the process is usually very rapid
hosts for transfer)
Master and slave.
How do I create a DNS slave server?
Rpm-e bind-libs bind-utils
SCP 172.16.100.1:/etc/yum. Repos. d/server. Repo ./
Yum-y install bind97 bind97-utils
Ls-L/var/named/# note that the data is synchronized using the named user and named group during data synchronization. Therefore, it is not allowed to directly put the data under this directory;
When synchronizing data, you can directly put it in the slave directo
Modify DNS in Linux and dns in linux
Not long ago, I encountered some problems on the server. I need to modify the dns configuration of the server and write it down. I used centos 6.5.
The DNS configuration file is in/etc/resolv. conf, but the service network restart is restarted after modification. If it is opened a
How to change the DNS settings for IOS devices
The first step: we click "Set" in Iphone6 standby and then open it into the details below.
Step two: Now we're going to click on wi-fi"Wireless LAN" Here we want to find ourselves using Wi-Fi network. " As shown in the following figure
Step three: Then, as shown in the following figure, the previous selection is the WiFi we are on, and we click the "Show Info" button (the letter "i") on the
DNS client registration information in the DNS server is reflected in the way, then the client can use some way to query all kinds of records. Corresponding, the server will respond to these queries, we call it parsing, as for the internal work mechanism of DNS, we do not know, but we can through some commands and methods to understand the
@ Zheng yu Summary
I. symptom: Java httpclient initiates an HTTP request to the WebService interface under the x××× open. x××. com domain name from the master station data center, which is extremely slow. Troubleshooting:
1.1. wget test results No
Specify the IP protocol and the interface for wget to access it. The time is 4.163 seconds, which is basically a waste of host parsing.
If the IP protocol of the specified wget is IPv4, The wget test takes only 0.096 seconds.
1.2. WGEtCompari
Document directory
DNS structure:
Header section:
Question:
Resource Structure:
Every time we enter any domain name in the browser to access a website, we use the DNS protocol to perform a "Domain Name: IP" query. As a command line user, the NSLookup command is the most widely used DNS-related command. As a programmer, taking C # as an example, the IP add
When
NetlogonWhen the service cannot register or cancel registering multiple resource records, the System Event Log will recordNetlogon5781Error message. The event description does not contain the names of these resource records. In addition, the event description may be "no ",DNS servers are available ", note: the common cause of these errors is that the domain controller references itself as the DNS
[Daily] DNS iterative Query Process and dns query Process
DNS is an application layer protocol, and the port numbers are tcp/53 and udp/53.DNS query process, such as accessing www.test.com1. The client queries www.test.com2. query the preferred DNS server, in Linux/etc/re
In the previous blog, we described how to create a common DNS record in a DNS server, and in this article we'll show you how to configure a secondary server for DNS, as well as a stub zone similar to a secondary zone.
A DNS secondary server is a fault-tolerant design, considering that once a
Introduction to DNSDNS (domain Name System, domainname)
on the Internet as domain names andIP Addressone of the mutual mappingsDistributed databaseTo make it easier for users to accessInternet, instead of remembering the number of IP strings that can be read directly by the machine. ThroughHostname, the process of eventually getting the IP address for that hostname is called Domain name resolution (or hostname resolution). The DNS protocol runs onUd
The previous section describes some of the main DNS suffixes of the computer, and today this section continues to extend this topic, as well as other concepts related to it.
The test environment in this section is a simple topology environment in which a DC is connected to a client computer. The following figure:
In the WINS series, we said that when a ping program is used to access a name, if a WINS server is set up, a resolution request is sent to
Each entry in a database is called a resource record (RR)
Resource record format:
The second field in the first section, the third field, the fourth field (resource record type), and the fifth field
Name TTL in (Internet) rrtvalue
If TTL is not written, you must specify a default value in the global variable. The TTL value can be omitted.
TTL 600;
For example:
Name [TTL] inrrt (resourcerecordtype) Value
Www.zledu.com. ina1.1.1.1
1.1.1.1inptrwww.zldu.com. (reverse resolution)
Resource Reco
First, the early topology map planning
DNS dual NIC; eth0:192.168.6.248 eth1:192.168.7.248
Telecom users: 192.168.6.X this network segment analog IP address 6.248 6.244
Unicom Users: 192.168.7.X This network segment analog IP address 7.248 7.244
Other users: any
Site Cluster Address:
Telecom Access: 192.168.1.1 192.168.1.2
Netcom Visit: 192.168.2.1 192.168.2.1
Other users: 192.168.3.1 192.168.3.1
Second, the configuration of rsync services,
The installation of DNS servers and clients is briefly described in the previous section. Although there are few knowledge points involved, there are already two parts of the DNS system that are indispensable, that is, DNS servers and clients, and the DNS system includes zone and resource records, which are primarily d
How does the DNS for Linux be set up? How to modify DNS addresses under LinuxHttps://jingyan.baidu.com/article/870c6fc32c028eb03fe4be30.htmlThe location of DNS settings under Linux is primarily,1 network card settings configuration file inside the DNS server address settings, 2. System default
Preface:If you are lucky to be seen by a friend and find something wrong in this article, you may want to criticize and correct it. If you have any questions, we hope you can discuss them together.
Because I have not registered a valid domain name, I only need to configure the DNS server in my LAN.
DNS Environment Planning
Vm ip Address: 10.170.2.10 master DNS
Achieve the goal:
Building a DNS server1) Sina Server (dns.sina.com)Dns.sina.com-->192.168.4.5www.sina.com-->1.2.3.40news.sina.com-->1.2.3.452) Sohu Server (dns.sohu.net)dns.sohu.com-->192.168.4.6movie.sohu.net-->5.6.7.80study.sohu.net-->5.6.7.85
Client test:To 192.168.4.5 can query Movie.sohu.net, also can contrast 1.2.3.40To 192.168.4.6 can query www.sin.com. can also counter-check 5.6.7.80
Experimental process:The prerequisite has
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.