Guide
DNS (domain name server, nameservers) is the server that is transforming the domain name and the corresponding IP address. DNS holds a domain name and the corresponding IP address (IP addresses) table to resolve the domain name of the message. Let me give you a brief look at the configuration of the DNS serv
Introduction to DNS ServersDNS is the abbreviation for a computer domain Name System or domain name Service, which consists of a domain name resolver and a domain name server. A domain name server is a domain name and corresponding IP address that holds all the hosts in the network, and a server that converts the domain name to the IP address feature. Where the domain name must correspond to an IP address, an IP address can have more than one domain n
configured well after dig www.baidu.comConfiguration of the DNS server (forward parsing)Service side:Vim/etc/named.rfc1912.zonesCopy and paste the 19th to 24th line in line 25 to modifyZone "Lcdqqq.com" in {Type master;File "Lcdqqq.com.zone";allow-update {none;};29};Vim/var/namedllCopy the Named.localhost to lcdqqq.comCp-p named.localhost lcdqqq.com (-P: Full replication, even permissions copied)Enter the
Dns-views Configuration
1. Principle
In a master configuration file, you can specify multiple view, and use DNS to provide a view directive to enable parsing of the same domain name based on different IP ranges.
For example, when parsing www.dg.com, if the client belongs
DNS service configuration and application 3-Linux Enterprise Application-Linux server application information. The following is a detailed description.
16. Reverse parsing of the region file: The following is an example of the/var/named/chroot/var/named/192.168.16.arpa file.
$ Ttl 36000
16.168.192.in-addr. arpa. In s
configuration requires that you create a bind mount on which to mount a GFS2 the file system, you can order your
file as follows:
Mount local file systems that is required for the bind mount.
DNS is used to resolve servers for domain name back-end IP.Domain name interpreter: Resolver, a library that resolves IP addresses based on host name1. Configuration files[Email protected] init.d]$ cat/etc/resolv.conf; Generated By/sbin/dhclient-script search localdomain nameserver 192.168.56.2 nameserver 114.114.114.1142, the key word of resolv.conf mainly has fournameserver #定义
As we all know, the CentOS configuration DNS is very simple, modify the next/etc/resolv.conf, you can take effect. But in Ubuntu, the resolv.conf file indicates that the write will be overwritten and cannot be written here.Method One:Modify/etc/network/interfaces (interfaces file is omnipotent, can be equipped with IP,
configuration backup
interface eth1 //Server status detection
on which interface virtual_router_id
Priority 180 //backup machine is configured with the
advert_int 1/ check interval, in seconds
Authentication {
Auth_type pass
auth_pass 1234
}
virtual_ipaddress { //VIP settings, designated to intranet NIC
192.168.100.99/24 dev eth1
}
}
DNSMASQ's confi
1. Automatic installation via Yum install Bind-y.2. The named.conf configuration file was not found under/etc/after installation. So I looked it up on the internet and found it was installed under another directory and copied it.Cp-a/usr/share/doc/bind-9.3.6/sample/etc/*/etc/cp-a/usr/share/doc/
Prepare for work (assuming name is bigcloud.local)
1234567891011121314151617
#更改主机名称#vi/etc/sysconfig/network#CreatedbyanacondaNETWORKING=yesHOSTNAME=bigcloud.local#修改文件/etc/hosts,内容如下:127.0.0.1localhostlocalhost.localdomainlocalhost4localhost4.localdomain4::1localhostlocalhost.localdomainlocalhost6localhost6.localdomain6192.168.188.135bigcloudbigcloud.localdomain#修改DNS配置#vi/etc/resolv.conf添加如下DNS1=19
:# ifconfig Bond0 up
# echo +eth0 >/sys/class/net/bond0/bonding/slaves
Release Slave (eth0) from Bond (BOND0):# Echo-eth0 >/sys/class/net/bond0/bonding/slaves
#echo-eth1 >/sys/class/net/bond0/bonding/slavesWhen the interface is subordinate to a Bond, the Sysfs file system creates a symbolic link between the two. In this case, the user can see /sys/class/net/bond0/slave_eth0 pointing to /sys/class/net/eth0, and /sys/class/net/eth0/ Master p
Tomcat5.5 configuration-multi-domain name binding and virtual directory
Tomcat is installed by default. To bind multiple domain names to tamcat, modify the configuration file C:/program files/Apache Software Foundation/tomcat 5.5/CONF/Server. xml
Server. XML can be modified as follows:
(1)
Linux uses the "/etc/resolv. conf" file to configure the DNS server address. You can use the nameserver configuration item to set the IP address of the DNS server. A maximum of three DNS servers can be used.
$ Sudo VI/etc/resolv. conf
Search localdomain
Nameserver 192.168
Linux --- solution to DNS configuration loss after Ubuntu 14.04 is restarted --- ubuntu14.04
Solution to DNS configuration loss after Ubuntu 14.04 is restarted
Each time the DNS configuration
Solution to the problem of DNS configuration loss after Ubuntu 14.04 restartEach time you modify the DNS configuration file/etc/resolv.conf, it will expire.From the Web, this file is created dynamically, so each reboot will be rew
protected] ~]# Vim/var/named/ning.com.zone$TTL 3600$ORIGIN ning.com.@ in SOA ns.ning.com. Ning.qq.com. (201408092H10M7D7D)In NS NSIn MX ten MailIn NS ns2Ning1 in NS ning1.ning---------------authorization subdomain ning1.ning.comNing2 in NS ning2.ning----------------authorization subdomain ning2.ning.comNing1.ning in A 172.16.3.20------------Specify the subdomain ning1.ning.com server address:Ning2.ning in A 172.16.3.21------------Specify the subdomain ning2.ning.com server address:NS2 in A 172.
One, configure IPUbuntu's network configuration information is placed in the/etc/network/interfaces,If the configuration dynamically obtains the IP, add the following to the above file:Auto Eth0Iface eth0 inet DHCPIf you configure a static IP, add the following:Auto Eth0Iface eth0 inet StaticAddress 192.168.33.201Netmask 255.255.255.0Gateway 192.168.33.1If the configura
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.