CN105959427A - DNS server automatic expansion method - Google Patents

DNS server automatic expansion method Download PDF

Info

Publication number
CN105959427A
CN105959427A CN201610262474.2A CN201610262474A CN105959427A CN 105959427 A CN105959427 A CN 105959427A CN 201610262474 A CN201610262474 A CN 201610262474A CN 105959427 A CN105959427 A CN 105959427A
Authority
CN
China
Prior art keywords
server
domain name
dns
information
farm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610262474.2A
Other languages
Chinese (zh)
Other versions
CN105959427B (en
Inventor
李晓东
李洪涛
贺智谋
张志勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Internet Network Information Center
Original Assignee
China Internet Network Information Center
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Internet Network Information Center filed Critical China Internet Network Information Center
Priority to CN201610262474.2A priority Critical patent/CN105959427B/en
Publication of CN105959427A publication Critical patent/CN105959427A/en
Application granted granted Critical
Publication of CN105959427B publication Critical patent/CN105959427B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention provides a DNS server automatic expansion method. The DNS server automatic expansion method is characterized in that 1) a user, domain name, server group mapping relation model is established according to a domain name business rule; 2) a server group monitoring platform is established, and current information of various groups of servers is acquired, and whether a server group capacity reaches the maximum value is determined; 3) when the server group capacity reaches the maximum value, server group configuration is automatically expanded. By establishing the domain name and server group mapping model and the server group monitoring platform, any business operation is automatically mapped to the corresponding server group, and the data update of the monitoring platform is triggered quickly, and therefore the server automatic expansion is realized, and the domain name amount supporting restriction is broken. The key requirements such as rule flexibility (irrelevance to concrete business), simple and easy operation (realized by configuration adjustment), supporting of inclusive and exclusive use of servers, and maximization of server resource rate are satisfied at the same time.

Description

