First, reverse zone: The domain name is resolved to IP
====================================================================================
Note Close Iptables,selinux
One, DNS server R reverse resolution required environment
1. Three machines are needed.
- First: 192.168.137.140 do DNS server needs to install bind Bind-utils tool
- Second: 192.168.137.145 do the Web server needs to be installed httpd
- Second: 192.168.137.146 do test use need to install bind-utils test tool
- Listening port: 53/udp, 53/TCP//port can be changed
======================================================================================
Official explanation: Reverse parsing is the domain of the network segment, through the IN-ADDR.ARPA domain (the special domain name under the root) and PTR record implementation.
1. The reverse zone name is determined by the network address such as: 192.168.10.0/24 reverse zone named 10.168.192.in-addr.arpa, the first three paragraphs, do not distinguish between IP address type, 10.168.192. The last point is the name of the 13 root domain.
2. The hostname of the reverse zone and the corresponding forward zone must be one by one corresponding to that host www.xinfu.com address is 192.168.137.145 so 192.168.137.145 after parsing also if www.xinfu.com
3. Hostname must be full name
4. Reverse zone with less, generally used for mail server reverse resolution, the site is used for positive analysis
5. Reverse zones are typically implemented by ISPs (Internet services provider network operators, which provide network access)
Second, the Web server configuration
A Web server can only install one httpd. I've already installed it here. httpd//I've only done a simple test here.
Third, DNS server configuration
1. Installing the BIND and Bind-util tools
2. Two directories are generated after installation
- One is the master configuration file/etc/named.conf
- The other is the data file/var/named/
3. Configuring the master configuration file
Delete all content inside.
4. Data File Environment settings
CD into the/var/named, the Named.localhost sample configuration file to replace the contents of the 137.168.192.in-addr.zone (the file must be the main profile file name) to the other people to read this file permissions and the user changed to named .
Incorrect file name restart error
5. Configure 137.168.192.in-addr.zone
6. Linux Testing
Windows test
centos6.6--------Reverse DNS configuration