After the first three sections of the matting, presumably we should have a basic understanding of DNS and related concepts, this section began to discuss the DNS server installation and configuration, but also have the client settings, the content is very basic.
Today our test environment is made up of a single server for installing the
the service is compromised by an attacker, the access rights of the attacker are based on this lower privilege because of the low process permissions."Configuration file":[Email protected] ~]# RPM-QC bind/etc/logrotate.d/named/etc/named.conf #主配置文件/etc/named.rfc1912.zones # The Zone profile (included with the include directive in the Master profile)/etc/named.root.key #根区域的key文件以实现事务签名;/etc/rn
We have completed most of the work before configuring static IP addresses, DNS settings, and host names in Linux. However, a small part of the work will be continued here. Continue with the article for configuration, soon you will complete a server host.
③ Configure the secondary DNS Server
Configure the server 11.0.0.2 as the 21php.com secondary
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 {D
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
Note on successful DNS configuration-Linux Enterprise Application-Linux server application information. See the following for details. > 1) create a domain name www.yaoshuyin123.com
2) IP address of the Local Domain Name Server: 192.168.0.101
3) function: You can access www.yaoshuyin123.com.
Aaa.yaoshuyin123.com
Bbb.yaoshuyin123.com
....
(Note: * A 192.168.0.101 Works)
1) Add the following content in/etc/
configuration file for a specific domain name and, based on this, authoritatively specify the address of the specific domain name. The primary DNS server knows the addresses of all hosts and subdomains within its jurisdiction.Secondary DNS serverThese servers are backed up as primary
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 configure the local Yum source to use the network Yum source directly.Local Yum Source
-oriented purposes ). In Linux, the DNS server software is called bind. Currently it is version 9. Its management program is named (here d indicates the daemon process, that is, the service in Windows)
1) Check whether DNS service software is installed
# Rpm-ql bind
If no installation is available, you can add:
# Rpm-ivh * bind *. rpm (first copy of RH9)
# Rpm-ivh * nameservere *. rpm (second copy of RH9 ))
configuration of forward parsing libraries and reverse parsing libraries means that they contain two zones (forward zone and reverse zone)4.dns Server TypePrimary DNS ServerFrom a DNS serverCache server: Do not parse any zone, but allow recursionMaster-Slave DNS server pars
test topology "src =" http://upload.server110.com/image/20131110/0FAIO8-0.jpg "/>
2. Install DNS and DHCP packages
Mount the system disk, go to the RPM package directory, and useRpmCivhTo install the bind package and dhcp package. Among them, the caching-nameserver package is used to install regional files such as name. ca and name. local. if this package is not installed, you need to manually or from somewhere else to down these files.650) this. wi
, and the DNS resolution service is S. The client configuration is quite simple, just in/etc/resolv. add the IP address of the DNS server to the conf file (up to three). The format is as follows:Nameserver 172.16.0.3Nameserver 10.8.10.244)(Note: it is best to put your DNS se
Detailed configuration of dns server setup under redhatas5 (requires refined configuration)-Linux Enterprise Application-Linux server application information. The following is a detailed description. Dns server setup. This configuration is successfully tested under centos5.1
, DNS installation
Main installation of these 3 packages
1.bind Main Program
2.bind-chroot security "Generate extra Catalogs"
3.caching-nameserver A sample file that generates the primary configuration document for DNS, implementing a caching server
Configuration of the
.(4) record the cache and return the path to the user.Note: In the system, we can track the path through the dig command.Workflow:2. Build a DNS serverToday, we are going to build a DNS server by ourselves. Such requirements are still available within the company.First, find the packages that install dns:Install the dns server:After the service is enabled, the po
器存放文件/var/named/named.empty/var/named/named.localhost/var/named/named.loopbackZone Resolution library file:/var/named/zone_name.zoneDig,host,nslookup is the DNS test toolHere we have four experiments to explain the DNS configuration of four differentConfiguring BIND for forward parsingConfiguring a reverse-resolved bin
Preparation:
First of all the local TCP/IP properties, such as (DNS IP to fill in the IP of this computer, the local IP must be fixed IP)
Install the DNS components.
Configuring a DNS server
1 Open the DNS console
2 Right-click "SERVER1" to select "Configure DNS
other statements
Control declares the Control channel used by ndc software tools
Server Sets configuration parameters for a Server
Trusted-keys defines the dnsSEC key that is pre-configured to the server and trusted
Zone defines a region
Type indicates the type of a region.
File indicates a region file
Directory specifies the
Many people may not know how Cisco IOS works. It does not matter. The following describes the router configuration and DNS server in Cicso IOS. Recently, a friend sent me an email asking him to know how to use Cicso IOS to block a specific website.
He wrote: "I have a Cisco 2600 instance, which is usually used as an Internet server. Now I want to block some specific websites. What should I do ?" This is not
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.