The automatic extended method of dns server
Technical field
The present invention relates to areas of information technology, particularly relate to DNS field, be specifically related to a kind of automatic extended method of dns server.
Background technology
It is that a authority's cloud resolves product that the authority of SDNS (Secure Domain Name System) cloud service resolves.It is supported Flexile business model, meets the different business demand of all kinds of enterprise by pipe of boarding at the nursery, Hot Spare, cold standby isotype. Product is easy to use, safe and reliable, high efficiency smart support Next Generation Internet technology.Along with the popularization of SDNS, it is accepted Domain name quantity increases rapidly, and it is extremely limited singly to organize server capacity size.For being guaranteed in what domain name quantity increased rapidly Meanwhile, the accuracy of domain name mapping data, ageing, authority's cloud resolution server must realize with adaptation field name quantity as base The automatic extension of plinth, therefore make dns server automatically be expanded into a particularly important technology.
The automatic extended method of common dns server, higher to the degree of dependence of hardware device and software, and because Domain Name Services Complexity, often have the disadvantage that:
1, Domain Name Services is complicated, extended mode is the most loaded down with trivial details, needs the worked many of manual intervention;
2, server is relied on too high by DNS extension;
3, the automatically extension of server cannot ensure that server resource obtains and utilizes to the limit, causes server resource to be wasted;
4, extension rule is the most inflexible, and to depend on degree too high with business, is unfavorable for adjusting.
Summary of the invention
For above-mentioned technical problem, it is an object of the invention to propose a kind of automatic extended method of dns server, by setting up territory Name and the mapping model of server farm and server farm monitoring platform, make any business operation can be automatically mapped to accordingly Server farm, and trigger rapidly monitoring platform data and update, thus realize server automated extension, break institute's supporting domain Name quantitative limitation.Simultaneously implementation rule flexibly (with concrete business onrelevant), (only needing to adjust configuration can realize) simple to operation, The key requests such as back-level server shares and exclusively enjoys, the maximization of server resource rate.
To achieve these goals, the technical solution used in the present invention is:
A kind of automatic extended method of dns server, comprises the following steps:
1) user, domain name, server farm mapping relations model are set up according to a Domain Name Services rule;
2) set up server farm monitoring platform, collect the current information of each cluster server and whether judge server zone pool-size Reach maximum;
3) maximum is reached when server zone pool-size, the configuration of automatic expansion service device group.
Further, the configuration of described expansion service device group includes:
3-1) in user, domain name, server farm mapping relations model, increase by one and map configuration;
3-2) increase the configuration information of a server farm;
3-3) increase the corresponding configuration of rabbitmq message queue;
3-4) refreshing enables up-to-date server farm configuration.
Further, domain name business rule includes:
A) by user, its most all domain names can be found;
B) by user, the server farm that this user current uniquely can use can be found;
C) by domain name, unique server farm can be navigated to.
Further, the described user of foundation, domain name, server farm mapping relations model comprise the steps:
1-1) by domain name type and ID, obtain by domain name node pt information;
1-2) recording domain name node pt information is to data base;
1-3) by domain name type and node pt information, obtain server farm information (server_group_name);
1-4) by server farm information, monitoring platform service capacity information is safeguarded;
1-5) by rabbitmq message mechanism, set up the one-to-many mapping relations servicing group with dns server, and will Relative users business datum is issued on corresponding dns server.
Further, the dns server of described server farm is exclusively enjoyed by server, shares and deposit rule, it is achieved server Exclusively enjoy, share and deposit function.Described server exclusively enjoys, share and deposit rule and include:
A) different types of domain name can be with common server;
B) different distributor's domain names can configure and mutually share or exclusively enjoy server;
C) distributor's domain name can be with domestic consumer's domain name common server;
D) distributor's domain name can be with VIP domain name common server;
E) different server under same group can be deployed under arbitrary node;
F) arbitrarily server farm can enable at any time, suspend.
Further, the current information of described each cluster server includes the heap(ed) capacity of each cluster server, current capacities, announcement Police appearance amount and warning information.
By using above technical scheme, advantages below can be realized:
1) automatically extended by server farm, broken single server and held quantitative limitation.
2) based on user, domain name, the mapping model of server farm, extension automatically and the dependence of Domain Name Services are relieved. If later stage business rule changes, it is only necessary to adjusting corresponding mapping ruler, extension automatic to server is had no effect, thus improves The replicability of automatization's extension and extensibility.
3) utilize flexible configuration, make dissimilar domain name arbitrarily to share or private server, significantly raise server utilization, Save server resource, reduce operation cost.
4) utilizing real-time server monitoring platform, the effectively extension for server provides foundation.
5) general rule, easy configuration, real-time monitoring, be greatly reduced operation maintenance personnel workload.
Accompanying drawing explanation
Fig. 1 is the system architecture schematic diagram that the present invention realizes the automatic extended method of dns server.
Fig. 2 is the configuration diagram that in one embodiment of the invention, dns server exclusively enjoys, shares and deposit.
Fig. 3 is single expansion service device resource schematic diagram of the present invention.
Detailed description of the invention
Operation principle: for the automatic extension of dns server, for the angle of business;Generally only need to pay close attention to domain name type, Home subscriber;For angle analytically, it is generally concerned with, is which group server concrete provides parsing for this domain name.So, this Invention provides a set of general rule, user, domain name, server is stringed together, sets up mapping relations, and energy each other Contain related service scene, unrelated with concrete business rule, and can be adjusted flexibly.
Features described above and advantage for making the present invention can become apparent, special embodiment below, and coordinate institute's accompanying drawing to make specifically Bright as follows.
Shown in Fig. 1, the automatic extended method of dns server realized by system architecture, mainly comprise the steps that
1) user, domain name, server farm mapping relations model are set up according to Domain Name Services rule;
2) establish server farm monitoring platform, collect the current information of each cluster server and judge that server zone pool-size is No reach maximum;On the premise of ensureing parsing, reduce the extension requirement to dns server automatically.
3) server resource is utilized to greatest extent, as server zone pool-size reaches maximum, the configuration of expansion service device group.
DNS authority resolves and is introducing after server farm concept, each extended target Dou Shiwu device group.Meanwhile, clothes are set up Wu Qi group monitoring platform, collected the heap(ed) capacity of each cluster server, current capacities, alarm capacity, announcement every 6 to 15 seconds The current informations such as alarming information.According to server current information, server capacity state is judged.If when server capacity reaches After alarm capability value, the form such as mail, note of employing notifies manager, carries out the work of expansion service device subsequently.
Realize a server farm extension, need to complete to configure work and include:
1) in user, domain name, server farm mapping relations model, increase one and map configuration;
2) configuration information of a server farm is increased;
3) corresponding configuration of rabbitmq message queue is increased;
4) refreshing enables up-to-date server farm configuration.
As a example by the enforcement of the concrete automatic extended method of dns server, it is described as follows:
Step 1: prepare server apparatus (automatically extending precondition);
Step 2: safeguard server automatic expanded configuration information;
A) increase a server farm configuration information in the following table, mainly comprise server zone group name, ns name information.
B) specifying this server to exclusively enjoy user's (or sharing), following user_id field configuration is-1 or specific user;
Step 3: for newly-increased server farm, safeguard rabbitmq configuration information.
A) server zone group name is configured to message EXCHANGE;
B) it is each server configures corresponding message queue in server farm, and binds corresponding EXCHANGE.
Step 4: manager logs in management platform, refreshes and enables new server farm, and automatic extension i.e. completes.
Furthermore, for further effectively save server resource, with reference to Fig. 2, the dns server of described server farm passes through Server exclusively enjoys, shares and deposit rule, it is achieved server exclusively enjoys, shares and deposit function.Described server exclusively enjoys, shares and deposit Rule includes:
A) different types of domain name can be with common server;
B) different distributor's domain names can configure and mutually share or exclusively enjoy server;
C) distributor's domain name can be with domestic consumer's domain name common server;
D) distributor's domain name can be with VIP domain name common server;
E) different server under same group can be deployed under arbitrary node;
F) arbitrarily server farm can enable at any time, suspend.
By aforesaid operations,
1) utilization achieves the pass of user, domain name, server farm in extension key configuration table (SERVER_PT_NS_T) automatically Connection maps, and mapping relations are unrelated with business rule, can be adjusted flexibly;
2) utilize in SERVER_PT_NS_T, it is achieved configuration user, server farm association, and service can be exclusively enjoyed with demultiplexing family Device, can also realize specifying multi-user or all user's shared server resources, be conducive to saving server resource;
3) use message-oriented middleware, make to operate dns server data renewal process from customer service, reduce operation system With coupling between dns server, reduce the soft and hardware to dns server and deployment request;
3) will automatically extend key configuration table, be loaded onto memory database, the high efficiency accessed can be ensured;
4) dns server extends automatically only needs adjustment configuration to realize, and simple to operate, practical.
Dns resolution in order to ensure efficiently, safety, generally use partial node to dispose, the most standby in the most standby between node, node.Drawing After having entered server farm concept, each extended target is server farm, thus realizes extension automatically and depart from specific service device Key request.Meanwhile, business datum utilizes middleware rabbitmq message mechanism, it is achieved data are distributed on each server, Server soft and hardware requirement is greatly reduced.Owing to server coherence request each in group is the highest, therefore only need to be in conditions permit feelings To remain close to group server memory under condition, and how many and network side without paying close attention to the number of servers under this server farm Dispose implementation.Operate final authoritative server from customer service and resolve data, by rabbitmq message mechanism, adopt By central control system+message+node bind mechanism, be greatly reduced between central control system with dns server couples, release business with The dependence of server resource, it is achieved the reduction and the resource that require dns server software and hardware make full use of.
Below in conjunction with a reality the automatic expansion process of dns server illustrate the present invention method compared with conventional Extension method, The superiority being had:
As a example by the dns server of a reality:
Prediction domain name quantity is 600,000, then need to carry out hardware and software capability design according to 600,000 domain name capacity.Need to disposably join (single server capacity is 150,000 domain names, and single domain name need to be deployed in two nodes, and each node needs two to put 4*4 station server Station server) and corresponding dns server software (bind) is installed, and online operation simultaneously.During operation, work as domain name During quantity not up to expection capacity, server resource there will be a large amount of free time.Meanwhile, need according to business rule true at the design initial stage Localization name place server, the later stage cannot be carried out adjust.And after domain name quantity is more than 600,000, will be unable to be supported, it is right to need System redesigns according to new business rule.
And use the method described in present invention:
Prediction domain name quantity is 600,000, for improving resource utilization, during the operation of online implementing initial stage, and only need to be according to 150,000 domain names Demand carries out software and hardware configuration, only need to configure 4 station servers (principle ibid system).When domain name increases close to 150,000, then Preparing and configure new server farm, server farm monitoring platform can be domain name amount reaches server capacity restriction when, certainly Move and enable newly configured server farm, thus ensure the utilization ratio of server.Meanwhile, can be when operation, according to business The user of rule configuration, domain name, the mapping relations of server farm, it is achieved server resource is shared, improve resource utilization. As: the duty-free name of party A-subscriber can be deposited in No. 1 server farm, after part domain name therein upgrades to VIP, can It is automatically migrated to No. 2 server farm according to mapping relations.Server farm monitoring platform simultaneously, can record each server automatically The capacity information change of group, recycling and next time for server farm extend offer foundation automatically.
Fig. 3 is shown in by single expansion service device resource schematic diagram of the present invention.
Although the present invention describes as above with aforesaid embodiment, but it can not be in order to limit the present invention.Technology neck belonging to the present invention Those of ordinary skill in territory, without departing from the spirit and scope of the present invention, does a little change and modification, all in the present invention Protection domain in.Therefore protection scope of the present invention is when as defined in claim.

