Build a DNS server in Linux and a dns server in linuxSystem Environment: CentOS 6.5 miniIP Address: 192.168.100.1001. Install related software packages# Yum install-y bind * caching-nameserver2. Open firewall ports# Vi/etc/sysconfig/iptables-AINPUT-m state -- state NEW-m tcp-p tcp -- dport 53-j ACCEPT-AINPUT-m state -- state NEW-m udp-p udp -- dport 53-j ACCEPT-AINPUT-m state -- state NEW-m tcp-p tcp -- dpo
;FQDNReverse: Ip-->fqdnForward: Fqdn-->ipIp-->fqdn:FQDN-->IP:Www.magedu.com.IP1Inquire:Recursive: Only one request is issuedIteration: Making multiple requestsAnalytical:Forward: Fqdn-->ipReverse: Ip-->fqdnTwo-stage: recursive, iterativeDNS: Distributed DatabaseThe superior only knows its direct subordinate;Subordinates only know the location of the root;DNS server:Accept local Customer query requests (recursive)External client Request: Request author
In Linux, often parsing a domain name, the first will find /etc/hosts file, if the /etc/hosts file does not correspond, will go to find DNS, then what is the way to let the host first look for DNS it?Of course, it's defined in the /etc/nsswitch.conf file./etc/nsswitch.confHosts:files DNS//Find this section and change it to the followingHosts:dns filesIn this way,
And then, in the unfinished part of section nineth, we'll go on to explore the properties of the DNS server, the main content today is the Advanced tab, which is also an important part of the DNS attribute, but interestingly, we rarely modify the content here. However, the meaning of each option needs to be carefully understood.
Open the DNS properties and locat
Two days of indulgence, to get physically and mentally exhausted. I was almost late in the morning, but fortunately I stepped on it. Oh!In Friday, because the notification Sunday power outage, so the server, such as shutdown equipment, etc. are shut down. So the first thing I do is give them electricity. The buttocks just sat down, the colleague said the computer can not go in, in the Welcome interface has been spinning, 10 minutes. Another colleague said that the shared folder could not be acce
How to modify the Android phone DNS
First step
We take the Android phone as an example, click "Settings" in the phone and click "WLAN Settings" to open the entry
Second Step
Then we find our WiFi connection and then press it, and then we pop up the "Modify network".
Third Step
After entering, we click "Show advanced Options" To change "IP settings" to "static" so that you can manually enter a DNS addr
DNS in System parameters
DNS server 1, 2: Must be an address such as test.abc.com
Also, this address must be registered in the Registrar, Domain name Management "registered DNS server" in the domain name
Oh, I see. Is the same as the two of them?
Some registrars do not allow the same domain name
Is it okay to use a single server?
This address must be
Millet route Settings Baidu Public DNS How to operate it? The following small series for everyone to bring Millet route settings DNS method, millet route want to use Baidu public DNS to how to set it? Next to the friends who do not know with the small weave together to study under it.
Millet route setup Baidu Common DNS
In the last blog post we introduced several of the most essential records in a DNS server, including A records, NS records, and SOA records. In this blog post we will continue to introduce several other commonly used records of DNS, hoping to help you understand DNS.
Four MX records
MX records are also known as Mail Exchanger Records, and MX records are used to
Shell script-automatic DNS deployment and shell script dns
For details, see:
(1) Play with me the Linux Network Service: DNS service -- BIND (/etc/named. conf,/var/named) setting implementation and Explanation
1 #! /bin/bash 2 IP="10.10.10" 3 RIP="10.10.10" 4 DN="gr.org" 5 Name="10.10.10.10" 6 7 cat >> /etc/named.conf
Labels: local software compiled DNS bind named
Bind compilation and Installation
The software package with tar.gz and tar.bz2 is mostly through. /configure; Make; make install to install; some software directly make make install, we can use. /configure -- help to view the functions of the configuration software. Most of the software is provided. /configure configures the software's functions. A few do not. If not, make make install directly.
. One o
Description1, NetworkManager tool is the Ubuntu desktop version of the GUI setup tool.2, this tool is recommended to operate directly on the GUI, it is not recommended to use the command line management, such as WiFi configuration.3, of course, this tool can have command line tools:nmcli, if the use of NetworkManager to configure the network, then IP, gateway, DNS can be queried through this tool.4, if the command line network settings are configured,
the proxy server, the proxy server directly sends the buffered content to the user. If there is no buffer, a request is sent to the WEB server first to retrieve the data, and then the local cache is sent to the user. This method reduces the number of requests sent to the WEB server and the load on the WEB server.
Ii. System Architecture
1. Principles
DNS round robin technology is used to distribute request
1. The Setup method is very simple. We found "setup" on the phone and clicked on it to enter.
2. Then we click on the set of "Wireless LAN" to find it click to enter.
3. In the Wireless LAN list, click the exclamation point on the right side of the wireless network on which the current phone is connected, as shown in the picture
4. Now we find the following DNS in the DHCP below the IP address in the open interface, click on it.
5. Then we
Tags: cal grep nslookup no direct directory netstat images resRelated concepts:Forward parsing: Resolving a domain name to an IP addressReverse parsing: Resolving IP addresses to domain namesEnvironment: Linux Server One, IP address: 192.168.80.10The first step: Getting Ready for work[[email protected] ~]# yum install bind//Installation DNS service[[email protected] ~]# systemctl stop FIREWALLD//Turn off firewall[[email protected] ~]# Setenforce 0//Tu
System installation 2. Set the IP address, gateway, and DNS Convention: the first Nic is the Internet, and the second Nic is the Intranet (the Intranet must be configured on the second Nic for machines without the Internet)
I. Install softwareYum-y install bind-chroot bind-libs bind-utils caching-nameserver
Ii. Configuration
Cd/var/named/chroot/etc/Cp-p named. caching-nameserver.conf named. conf
Options {Directory "/var/named /";};
Zone "test.com" IN
Henan (China Telecom)
Preferred DNS 222.88.88.88
Alternative DNS 222.85.85.85
Zhengzhou City, Henan Province (China Telecom)
Preferred DNS: 219.150.150.150
Backup DNS: 219.150. 32.132
Zhengzhou City, Henan Province (China Netcom)
Preferred DNS: 202.102.224.68
access the server normally. DNS Server Load balancer uses a simple round-robin load algorithm, which does not distinguish between servers, does not reflect the current running status of servers, and cannot allocate more requests to servers with better performance, client Requests may even be concentrated on a server. Assign an Internet IP address to each server, which will occupy too many IP addresses.
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.