Background: ---- The company connects to Chinanet with a dedicated line and obtains a Class C IP address space (for example, 16). At the same time, it applies to the ChinaNIC domain name yourdomain.com, and now sets up a machine as a DNS server. Also set as a firewall.
Objects: ---- Internet private line users
Software: ---- Redhat Linux 5.2
Implementation process:
The server is equipped with two Block network card, internal interface eth1 address is 192.168.11.5, external interface eth0 address is 202.abc machine name is set to dns.yourdomain.com, installation and configuration process is slightly
Redhat Linux 5.2 with CD is bind 8.X version, the following is my configuration: ----------[root@dns jephe]# more /etc/named.confoptions {directory "/var/named";forward first;forwarders {202.96.199.133;};};zone "."{type hint;file "root.hints";};zone "0.0.127.in-addr.arpa"{type master;file "127.0 .0";};zone "11.168.192.in-addr.arpa"{type master;file "192.168.11";};zone "yourdomain.com"{notify no;type master;file " Yourdomain.com";};---------
---- Note:
202.96.199.133 is a DNS server for Chinanet (ns.sta.net. Cn) .
root.hints contains the addresses of a set of root servers on the Internet, which can be downloaded from the Internet, (ft p://ftp.internic.net/domain/named.ca), then renamed to root.hints, you can also take another name, this area information is very important, must exist, in order to keep it up to date, generally monthly update once. You can also set a script file, and each time the automatic update
127.0.0 is the reverse parsing file of the machine's local interface, it will almost no need to be changed after setting.
192.168.11 is the reverse resolution information of some servers on the internal network segment.
yourdomain.com The file is a forward parsing file for the domain you are applying for. When you apply for the domain name yourdomain to ChinaNIC, in general, you also need to provide a DNS server to manage this domain, you can use dns.yourdomain.com (202.a.b.c).
This article comes from the programming portal: http://bianceng.cn/Servers/DNS/200707/3225.htm
by configuring the TCP/IP protocol. How to use the Domain Name Service (DNS) by configuring the TCP/
The Windows Server 2008 system is introduced, and the scale of the LAN network is gradually expandin
DNS server address configuration steps (Windows 2000, Windows XP operating system): 1. After
In todays stock market, the market is getting hot and mad, and the whole people are crazy ab
Get the DNS (network domain name) resolution failure at zero start
Recycling DNS to achieve load balancing of multiple servers
Getting Started: Ten Tips for Troubleshooting DNS Failures
Windows Server 2008 cleverly configures the DHCP server
The network on/off status of the LAN is “mastered” by the DNS server
Server DNS adjustment connection TCP/IP settings failed to resolve
windows2003DNS server configuration [graphic details]
Windows XP right click on "My Computer" does not show the solution for system properties
Win8 set left hand operation mouse diagram tutorial
Surprise plan activity in the last century, the new round of the ancient century opened
How to load the registry manually by Win7 system
Tomb Raider 9 download how much GB to install How many GB can my computer play?
IE view source file redirection to the desktop solution
Win7 sleep error 0xc000007f reasons and solutions
In the future, 64 Win10 Mobile will be the focus of the future