baseurl
=
file
:
/
/
/
media
/
cdrom
enabled
=
1
gpgcheck
=
0
--> Install the prepared bind package:1
[root@localhost ~]
# yum -y install bind
1. configure the implementation of the forward Master/Slave service:
1) configure the master server/var/named/xiaoma.com. zone:
2) configure the master server to reload the region file:12
[root@host1 ~]
# service named reload
Reloading named: [ OK ]
3) test whether the Master/Slave server can communicate with each other:
2). Configure/etc/named
Attention:shutting down the firewallTurn off SELinuxconfiguring vim/etc/resolv.conf DNS on the clientInstallationyum install-y bind bind-chroot bind-utilsMasterConfigurationvim/etc/named.confOptions Itemslisten-on Port: (any ;}; allow-query{any;}; Note out recursion yes; dnssec-enable yes; dnssec-validation yes; dnssec-lookaside Auto; Bindkeys-file.......iscdlv.
/data/cache_dump.db"; Statistics-file"/var/named/data/named_stats.txt"; Memstatistics-file"/var/named/data/named_mem_stats.txt"; allow-query {localhost;}; #修改为any, Representative allows any host query /*-If you is building an authoritative DNS server, does not enable recursion.-If you are building a RECURSIVE (Cachin g) DNS server, you need to enable recursion. -If your recursive DNS server has a public IP address, you must enable access control to the limit queries to your Legitima Te users. Fa
domain server
Zone declaration File configuration:
1. Can be configured in the global configuration in the master profile, and is configured in the global configuration to take effect for the entire DNS server
2. Declare the forwarding domain in the Zone declaration file, the second method shown here
Zone "test.com" in {//test.com resolution request forwarded to test.com
Type forward; //server type
Forward first; //Specify forwarding Type
Forwarders {192.168.0.20;}; //fo
.zdj.com.Panax Notoginseng PTR ns2.zdj.com.123 PTR www.zdj.com.124 PTR www.zdj.com.122 PTR www.zdj.com.4.[[email protected] named]# cat/etc/resolv.conf---------set up the DNS server for yourself, test with; Generated By/sbin/dhclient-script#nameserver 8.8.8.8NameServer 172.17.0.1425.[Email protected] named]# service named RestaRtFrom the domain name server: ip:172.17.0.371.[[email protected] slaves] #vim/var/named/chroot/etc/named.confOptions {Listen-on Port 53 {172.17.0.37;};Listen-on-v6 Port 5
) Windows filtering Platform (WFP) is an API set introduced in Vista. In Windows 7, developers can embed Windows Firewall into the software they develop through this set of API sets. This situation allows third-party programs to turn off some of the Windows Firewall settings at the appropriate time. 8, PowerShell v2 Windows 7 is a PowerShell v2 that enables administrators to manage multiple settings, including Group Policy Security, from the command line. Administrators can also combine
server, you need to enable recursion. - If your recursive DNS server has a public IP address, you MUST enable access control to limit queries to your legitimate users. Failing to do so will cause your server to become part of large scale DNS amplification attacks. Implementing BCP38 within your network would greatly reduce such attack surface */ recursion yes;//是否允许递归查询 dnssec-enable no; //
Owned registrars MELBOURNE IT, LTD. d/b/a INTERNET NAMES WorldwideDNS server YNS1. Yahoo.comDNS server YNS2. Yahoo.comRegistration date 2008-6-30Expiration Date 2013-6-30Buy the address for everyone, here to buy, support Alipay!Yahoo domain name cannot be transferred, can be turned out, and no obstacles. No more charges, you can be assured to register.From Yahoo! Domains's help information found that Yahoo! Domains is a proxy for the domain registrar Melbourne IT (old internet Names worldwide) t
";Memstatistics-file "/var/named/data/named_mem_stats.txt ";# Query range (set internal server and so on)Allow-query {localhost; 10.0.0.0/24 ;};# Transfer range (set it if you have secondary DNS)Allow-transfer {localhost; 10.0.0.0/24 ;};Recursion yes; DNSSEC-enable yes;DNSSEC-validation yes;DNSSEC-lookaside auto;/* path to isc dlv key */Bindkeys-file "/etc/named
/data/named_stats.txt ";Memstatistics-file "/var/named/data/named_mem_stats.txt ";Allow-query {any ;};
/*-If you are building an authoritative dns server, do NOT enable recursion.-If you are building a RECURSIVE (caching) DNS server, you need to enableRecursion.-If your recursive DNS server has a public IP address, you MUST enable accessControl to limit queries to your legitimate users. Failing to do so willCause your server to become part of large scale DNS amplificationAttacks. Implementing BC
named [OK][Root @ localhost ~] #When bind-chroot is installed, the configuration file is saved in the/var/named/chroot/etc/directory.[Root @ localhost ~] # Cd/var/named/chroot/etc/[Root @ localhost etc] # vi named. confThe configuration file of named. conf is as follows://
// Named. conf
//
// Provided by Red Hat bind package to configure the isc bind named (8) DNS
// Server as a caching only nameserver (as a localhost DNS resolver only ).
//
// See/usr/share/doc/bind */sample/for example named
/www2.err and the access log is/var/log/httpd/www2.access;
(CEN creates its own main page file index.html for two virtual machines, with the corresponding host name respectively;
(D) Output httpdwork status information through www1.stu31.com/server-status, and only allow access using the account number password (status: status );
1. Configure the DNS server to provide the domain name resolution service for the client.
Configuration of the main configuration file:
[Root @ www ~] # Cat/etc/named.
Centos6.4 install the bind dns server, centos6.4bind
I. Introduction
1) Centos6.4 64bit minimal
2) bind-9.8.2-0.30.rc1.el6_6.3.x86_64
Ii. Installation
$ yum install -y bind bind-utils
Iii. Configuration
A) bind main configuration file
$ vi /etc/named.conf//// named.conf//// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS// server as a caching only nameserver (as a localhost DNS resolver only).//// See /usr/share/doc/bind*/sample/ for example named configuration fil
canonical name, which is used to represent a domain name. A domain name with a canonical name is usually called an alias. Some FTP servers use it to provide an easy-to-remember alias to other systems.
HINFO: indicates the host information, including two strings indicating the host CPU and operating system.
MX: mail exchange record. Function: If a message is sent to the use@foo.com, it is sent to relay1.uu.net.
PTR: A pointer record is used for pointer queries, and an IP address is considered a
First install Yum and use Yum to install bind
Yum install bind *
Different operating systems may have different RPM packages.Bind-9.8.2-0.17.rc1.el6.x86_64Bind-utils-9.8.2-0.17.rc1.el6.x86_64Bind-chroot-9.8.2-0.17.rc1.el6.x86_64Bind-dyndb-ldap-2.3-2.el6.x86_64Bind-libs-9.8.2-0.17.rc1.el6.x86_64
Edit named. conf after installing several RPM packages
Vim/etc/named. conf
Options {Listen-on port 53 {127.0.0.1 ;};Listen-on-v6 port 53 {: 1 ;};Directory "/var/named ";Dump-file "/var/named/d
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.