Claims (7)

1. the automatic extended method of dns server, comprises the following steps:
1) user, domain name, server farm mapping relations model are set up according to a Domain Name Services rule;
2) set up server farm monitoring platform, collect the current information of each cluster server and whether judge server zone pool-size Reach maximum;
3) maximum is reached when server zone pool-size, the configuration of automatic expansion service device group.
2. the automatic extended method of dns server as claimed in claim 1, it is characterised in that described expansion service device group configuration Including:
3-1) in user, domain name, server farm mapping relations model, increase by one and map configuration;
3-2) increase the configuration information of a server farm;
3-3) increase the corresponding configuration of rabbitmq message queue;
3-4) refreshing enables up-to-date server farm configuration.
3. the automatic extended method of dns server as claimed in claim 1, it is characterised in that domain name business rule includes:
A) by user, its most all domain names can be found;
B) by user, the server farm that this user current uniquely can use can be found;
C) by domain name, unique server farm can be navigated to.
4. the automatic extended method of dns server as claimed in claim 1, it is characterised in that described set up user, domain name, clothes Wu Qi group mapping relations model comprises the steps:
1-1) by domain name type and ID, obtain by domain name node pt information;
1-2) recording domain name node pt information is to data base;
1-3) by domain name type and node pt information, obtain server farm information;
1-4) by server farm information, monitoring platform service capacity information is safeguarded;
1-5) by rabbitmq message mechanism, set up the one-to-many mapping relations servicing group with dns server, and by phase User service data is answered to be issued on corresponding dns server.
5. the automatic extended method of dns server as claimed in claim 1, it is characterised in that the DNS of described server farm Server is exclusively enjoyed by server, shares and deposit rule, it is achieved server exclusively enjoys, shares and deposit function.
6. the automatic extended method of dns server as claimed in claim 5, it is characterised in that described server exclusively enjoys, shares also Deposit rule to include:
A) different types of domain name can be with common server;
B) different distributor's domain names can configure and mutually share or exclusively enjoy server;
C) distributor's domain name can be with domestic consumer's domain name common server;
D) distributor's domain name can be with VIP domain name common server;
E) different server under same group can be deployed under arbitrary node;
F) arbitrarily server farm can enable at any time, suspend.
7. the automatic extended method of dns server as claimed in claim 1, it is characterised in that described each cluster server current Information includes the heap(ed) capacity of each cluster server, current capacities, alarm capacity and warning information.
CN201610262474.2A 2016-04-25 2016-04-25 DNS server automatic expansion method Active CN105959427B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610262474.2A CN105959427B (en) 2016-04-25 2016-04-25 DNS server automatic expansion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610262474.2A CN105959427B (en) 2016-04-25 2016-04-25 DNS server automatic expansion method

