Construction of RHEL5--DNS Server
DNS server Construction
DNS (Domain Name System) is a distributed database that maps domain names and IP addresses on the Internet, allowing users to access the Internet more conveniently, instead of remembering the number of IP address stri
controlNote: Turn off the firewall of each machine first (the virtual machine network is simply set to the bridge mode to the common network with the host)Domain Control terminal1, configure the domain control IP,ipv6 removed, because the DNS server is installed on the domain control, so the preferred DNS server compl
Article Title: create a secure DNS server. 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.
Like other large software, BIND (DNS server) also has many problems due to its large size
Article Title: manually configure UbuntuLinux to specify the DNS server address. 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.
This section describes how to specify the DNS server
An error occurred while constructing the dns secondary Domain Name Server under redhat9-Linux Enterprise Application-Linux server application information. For details, refer to the following. The primary dns can work normally.
Secondary dns configuration file
Zone "huing.co
Here we use the Linux Bind server software for the DNS service for this test.
BKJIA Editor note: BIND is a client/server system called a conversion program. It queries the information that generates domain names and then sends the information to the server. The server is cal
build from a domain name serverSpecific steps:1. confirm the local network address, host mapping, default DNS server addressthe IP address from the domain name server is set to 173.16.16.6and the hostname is set to ns2.benet.comby modifying the network configuration file. In addition, host mapping files /etc/hosts and DNS
Article Title: Linux introduction how to install and configure a DNS server. 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.
This document uses Red Hat Enterprise Linux AS v4 AS a platform
I. Data Reference and preparation:
DNS
1. How to Create a DNS server on Linux: Environment assumptions
One or two machines, one LINUX, The Machine name LINUX, the domain name tongqiang. cnIP address is 192.168.0.5, the other machine is WIN98, The Machine name tongqiang, And the IP address is obtained from the DHCP server on LINUX.
2. Create a DNS serverSupp
For the wan nic, we configure the IP address and mask for it, without configuring the gateway and DNS.
For LAN NICs, the IP address and mask are also configured. Because it is 10 private network segments, the mask can be used by default.
Then we set up AD because we need to deploy DHCP, and DHCP requires AD to operate normally.
Then we select the DHCP server, DNS
. go to the reverse resolution template configuration file
Cd/var/named/chroot/var/named
2. copy the reverse resolution template file
Cp-p named. local 192.168.0.zone
3. edit the reverse resolution configuration file
Vim 192.168.0.zone
Modify the last two rows
In ns contoso.com
106 in ptr mail.contoso.com
[Root @ mail named] # cat 192.168.0.zone
$ TTL 86400
@ In soa localhost. root. localhost .(
1997022700; Serial
28800; Refresh
14400; Retry
3600000; Expire
86400); Minimum
In ns contoso.com.
10
Use nsloop to specify different dns server addresses to obtain different CDN addresses
Dns 202.101.172.47 is the dns address of ZhejiangThe obtained sina address is 61.172.201.194/195 (Shanghai Telecom ).Ping 202.101.172.47 returns a latency of about 2 ms.
Dns 8.8.8.
resolution template and modify the reverse resolution File1. Go to the reverse resolution template configuration file cd/var/named/chroot/var/named2. copy the reverse resolution template file cp-P named. local 192.168.0.zone3. Edit the reverse resolution configuration file Vim 192.168.0.zone and change the last two lines to INNS linuxidc.com106In ptr mail. linuxidc. Com[Root @ mail named] # cat 192.168.0.zone$ TTL 86400@ In soa localhost. root. localhost .(1997022700; Serial28800; Refresh14400;
; Refresh14400; Retry3600000; Expire86400); MinimumIn ns localhost.2 in ptr www.linuxidc.com. // Modify the last line to (my IP address is 192.168.1.2 and the domain name is www.linuxidc.com)--------------------------------------------------------------------[Root @ server named] # bind-chroot-admin-s // automatically sets the group and permissions (/usr/bin/find may be prompted in CentOS: /var/log/named. log: the file or directory does not exist)[Roo
Through this server, Intranet users can access the Internet normally. Here we use the BIND provided by FreeBSD to implement DNS resolution. In fact, many DNS servers on the Internet use this software. The basic procedure is as follows:
◇The information given to me by the DNS parent domain (edu.cn) is as follows:Dom
I have already studied bind's cache dns server. Today I have studied dnsmasq's dns Cache and found that the configuration of dnsmasq is much simpler. It is better for new users to get started with complex configurations than those of bind, after all, it is difficult to maintain the service after it is used locally. Check the operation.System: CentOS 5.4Ip: 192.16
Soalris10 uses bind9.2.4 to set up a dynamic dns server-Linux Enterprise Application-Linux server application information. The following is a detailed description. The view function of bind 9 is used to parse different addresses by IP address.
Dns server address: dns.test.
Build a DNS server in CentOS
DNS performs forward and reverse resolution...
Full Qualified Domain Name Security Qualified host Name = Host Name. For example, www.tar ena.com.cn
Execute the program:/usr/sbin/named service Script:/etc/init. d/named default port: TCP/UDP 53
Virtual root environment:/var/named/chroot/Master configuration file:/etc/named. conf region
Article Title: Set up a DNS server in Linux (3 ). 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.
4. standard resource records
-----------------------------------------------------------------------
Resource Record text name meaning record type Function
--------
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.