Centos 6.5 DNS Configuration
In any operation, a domain name has at least two DNS servers. One is called a Primary Domain Name Server, and the other is called a secondary Domain Name Server. These servers are usually used for failover: If one
DNS server is actually a domain name resolution system, the prerequisite is only that two virtual machines can ping the same can, so can be in the basic network configuration alone, or you can follow the DHCP server to practice, but we used to ping the IP address, now become ping domain name (example: Ping www.qq.com)DNS
IP address from the NIC to static, This field specifies the IP address of the NIC.
IPV6INIT = no
IPV6_AUTOCONF = no
NETMASK = 255.255.255.0 # network mask corresponding to the network adapter
NETWORK = 192.168.1.0 # NETWORK address of the NIC
ONBOOT = yes # whether to set this network interface when the system starts. if it is set to yes, the device is activated when the system starts.
II.
1 Master-Slave dns--prepare--dns master-Slave theory
1, what is DNS?
Simple understanding, Domain Name System, is the Internet a core service, he as a bridge can be a domain name and IP address of the mutual factors of a distributed database, can make people more convenient access to the Internet, rather than to remember the complex IP address.
2, the type of
-addr. arpa" IN {Type master;File "192.168.25.zone ";};Configure the region of the slave DNS Server:Zone "bkjia.com" IN {Type slave;File "slaves/bkjia.com. zone"; // pay attention to the owner, group, and permission of the slaves fileMasters {192.168.25.10; // pay attention to the plural number of the master, so you can write multiple192.168.25.11; // no matter how many msters there are, there must be a semicolon.};};
RHEL6
CentOS-5.6-x86_64-bin under the DNS installation Basics 1, installation ### remarks: SystemOS: CentOS-5.6-x86_64-bin-DVD-1of2 # yuminstall-ybindbind-chrootypbindbind-utils # rpm-qa | grepbindbind-libs-9.3.6-16...
Basic DNS installation under CentOS-5.6-x86_64-bin1. Installat
. Recursive resolution: the local DNS server sends a request to the root domain name server. The root domain name server resolves the request to the Local Domain Name Service and obtains the record to the local DNS server, the loc
db. cache file
In Linux, a named is usually provided under/var/named. ca. This file contains the top-level domain name server of the Internet, but this file usually changes. Therefore, it is recommended that you download the latest version from Internic. The file can be downloaded from ftp.rs.internic.net through anonymous ftp. The file name is named. root under the domain directory. Note: After downloading the file, copy it to the named working dir
Gateway settings
Modify File: Vi/etc/sysconfig/networkModify ContentNetworking=yes #表示系统是否使用网络, generally set to Yes. If set to no, the network cannot be used, and many system services programs will fail to startHostname=localhost.localdomain #设置本机的主机名, the host name set here corresponds to the hostname set in/etc/ho
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
particular server, we can install multiple servers in the network. For example, there is only one X235 Web server in the original network whose host name is Www.test.com,IP address 192.168.1.100. To reduce the load on this Web server, we can install multiple X235 on the network to provide Web services and ensure that the content of each Web
Basic DNS installation under CentOS-5.6-x86_64-bin1. Installation### Note: System OS: CentOS-5.6-x86_64-bin-DVD-1of2# Yum install-y bind-chroot ypbind bind-utils# Rpm-qa | grep bindBind-libs-9.3.6-16.P1.el5Bind-utils-9.3.6-16.P1.el5Ypbind-1.19-12.el5_6.1Bind-9.3.6-16.P1.el5Bind-chroot-9.3.6-16.P1.el5# Yum install-y caching-nameserver-9.3. * // you can start named
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
In CentOS7, how does one set the DNS server under CentOS7 and manually set the DNS in/etc/resolv. conf? after a while, the system overwrites or clears the DNS server. Different from set
11.0.0.1, server B is the secondary Domain Name Server of 21php.com, and its IP address is 11.0.0.2;
Next we configure the primary DNS server 11.0.0.1 as 21php. com.
The DNS function in Linux is implemented through the BIND software. After the BIND software is installed, se
-way handshake. Therefore, this makes it very easy to use any IP address you choose to send a UDP packet. So why is it hard for attackers to set up their own DNS servers when they can send fake packets from any DNS server? He can directly ask the victim's DNS
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, and then the Domain Name
Dynamic Update of DNS and DHCP in CentOS 7
Windows domain has a function, dhcp sends the new ip address data to the DNS server, so that you can easily remotely know a person's computer name.
Of course, similar functions can be well implemented in linux. Man 5 dhcpd. conf is described in detail.
Yesterday, the O M
Because the company has colleagues in charge of Dalian, Shenyang Two cities, often in both directions back and forth, to each city, they have to manually change the corresponding network configuration, and to live in the field is the hotel, the hotel is automatically access to the Internet IP, but also the network settings canceled, really troublesome! So I thought of writing a batch process! To solve this problem! The main command to use is netsh.-The first method is to
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.