Publications (2)

Publication Number Publication Date
CN105959427A true CN105959427A (en) 2016-09-21
CN105959427B CN105959427B (en) 2020-01-21

Family

ID=56915554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610262474.2A Active CN105959427B (en) 2016-04-25 2016-04-25 DNS server automatic expansion method

Country Status (1)

Country Link
CN (1) CN105959427B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107046584A (en) * 2017-03-15 2017-08-15 中国互联网络信息中心 The DNS service dispositions method and system of a kind of overall coordination scheduling
CN113596512A (en) * 2021-07-28 2021-11-02 珠海迈科智能科技股份有限公司 Efficient and economical video stream distribution method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060112176A1 (en) * 2000-07-19 2006-05-25 Liu Zaide E Domain name resolution using a distributed DNS network
CN102045413A (en) * 2011-01-24 2011-05-04 北京邮电大学 DHT expanded DNS mapping system and method for realizing DNS security
CN102244685A (en) * 2011-08-11 2011-11-16 中国科学院软件研究所 Distributed type dynamic cache expanding method and system supporting load balancing
CN103064731A (en) * 2012-12-26 2013-04-24 人民搜索网络股份公司 Device and method for improving message queue system performance
CN105847364A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Public cloud object storage method based on uniform domain name and public cloud object storage system based on uniform domain name

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060112176A1 (en) * 2000-07-19 2006-05-25 Liu Zaide E Domain name resolution using a distributed DNS network
CN102045413A (en) * 2011-01-24 2011-05-04 北京邮电大学 DHT expanded DNS mapping system and method for realizing DNS security
CN102244685A (en) * 2011-08-11 2011-11-16 中国科学院软件研究所 Distributed type dynamic cache expanding method and system supporting load balancing
CN103064731A (en) * 2012-12-26 2013-04-24 人民搜索网络股份公司 Device and method for improving message queue system performance
CN105847364A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Public cloud object storage method based on uniform domain name and public cloud object storage system based on uniform domain name

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107046584A (en) * 2017-03-15 2017-08-15 中国互联网络信息中心 The DNS service dispositions method and system of a kind of overall coordination scheduling
CN107046584B (en) * 2017-03-15 2020-08-14 中国互联网络信息中心 DNS service deployment method and system for overall cooperative scheduling
CN113596512A (en) * 2021-07-28 2021-11-02 珠海迈科智能科技股份有限公司 Efficient and economical video stream distribution method and system
CN113596512B (en) * 2021-07-28 2023-10-17 珠海迈科智能科技股份有限公司 Efficient and economical video stream distribution method and system

