A domain name configuration information setting method, query method and device
A technology of configuration information and query method, which is applied in the Internet field, can solve the problems of affecting execution efficiency, unfavorable demand changes of global setting configuration items, cumbersome and complicated configuration process, etc., achieving high efficiency, convenient and fast query, and fast configuration Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0076] Such as figure 1 As shown, the domain name configuration information setting methods include:
[0077] Step 101, setting the configuration item vector configuration rule, the configuration item vector configuration rule includes the order setting rules of each configuration item in the configuration item vector; the configuration item vector includes N configuration item elements, where N is an integer greater than 1;
[0078] Step 102, save the information of all domain names in the domain name set;
[0079] Step 103, perform the following for each domain name in the domain name set: determine the configuration items of the domain name and the specific values of each configuration item, determine the position of each configuration item of the domain name in the configuration item vector of the domain name according to the configuration item vector configuration rules, Write the specific value of the corresponding configuration item in the corresponding position of t...
example 1
[0086] domain name www.qq.com For example, the specific execution process is as follows:
[0087] DOMAIN www.qq.com
[0088] logformat%host%timestamp%url%status%resp_size%upstream_addr%upstream_status; the content of this command line is to set the log format as: domain name, request timestamp, requested url, response status code, response size, upstream address, upstream The status code of the response.
[0089] http_access allow all; the content of this command line is: allow all requests to access.
[0090] DOMAIN END
[0091] DOMAIN www.baidu.com
[0092] acl hhh url.*\.mp4\? .* The content of this command line is: define an acl named hhh, this acl matches the request of type mp4.
[0093] logformat%host%timestamp%url%status%resp_size The content of this command line is to set the log format as: domain name, request timestamp, requested url, response status code, and response size.
[0094] http_access allow hhh The content of this command line is: It means tha...
example 2
[0108] first domain name www.qq.com and the second domain name www.baidu.com The corresponding configuration item vector includes 8 configuration items, which are: the first parent node configuration information, whether the first parent node can be accessed, the second parent node configuration information, whether the second parent node can be accessed, and the third parent node configuration information , whether the third parent node can be accessed, the configuration information of the fourth parent node, and whether the fourth parent node can be accessed.
[0109] Configuration methods using existing methods include:
[0110] DOMAIN www.qq.com
[0111] cache_peer parent 192.168.100.1 80name=beijing hash
[0112] This configuration indicates that the type of cache_peer is the parent node, the name is beijing, the ip is 192.168.100.1, the port is 80, and the usage method is hash.
[0113] cache_peer_access beijing allow all
[0114] This configuration means that all...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com