Many enterprises have set up a number of Web sites to meet the needs of employees, in order to save money, these sites usually use the virtual host technology, that is, on the same server to set up multiple sites, employees use level two domain names to access these sites. However, the workload of maintaining these level two domain names is very high, but we can solve this problem by using a generic domain name resolution technique, so that support fo
DNS load balancing technology is to configure multiple IP addresses for the same host name on the DNS server, the DNS server returns different resolution results for each query based on the IP address recorded by the host in the DNS file, and directs the client access to dif
What is a domain name?
What makes a domain name?
A domain name is the name used to search for a website on the internet. It is an important identifier on the internet and is equivalent to a host's house number.Each host corresponds to an IP address. Each IP address consists of a series of numbers, such as 101.25.11.34
This is a creation in
Article, where the information may have evolved or changed.
previously used the go language to write a real-time picture downloader, mainly considering that the go language of the DNS resolution of the support is friendly to the process, that
DNS parsing does not block the execution thread, will only block the current process, and by the way the net.lookuphost/resolveipaddr of Go
Imple
I. Overview
Now to deal with DNS domain name resolution, in fact, this is a previous article in C + + to implement the remaining problems in Ping, to do the work is the process of the ping Red Line part:
CMD under the Domain Name Resolution command is Nslookup, such as "Nslookup www.baidu.com" The results are as follows:
In which, the address returned is w
"TCP/IP Detailed Volume 1: Protocol" 14th DNS: Domain Name System---reading notes1. Introduction5. Pointer queryA part of DNS that has been hard to understand is the pointer query, which is given an IP address that returns the domain name corresponding to that address.When an organization joins the Internet and obtains
转载请说明出处:http://blog.csdn.net/cywosp/article/details/38017027
在上一篇文章(http://blog.csdn.net/cywosp/article/details/38014581)中讲到了使用HTTP重定向来实现server的负载均衡,本文则解说还有一种实现server集群的负载均衡方案——DNS域名解析。 DNS(Domain Name System)是因特网的一项服务,它作为域名和IP地址相互映射的一个分布式数据库,可以使人更方便的訪问互联网。人们在通过浏览器訪问站点时仅仅须要记住站点的域名就可以,而不须要记住那些不太easy理解的IP地址。在DNS系统中有一
The role and type of 1.DNS systemThe role of DNS system in the network is to maintain an address database, which records the various host domain names also IP address correspondence, in order to provide the client program forward or reverse the Address query service, that is, forward parsing and reverse parsing.Forward resolution: According to the domain name che
to the 21php.com. zone file on the local machine.
④ Test the DNS server
After modifying the corresponding DNS file, run the "ndc restart" command to restart the service. In redhat 7.1 or a later version, run the following command:
/Etc/rc. d/init. d/named restart
Or
/Etc/rc. d/init. d/named reload
Make the change take effect.
To test DNS, you can find a client a
/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 domain name
the packet and sends an ICMP message to the original sender.The TTL value helps us roughly identify the operating system type of the host.The TTL field value for Unix and Unix-like operating system ICMP Echo replies is 255The TTL field value of the Compaq Tru64 5.0 ICMP Echo answer is 64The TTL field value of the Microsoft Windows nt/2k operating system ICMP echo answer is 128The TTL field value for the Microsoft Windows 95 operating system ICMP echo answer is 32Special cases:LINUX Kernel 2.2.x
Common domain Name resolution method:
Import java.net.*;
public class Kkkk {public
static void Main (String args[]) throws Exception {
inetaddress address = inetaddress.ge Tbyname ("wxh-pc");//WXH-PC is my Computer name
System.out.println (address);
SYSTEM.OUT.PRINTLN ("-----");
InetAddress Address
Before configuration, explain how the Chinese domain name works:
When we enter the domain name Chaoyang. Beijing. China in the browser, the browser will translate the Chinese domain name into Punycode code and then
It is transferred to the DNS server for resolution, for example, after being translated into Punycode b
[Linux] install DNS domain name resolution service
Machine IP Address
Machine name
Purpose
10.190.60.5
Hadoop01.ftgov
DNS host
10.190.60.6
Hadoop02.ftgov
When we open the browser, enter a URL to request the resources we need, but the URL is to resolve to the corresponding IP address to establish a connection with the remote host, how to resolve the URL to IP is the scope of DNS work, even as a developer, the process we do not feel, but it is true existence, If any DNS server goes bad, it can cause a very serious internet disaster.The parsing process for the
DNS is a naming system that converts a human-readable domain name into a computer that can recognize IP addresses. When a domain name query request that does not exist in the parser cache appears, the conversion process is from the root server to the top-level domain name, for example. com domain
Symptom: A company LAN server is based on Windows Server 2003and a DNS server is built . You are now ready to set up a number of domain names to be applied to HTTP browsing,FTP login, forum access, and e-mail and so on . How do you implement this idea in a DNS server?
Workaround: This is not a fault in the strict sense, but a basic function of the DNS server, w
The role of a wildcard (wildcard)
DNS wildcard domain name resolution can also be understood as a resolution record with wildcard characters. a dns record with wildcard characters is used to provide resolution request response methods for non-existent subdomains. For example, a domain example.com exists. If we set the wildcard record * .example.com, all subdomain
Domain name
IP addresses are often difficult to remember, so we generally use domain names for management
www.google.com
The domain name is divided into three parts, with "." (point) segmentation. Strict domain name finally there is a ".", but generally omitted not to write.
-type identifies the type of this domain name
DNS (Domain Name System)In the Internet, the client and server communicate with each other using an IP address, but 32-bit integers are too difficult for people to remember, so the Internet defines the domain name and the mechanism for mapping the domain name to an IP address. The process of mapping a domain
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.