Also Published As

Publication number Publication date
CN105959427B (en) 2020-01-21

Similar Documents

Publication Publication Date Title
CN110213352B (en) Method for aggregating dispersed autonomous storage resources with uniform name space
US10142406B2 (en) Automated data center selection
CN102917025B (en) Method for business migration based on cloud computing platform
CN113596110B (en) Cloud primary micro-service platform oriented to heterogeneous cloud
CN109040337B (en) Information query method, edge server and information query system
US20140258155A1 (en) Application marketplace for virtual desktops
CN105518648A (en) Providing resources to customers via node-relationship models
CN104065517A (en) Distributed-system software configuration management method and system
CN103886104A (en) Distributed real-time database management system and implementation method applicable to electric system
CN1929494B (en) Distributed electronic program guidance system
CN103051551A (en) Distributed system and automatic maintaining method for same
CN107888666A (en) A kind of cross-region data-storage system and method for data synchronization and device
CN105068755A (en) Data duplicate storage method facing cloud computing content distribution network
EP3019974B1 (en) Control of a distributed data grid layer in a federated database system
CN104580551A (en) Networking data center system and method
CN104486402A (en) Combined equalizing method based on large-scale website
CN103607432A (en) Network establishment method and system, and network control center
CN105208090A (en) Zookeeper-based Leader selection method
CN102447734A (en) Cloud service method for taxation cloud computing network billing IM (Instant Messaging) online customer system
CN101459526A (en) Projector sharing conference system based on service discovery
CN106713353A (en) Intelligent seamless aggregation method and system for geographic information service
CN105187503A (en) Data partition supporting service connection method and system
CN102316122B (en) Method for managing intranet security based on cooperative mode
CN106210058A (en) A kind of reverse proxy method of multi-core parallel concurrent
CN105959427A (en) DNS server automatic expansion method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant