Article Title: Linux-DNS server configuration and management (I ). 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.
DNS server configuration and management****************First, you
forget about IIS? IIS has a "port", "host header" and other related settings, and a network card, you can have more than one IP address. This is the "layered" idea of the benefits, the DNS server just convert the domain name to an IP address, as for the next thing, it is completely out of control, to the IP address that server to deal with.Server network Settings
In your server's network settings, the DNS
Install the DNS package:
Yum install-y bind
To Configure the DNS master configuration file:
Configuration files:/etc/named.conf,named.rfc1912.zones,
Parse Library file:/var/named/
1. vi/etc/named.conf
Listen-on Port 53 {192.168.1.10;};
To turn off the security features of DNS
record; however, each MX record also has a priority attribute.
For forward parsing files, each ns fqdn should have a record;
A name FQDN value: IP
Cname name FQDN value: FQDN
PTR: pointer
Name: reverse Host IP address and suffix in-addr.arpa, such as 172.16.100.7/16, network address is 172.16, host address is 100.7, its name is 7.100.in-ADDR. ARPA.
Value: FQDN
DNS query
DNS resolution mainly involves rec
Article keywords: DNS Linux RedHat
installation of DNS
Profile: File name and source/etc/named.conf,/var/named/named.local,/var/named/named.ca (caching-nameserver-7.2-7.noarch.rpm)
/etc/resolv.conf System self-belt
Installation:
B, start the service
/etc/rc.d/init.d/named start
Service named start
C, stop the service
Ps–ef |grep named #找到进程号
Kill Process Number
D, detection
Modify/etc/resolv.conf
Nslookup
Today, when I was playing VMware, I ping www.baidu.com with the ping command, and the results show Unkown hosts www.baidu.com, but ping a certain IP is normal.Examples are as follows:[[email protected] ~]# Ping www.baidu.comPing:unknown Host Www.baidu.com[[email protected] ~]# Ping 119.29.25.60PING 119.29.25.60 (119.29.25.60) bytes of data.Bytes from 119.29.25.60:icmp_seq=1 ttl=128 time=41.9 msBytes from 119.29.25.60:icmp_seq=2 ttl=128 time=43.3 msBytes from 119.29.25.60:icmp_seq=3 ttl=128 time=
DNS refers to the computer domain Name System, which consists of a domain name resolver and a domain name server, which provides DNS services to DNS servers. General operation of the domain name preferably has two or more DNS servers, respectively known as the primary domain name server and from the domain name server,
editing.# Mkdir/var/named/chroot/var/named/master/# Mkdir/var/named/chroot/var/named/master/telecom# Mkdir/var/named/chroot/var/named/master/cnc# Vi/var/named/chroot/var/named/master/telecom/test.com$ TTL 86400@ In soa ns.test.com. root.ns.test.com .(2005062301; serial3 H; refresh15 M; retry1 W; expiry1D); minimumIn ns ns.test.com.In mx 10 mail.test.com.Www in a telecom IP address// Save and exit# Vi/var/named/chroot/var/named/master/cnc/test.com$ TTL 86400@ In soa ns.test.com. root.ns.test.com
public network server IP (61.121.22.4), add a record LAN, and set to intranet server IP (192.168.0.2).
2, use the jump page. In front of the homepage of the site to add a jump page, enter the domain name yourname.edu.cn display of the first page is a jump page, jump page Production "School Edition" and "Off-campus Edition" two super connections, according to the user selected to enter the connection specified server.
3, set up the intranet DNS serv
Reprint: http://blog.csdn.net/wangjingfei/article/details/5283632/It is very convenient to be familiar with Ifconfig.ifconfig eth0 New IPThen edit/etc/sysconfig/network-scripts/ifcfg-eth0, modify IPFirst, modify the IP address[Email protected] network-scripts]$ VI ifcfg-eth0Device=eth0Onboot=yesBootproto=staticipaddr=219.136.241.211netmask=255.255.255.128gateway=219.136.241.254Second, modify the gatewayVi/etc/sysconfig/networkNetworking=yesHostname=aarongateway=192.168.1.1Third, modify the
Lvs+keepalived was deployed yesterday and passed the test, no problems were found. This morning suddenly found, with ipvsadm–l view LVS information, response is very slow, and then go from the LVS telnet node port 22nd, found particularly slow.At first I checked the keepalived.conf configuration file, thought to be the same network segment multiple LVS settings, resulting in multicast collisions, blocking the network. Later stopped the LVS after the f
Centos 6.5 DNS Configuration
In any operation, a domain name has at least two DNS servers. One is called a Primary Domain Name Server, and the other is called a secondary Domain Name Server. These servers are usually used for failover: If one server goes down and the other is activated as a DNS server (in fact, two or
Common commands and troubleshooting tools:
View Processes
Ps aux | grep named
Start
Service named start (centos)
/Usr/local/bind/sbin/named-4 (redhat)
Kill
Killall named
View port
Netstat-ano | grep 53
Detection
Nslookup
Dig
Dig-x
Change dns
Vi/etc/resolv. conf
Change Nic
Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Centos System (then you will be happy, you can use yum to install, redhat directly pull down ):
I. Installation# Rpm-qa | grep bind# Rpm-
/Etc/resolv. conf
This file is a DNS domain name resolution configuration file. Its format is very simple. Each line starts with a keyword, followed by configuration parameters.Resolv. conf has four keywords:Nameserver # define the IP address of the DNS serverDomain # define a local domain nameSearch # define the domai
1. Windows XP system Bat batch modifies IP address and DNS.
NEW: Text document, copy the following code to the text document, save as set IP Address.bat, double-click to run, you can!
@echo offEcho **************************************************************************echo * Modify IP address, DNS *echo * Windows XP Copyright (
DNS (domain Name System), the Internet as the domain name andIP Addressone of the mutual mappingsDistributed databaseTo make it easier for users to accessInternet, instead of remembering the number of IP strings that can be read directly by the machine. ThroughHostname, the process of eventually getting the IP address for that hostname is called Domain name resolution (or hostname resolution). The DNS proto
I don't know where the problem is when configuring dns. Please refer to "Linux Enterprise Application-Linux server application" for details. My dns configuration failed for the first time. See my configuration files below.
File named. conf
// Generated by named-bootconf.pl
Keywords:
DNS Linux Redhat
Install DNS
Configuration File: File Name and source/etc/named. conf,/var/named. Local,/var/named. Ca (caching-nameserver-7.2-7.noarch.rpm)
/Etc/resolv. conf system comes
Installation:
B. Start the service
/Etc/rc. d/init. d/named start
Service named start
C. Stop the service
PS-Ef | grep named # Find the process number
Kill process num
Configuration and management of DNS servers****************The first thing to know is the following files related to domain name resolution/etc/hosts-Early (DNS) method for resolving host names, typically consists of three fields: IP, host full domain name, alias/etc/resolv.conf--Specifies the parameters of the DNS ser
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.