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.key;managed-keys-directoryConfigure View Configurati
The following configuration is to implement parsing test.zp.com to a different IP addressInstalling the DNS server package$ apt-get Install BIND9Configure DNSThe path to the configuration file is below the/etc/bind pathAdd a Zone$/etc/bind# vim/etc/bind/named.conf.localTo add the following syntax, you can refer to the syntax in/etc/bind/zones.rfc1918, as follows:
Experimental environment:
Aix:os version: AIX 5L for power V5.1
IP address:192.168.0.5
Assume Domain name: king.com
Host Name: pp.king.com
As a domain name server, the ability to have positive and reverse solutions is called a complete server. Now there are many, especially win's DNS server many do not have the ability to reverse the solution.
Let's get to the point.
Set up a complete DNS server main
configuration backup
interface eth1 //Server status detection
on which interface virtual_router_id
Priority 180 //backup machine is configured with the
advert_int 1/ check interval, in seconds
Authentication {
Auth_type pass
auth_pass 1234
}
virtual_ipaddress { //VIP settings, designated to intranet NIC
192.168.100.99/24 dev eth1
}
}
DNSMASQ's confi
"Subdomain Authorization" "Experimental description": a new server IP of 192.168.0.112 is configured to become the primary DNS for the test.com subdomain (a.test.com)"Experimental Validation": subdomains can be self-managed, and DNS can be queried for resolving subdomains through the parent domain, but subdomains cannot query the parent domain. "Experimental Steps": 1, for the positive sub-domain author
-eth0:1, ifcfg-eth0:2 ...), within each configuration file, corresponding to a device (eth0, eth0:0, eth0:1 ...).Here, the IP is 10.63.198.234 and 10.63.198.249, here are some explanations for these parameters:Device=eth0Bootproto=nonehwaddr=00:11:d8:c5:7c:8fOnboot=yesDhcp_hostname=btazuoipaddr=10.63.198.234netmask=255.255.255.0gateway=10.63.198.254Type=ethernetDevice stands for Devices, Linux can have a lot of devices Ethernet interface is the beginn
protected] ~]# service named ConfigtestStart[[Email protected] ~]# service named Startgenerating/etc/rndc.key: [OK]; random number generator Start ing named: [OK]View status[[Email protected] ~]# service named statusversion:9.8.2rc1-redhat-9.8.2-0.30.rc1.el6_6.3 software version CPUs found:1cpu number of workerThreads:1 worker thread number of zones:20 Zone area debug level:0 xfers running:0xfers Deferred:0soa queries in progress: 0query logging is off query area off recursive clients:0/0/1000
id文件名
};
Controls {
inet 127.0.0.1 allow {localhost;} keys {rndckey;};
};
Zone "." in {
Type hint;
File "Named.root";
};
Zone "localhost" in {
Type master;
File "Localhost.zone";
allow-update {none;};
};
Zone "0.0.127.in-addr.arpa" in {
Type master;
File "Named.local";
allow-update {none;};
};
Zone "test.com" in {
Type master;
File "Test.zone";
allow-update {none;};
};
Zone "19.202.220.in-addr.arpa" in {
Type master;
File "Test.local";
allow-update {none;};
};
Now it's configured to star
For details about how to configure DNS in linux, see Linux Enterprise Application-Linux server application. 1. Note that. the conf configuration file contains "/var/named". You must grant all the file permissions in "/var/named" to named. The command is as follows: "# chown named. named/var/named /*".
2. IN "/var/log/messages", we found a prompt similar to "IN: has no NS records" to check whether the zon
DNS configuration problems-Linux Enterprise Application-Linux server application information, the following is a detailed description. I just learned about DNS, but I don't know much about it. I sent my configuration file to you to see what went wrong:
1. named. conf/etc/named. conf/var/named/chroot/etc/named. conf
Opt
This article takes red Hat Enterprise Linux as v4 as the platform
I. Data reference and Preparation:
DNS refers to: domain Name server. In the Internet domain name and IP address is one by one corresponding, although the domain name is convenient for people to remember, but the machine can only know each other IP address, the transformation between them is called Domain name resolution, domain name resolution needs to be specialized domain name resolu
Article Title: Intelligent DNS configuration process in linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. install the DNS server
1. software list
BIND 9.3.2
Ftp://ftp.isc.org/isc/bind9/9.3.2/bind-9.3.2.tar.gz
Ftp://ftp
Tags: alt 9.png img Resolve DNS server span role reverse add1. Configure the From server role for the specified zone2.Check if there is a problem with the server configuration file3. Modify the primary server reverse zone database fileTo add a reverse resolution address from the server4. Check the primary server's configuration and zone database files5.Heavy-duty
Today came back to open the virtual machine, the results with Xshell connection is not, the feeling should be my local IP has changed, my virtual machine is located in a computer connection is another B computer sent wifi,a computer This IP is automatically obtained, originally a computer IP for 173.23.x.x, In order to set a good memory IP, I will b computer transmitting WiFi card IP as fixed 192.168.0.100 , subnet mask 255.255.0.0So that my a computer's IP will become 192.168.x.x (if not the I
running
Add named to the startup entry and start with the operating system.echo "/usr/local/named/sbin/named-c/usr/local/named/etc/named.conf" >>/etc/rc.local
############ #从dns配置Compile installation, generate rndc.conf, and named.conf and master library operations
VI Named.conf added at the backOptions {Version "Guess";Allow-transfer {none;};Directory "/USR/LOCAL/NAMED/ETC";Dump-file "/usr/local/named/var/cache_dump.db";Statistics-file "/usr/loca
DNS cache serverExperimental Machine IP 192.168.1.202First of all:1. Yum install bind bind-libs bind-utils-y download package Installation2. cp/etc/named.conf /etc/named.conf.bak Copy a configuration file3. Vim named.conf into the configuration file(within the red box is the place to add or modify)650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/8A/DF/w
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.