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,
Friendly tip: The experimental platform of VMware + Centos6.6 x86_64, the command involved only for the implementation of the work model, not as a production server configuration basis. Content Summary:Working model of 1.DNS2.DNS positive and negative analytic implementation3.DNS Master-Slave synchronizationI. DNS fine-grained knowledge points1.1) Dns:domain name
1. Because of the design requirements of Exchange 2010, we need to add the relevant DNS records and add the following records:
Automatic discovery is an automatic Outlook feature provided by Exchange 2007 and above, and if your Outlook is above the 2007 SP2 version, you can enjoy the flexibility that automatic discovery brings to your machine. So we add a Autodiscover record here:
Autodiscover.xxx.xxx CAS Server1
Autodiscover.xxx.xxx CAS Server2
B
1. Recursive invocation principle: divide and conquer
To ask for a large-scale problem, you can:(1) Dividing the original problem into several sub-problems(2) Sub-problem scale is small to a certain program, can be directly solved, that is, the condition of the existence of recursive termination, called recursive export.(3) The sub-problems of the original probl
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
DNS Overview: DNS is the domain Name System, which is a distributed database, organized into a domain hierarchy of the structure of the computer and Network service naming system. Its role is: to transform the domain name into a network can identify the IP address, the results of the query to save, and told the client.
Second, DNS query process
1. Local resolut
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
host Access Www.XXX.com namespace: It specifies the hierarchy of the domain used for the organization name2. Resource record (RR): It maps DNS domain names to specific types of resource information for use when registering or resolving names in the namespace. In a Linux system, each line in the "Name resolution library (text file, located in/var/named/)" is typically called a resource record.3. DNS server:
name/IP correspondence record. A dns query starts from the top node of the tree and finds the corresponding end records.
Based on the domain name composition, the intermediate node directs the DNS query to the server at the next level. For example, if a domain name is cs.berkeley.edu, DNS resolution splits the domain name into CS, Berkeley, and edu, and then qu
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
domain name, then the flag will be set to 1 (I am not sure, but not 1 is 0).(2) The "recursive" flag bit for the flag field: There are two types of query actions, that is, iterative queries are also recursive queries. For example, A to B ask the way, b although do not know, but he will ask C and then tell a, this is recursion, and if b do not know to a said you yourself to ask C, and then a from the C ther
Types of DNS serversWhen a website in the ISP successfully applied to the IP address, and then in the domestic domain name service providers (such as Ali million network) to apply for a domain name, and then the domain name and IP address bundled with the protocol is the so-called DNS protocol. In the million network where the application for the domain name payment, million network will provide 2 server He
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
query request message from the Local Domain Name Server, either the IP address to be queried is provided or the Local Domain Name Server is notified: "Which Domain Name Server should you query next ". Then let the local Domain Name Server perform subsequent queries
Recursive query: the host generally uses recursive query to query the Local Domain Name Server. If the local domain name server on the host doe
Domain Name System (DNS) is a distributed database for TCP/IP applications that provides conversion information between host names and IP addresses. Typically, network users communicate through the UDP protocol and the DNS server, while the server listens on a specific 53 port and returns the relevant information required by the user.
A Related data structure of DNS
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.