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
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
; 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. l
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
--------------------------------------------------------------------------------
Reverse parsing file 0.168.192.arpa
$ TTL 86400
@ In soa test.com root.test.com .(
1997022700
28800
14400
3600000
86400)
In ns dns.test.com.
100 in ptr www.test.com.
200 in ptr www.test.com.
211 in ptr dns.test.com.
The dns PTR record cannot be missing. Otherwise, an error message will be prompted when the client uses the nslookup command for query:
** Can't
protected] named] # tail-5/etc/named. rfc1912.zones zone "test.com" in {type slave; file "Slave/test.com. zone "; Masters {172.16.21.1 ;};# edit/etc/named on the NS1 server. rfc1912.zones file. Add the following content to the configuration of region test.com to support regional transfer of allow-transfer {172.16.21.2 ;}; # test.com. add the ns2-dns server @ in
Before building a dns server, you need to do some preliminary work.
1. Install mysql
First, you need to download mysql. You can go to the official website to download the binary file www.mysql.com. I downloaded the binary file version 5.5 without compiling it. Put the file in CentOS and decompress it.
Put the decompressed file in the/usr/local directory, go to this directory, and give mysql a link.
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
--------
Create a forward lookup zone ynkm.com and create a host record under this zone webserver,ynkm.com. Action steps are as follows:
① Open the (INSMGMT console window, select the DNS server for which you want to create a forward lookup zone, and then select the Action-New Zone command in the menu bar, as shown in Figure 1.)
② pops up the New Zone Wizard dialog box as shown in Figure 2, which guide
/named/pid";
Dump-file "/var/dump/named_dump.db";
Statistics-file "/var/stats/named.stats";
Forwarders {
//221.228.255.1; 218.2.135.1;
};
};
Zone "." {
type hint;
File "Named.root";
Zone "0.0.127.in-addr. ARPA "{
type master;
File "Master/localhost.rev";
Here I did not use forwarders (forwarding), in the FreeBSD Chinese manual there is such a phrase:
To benefit from a superior cache, you can enable forwarders at this point. In general, a domain name
Ubuntu 14.04.2 LTS configure DNS Server
Our goal is to use a lan machine to complete the resolution of 192.168.1.113
0. For Ubuntu 14.04.2 LTS download, installation, and update, skip this step;
1. Download the Installation Tool bind9sudo apt-get install bind9
The DNS configuration file is in the/etc/bind directory. After bind9 is installed, the following three
An error occurred while adjusting the TCP/IP settings of the server DNS. My colleague reported that the enterprise email sent to the customer could not receive the email. The email sent by the customer to us could be received. I was wondering if it was okay in the past, in addition, no settings are modified on the server. 1. The first step is to check that the
DNS server within the LAN, so when a DNS server receives a domain name that cannot be resolved, it incorrectly considers itself to be the root domain server, and cannot find the real root domain
Citrix recently launched the XenServer 5.6 SP2 version, patching up some of the previous vulnerabilities, XenServer is more and more stable, the various test stability improved a lot.
However, in the test still found some problems, such as if the DNS server is set incorrectly, in the XenServer console can not find the modified items, only one option "Display
This file holds the address of 13 root node serversDig:domain InformationDig-t NS. Find all DNS servers for the root domainDig-t NS. @a.root-servers.net. Directly from this server to findThis file is/var/named/named.localhost to avoid DNS server parsing errors. specifically
The query DNS address method is as follows:
The first step, into the computer desktop-start to find running in the Run dialog box entered the CMD command to enter the confirmation, enter the cmd command as follows:
The second step, and then in the cmd command box, enter the "Ipconfig/all" command, return confirmation can be. In the DNS servers this corresponds
this end!!!----------------------------------------------------------------------------------We configure the forwarding mechanism based on the above configurationsubdomain forwarder:Forward all requests for all zones to a specified DNS server#vim/etc/named.confOptions {anywhere in-----can be addedForward Only|first;-------------only forward recursion only; first, recursive to the specified
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 resolu
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.