Discover caching dns server centos, include the articles, news, trends, analysis and practical advice about caching dns server centos on alibabacloud.com
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
Tags: DNS Linux operationsTest environment:Os:centos 6.5bind:9.8.2Software Installation method: YumMain Dns:realserver1 192.168.200.134From Dns:realserver2 192.168.200.135Test server: test01 192.168.200.136First Step: Environment preparationMounting the ISO disc provides a local Yum source, and if your server can provide an external network, you may not need to c
localhost area-used to convert localhost to a local return address (127.0.0.1)/Var/named/name. local-localhost Reverse Domain name resolution file-used to convert 127.0.01 to localhost/Var/named/name2ip. conf-forward parsing file in the user configuration area-zone file for ing host names to IP addresses/Var/named/2ipname. conf-direction resolution file of the user configuration area-zone file used to map IP addresses to host names
3. Install BIND Domain Name
Basic and advanced DNS configurations in CentOS
How DNS servers work and functions
DNS creates different regions in the network (a region represents the management set of resources to be named in the Network), and queries host names and addresses using a distributed data system. When you type the host name to be access
. If the .com.cn DNS server does not have the resolution information for this domain nameThe DNS Server responsible For the .com.cn Resolution Service informs .example.com.cn of the IP address of the DNS server;8. The local
Set up smart DNS for BIND in CentOS LinuxDue to the rapid development of the Internet, simple DNS resolution can no longer meet the needs of today's Internet. As a result, the intelligent DNS statement emerged. Next, we will briefly introduce how to install BIND software in CentOS
Use Bind to configure DNS service in CentOS
1. Introduction to DNS
Ii. Bind Installation
3. Bind configuration
Iv. Bind Check Configuration File
V. Verification
6. Common Errors
VII. Waiting for sorting
1. Introduction to DNS
DNS (Domain Name Service), Domain Name resolution
Common commands and troubleshooting tools:
View Processes
Ps aux | grep named
Start
Service named start (centos)
/Usr/local/bind/sbin/named-4 (redhat)
Kill
Killall named
View port
Netstat-ano | grep 53
Detection
Nslookup
Dig
Dig-x
Change dns
Vi/etc/resolv. conf
Change Nic
Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Centos System (then you will be happy, you can
-medium.cnf to/etc/my. cnf, whether to overwrite select y.
[Root @ localhost mysql] # cp support-files/mysql. server/etc/init. d/mysqld
[Root @ localhost mysql] # chmod a + x/etc/init. d/mysqld
Grant the execution permission to mysqld
[Root @ localhost mysql] # service mysqld start
Start the service mysqld.
An error is found:
If this error occurs, run the command again:
[Root @ localhost mysql] # chown-R mysql.
[Root @ localhost mysql] # chgrp-R mysq
networkHOSTNAME = centos # Set host name4. Modify the NIC[Root @ centos ~] # Vim/etc/sysconfig/network-scripts/ifcfg-eth0Open the file, modify the following content, and saveDEVICE = eth0 # corresponds to the first NicTYPE = EthernetONBOOT = yes # run at startupNM_CONTROLLED = yesBOOTPROTO = static # use a static IP address instead of an IP address allocated by DHCPDEFROUTE = yes20174_failure_fatal = yesIP
Cache.In linux, DNS functions are implemented through the bind software. Almost every linux release comes with this DNS service software, the following describes how to install, configure, and use the DNS service.
Ii. DNS Service EstablishmentHere we will describe the environment as follows:Operating System: Red Hat E
In the process of using a vro for networking, the DNS server is an essential public service. Today, we will explain how to install and configure DNS servers in Linux. The network topology is three dns servers (primary DNS, lower-layer DN
we make master/slave then we can modify master directly. But here we are involved in a priority problem, whether it's master or slave, to ensure that the data is exactly the same.
3, the Master/slave data synchronization process;
First slave data is read from master, but how to notify slave after master data update? There are two ways to tell the slave database. One is master's initiative to tell slave when master modifies the content of the data and enlarges the serial number of the database
1. install the software packages dig and nslookup. Centos: # yuminstallbind-utilsDebian: # apt-getupdate # apt-getinstalldnsutils set the dns server IP address in/etc/resolv. conf before querying. II. usage
1. install the software packageInstall related software packages for dig and nslookup.
Centos:# yum install bind-
# Cd/media/cdrom/CentOS/RPMS (this is the package directory of CentOS4)# Cd/mnt/cdrom/RedHat/RPMS (this is the package directory of RedHat9)Find the following rpm package from the first disk:Caching-nameserver-7.3-3.noarch.rpmFind the following rpm package from the second and fourth disks:Bind-libs-9.2.4-2.i386.rpmBind-utils-9.2.4-2.i386.rpmBind-9.2.4-2.i386.rpmBind-chroot-9.2.4-2.i386.rpmBind-devel-9.2.4-2.i386.rpm(Of course, the current version numb
many modules. While we will focus primarily on Web services, you will see that almost every part of your system can be configured and managed through Webmin.Webmin's official website is: http://www.webmin.com/, the latest version is 1.530.2. BINDBind (Berkeley Internet Name Daemon) is the most commonly used DNS server software on the Internet today, and the DNS
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
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. CentOS gateway modification
Modify the gateway configuration
cache server.4. Forwarding server (forwarder server)The forwarding server can send DNS requests that will be resolved to servers outside the network, which can keep other servers on the LAN hidden from the Internet.****************Bind installation and start-upBind is a Lin
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.