A kind of method and device that domain name is linked into proxy gateway
Technical field
The present invention relates to Internet technical field, particularly to a kind of method and dress that domain name is linked into proxy gateway
Put.
Background technology
Cloud service provider passes through proxy gateway can be provided protection for the website of user and accelerate service, at present, user website
Being linked into proxy gateway mainly has following two ways:One is NS access way, by way of updating website NS record, by net
The NS record modification stood is the dns server of cloud service provider, and the dns server of cloud service provider can be by the domain name solution of user website
Analyse as pointing to proxy gateway;Two is Cname access way, by way of changing website Cname record, by website domain name
Cname is revised as the domain name of proxy gateway.User website is linked into after proxy gateway, will be first to the access request of website
Reach proxy gateway, by described proxy gateway, this access request is responded.
The operating procedure of user is as follows:First, the website of User logs in cloud service provider, in the Website page of cloud service provider
Input needs the domain name protected or accelerated, and manually selects access way (NS access way or Cname access way);
Secondly, cloud service provider scans the DNS record of user website domain name, the DNS scanning record is supplied to user and is confirmed;Again
Secondary, after user is to DNS registration confirmed, manual examination and verification are carried out to the website of user by the staff of cloud service provider;Then, when
After manual examination and verification are passed through, inform user's dns server address or Cname record;Finally, user is to the DNS clothes of oneself website
Business business website modification DNS record, to be modified after DNS record come into force after, complete the access of user's domain name.
As can be seen that the existing flow process being linked into proxy gateway is too high for the understanding cost of user, a lot of users are not
Know DNS relevant knowledge, also do not know that what the concrete difference of Cname access way and NS access way is, domain name incoming stream
Journey is too loaded down with trivial details and technicalization.
Content of the invention
In view of this, it is an object of the invention to provide a kind of method and device that domain name is linked into proxy gateway, with letter
Change the access process of domain name.
For achieving the above object, the present invention provides technical scheme as follows:
A kind of method that domain name is linked into proxy gateway, is applied in the Website server of cloud service provider, including:
Obtain the website domain name of user input;
Scan described website domain name corresponding DNS record;
After scanning DNS record, according to the fast access mode of user's selection, it is that described website domain name selects Cname to connect
Enter mode, and the domain name of output agent gateway, with the DNS service business website pointing out user to oneself website domain name, DNS is recorded
Type be revised as Cname record, the record value that DNS is recorded is revised as the domain name of proxy gateway.
On method, wherein, also include:
The website domain name of user input is audited automatically, examination & verification is obstructed out-of-date, refuses the access of this website domain name, its
In, automatically the project of examination & verification include following one or more:
Whether website domain name is in the list of the website world;
Whether website domain name puts on record;
Whether website can open;
Whether web site contents include illegal keyword.
On method, wherein, also include:
Judge the domain name whether website domain name is administered by affiliate, if so, prompting user is authorized, and in user
After mandate, change the DNS record of user website by the interface between affiliate, the type that DNS is recorded is revised as
Cname records, and the record value that DNS is recorded is revised as the domain name of proxy gateway.
A kind of device that domain name is linked into proxy gateway, is applied in the Website server of cloud service provider, including:
Acquiring unit, for obtaining the website domain name of user input;
Scanning element, for scanning described website domain name corresponding DNS record;
Output unit, after being used for scanning DNS record, according to the fast access mode of user's selection, is described website domain
Name selects Cname access way, and the domain name of output agent gateway, with the DNS service business pointing out user to arrive oneself website domain name
The type that DNS records is revised as Cname record by website, and the record value that DNS is recorded is revised as the domain name of proxy gateway.
Above-mentioned device, wherein, also includes:
Examination & verification unit, for automatically being audited to the website domain name of user input, examination & verification is obstructed out-of-date, refuses this website
The access of domain name, wherein, automatically the project of examination & verification include following one or more:
Whether website domain name is in the list of the website world;
Whether website domain name puts on record;
Whether website can open;
Whether web site contents include illegal keyword.
Above-mentioned device, wherein, also includes:
Interface unit, for judging the domain name whether website domain name is administered by affiliate, if so, prompting user is carried out
Authorize, and after user authorizes, change the DNS record of user website by the interface between affiliate, DNS is recorded
Type be revised as Cname record, the record value that DNS is recorded is revised as the domain name of proxy gateway.
A kind of method that domain name is linked into proxy gateway, is applied to the Website server of the affiliate of cloud service provider
In, including:
Obtain the website domain name of user input;
The type of the DNS record of website domain name is revised as Cname record, the record value that DNS is recorded is revised as acting on behalf of
The domain name of gateway, and result will be changed by the interface notification between cloud service provider to cloud service provider, so that cloud service provider is
User website opening protection function and acceleration service.
Above-mentioned method, wherein, also includes:
The statistical number that Cloud Server is protected to user website and accelerated is obtained by the interface between cloud service provider
According to, and statistical data is showed user.
A kind of device that domain name is linked into proxy gateway, is applied to the Website server of the affiliate of cloud service provider
In, including:
Acquiring unit, for obtaining the website domain name of user input;
Modification unit, for being revised as Cname record, the record that DNS is recorded by the type of the DNS record of website domain name
Value is revised as the domain name of proxy gateway, and by modification result by the interface notification between cloud service provider to cloud service provider, with
Just cloud service provider is user website opening protection function and accelerates service.
Above-mentioned device, wherein, also includes:
Interface unit, for by interface between cloud service provider obtain Cloud Server user website is carried out protection and
The statistical data accelerating, and statistical data is showed user.
Compared with prior art, the present invention replaced by a key access process that is quick, visualizing, go technicalization existing
Access process, can preferably improve Consumer's Experience, reduce and access domain name technical threshold, and improve domain name and access conversion ratio.
Further, also can pass through open interface, quickly access the domain name of the user website that third party is administered.
Brief description
Fig. 1 is the method flow diagram that domain name is linked into proxy gateway according to an embodiment of the invention;
Fig. 2 is the structure drawing of device that domain name is linked into proxy gateway according to an embodiment of the invention;
Fig. 3 is the method flow diagram that domain name is linked into proxy gateway according to another embodiment of the present invention;
Fig. 4 is the structure drawing of device that domain name is linked into proxy gateway according to another embodiment of the present invention.
Specific embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
For solve the problems, such as existing domain name access proxy gateway flow process is too loaded down with trivial details and technicalization, the embodiment of the present invention
A kind of method and device that domain name is linked into proxy gateway is provided, bonded becomes a mandarin by quick, visualizing, go technicalization one
Journey, to replace existing access process, can preferably improve Consumer's Experience, reduce and access domain name technical threshold, and improve domain name
Access conversion ratio.Further, also can pass through open interface, quickly access the user website that third party is administered
Domain name.
Embodiment 1
Fig. 1 is the method flow diagram that domain name is linked into proxy gateway according to an embodiment of the invention, methods described
It is applied in the Website server of cloud service provider, cloud service provider is deployed with multiple proxy gateways, by one or more of
Proxy gateway can provide protection for the website of user and accelerate service.With reference to Fig. 1, methods described includes:
Step 101, obtains the website domain name of user input;
When user needs to apply for the protection of cloud service provider offer and accelerate service, the website of cloud service provider can be logged in, should
There is domain name input box, the domain name that user will be able to add in domain name input box input in Website page.Domain name input box is also
Can automatically verify whether the Domain Name Form registering sites of user input is correct, during Domain Name Form registering sites mistake, point out user to modify, domain name lattice
When formula is correct, enters follow-up domain-name information and automatically find step.
Step 102, scanning described website domain name corresponding DNS record;
In this step, mainly obtain domain name relevant information, the DNS record of domain name, institute can be got by scanning
State DNS record can include:It is responsible for dns server name, record type and the record value that this domain name is parsed.Record type
For example, type-A, Cname type and@type etc..
Step 103, after scanning DNS record, according to the fast access mode of user's selection, is that described website domain name selects
Cname access way, and the domain name of output agent gateway, are incited somebody to action with the DNS service business website pointing out user to arrive oneself website domain name
The type of DNS record is revised as Cname record, and the record value that DNS is recorded is revised as the domain name of proxy gateway.
In this step, user can be pointed out to carry out access module selection, access module is divided into quick mode and expert's mould
Formula, if user selects quick mode, to access domain name according to Cname access way automatically, and provides silent for user website
The configuration recognized, acquiescence accesses all A records under this domain name according to Cname mode automatically, and comes into force in@and www record access
Automatic opening protection function and acceleration service afterwards.If user selects expert mode, user is pointed out to select access way, such as NS connects
Enter mode or Cname access way, user can also carry out detailed configuration to the service entry of access website record and unlatching.
Alternatively, before step 103, methods described also includes:The website domain name of user input is audited automatically,
It is obstructed out-of-date to audit, and refuses the access of this website domain name.
Wherein, the project of automatically examination & verification include following one or more:
Website domain name whether in the list of the website world, if it was not then examination & verification is not passed through;
Whether website domain name puts on record, if not putting on record, auditing and not passing through;
Whether website can open, if can not open, audit and do not pass through;
Whether web site contents include illegal keyword, if including illegal keyword, auditing and not passing through.
Alternatively, before step 103, methods described also includes:Judge whether website domain name is administered by affiliate
Domain name, if so, prompting user authorized, and after user authorizes, used by the modification of interface between affiliate
The DNS record of family website, the type that DNS is recorded is revised as Cname record, and the record value that DNS is recorded is revised as acting on behalf of net
The domain name closed, and process ends.
Affiliate refers to the affiliate of cloud service provider, and described affiliate can be with domain name registration provider, domain name solution
Analysis provider, fictitious host computer, cloud computing provider and IDC machine room etc..The server of cloud service provider and the server of affiliate
Between there is open interface, the server of cloud service provider is able to access that the server of affiliate by interface, and is being used
During the mandate at family, the DNS record of user website can be modified, so it is not necessary to user carries out the modification of DNS record,
So as to the quick domain name accessing the user website that affiliate is administered.
Fig. 2 is the structure drawing of device that domain name is linked into proxy gateway according to an embodiment of the invention, described device
It is applied in the Website server of cloud service provider, cloud service provider is deployed with multiple proxy gateways, by one or more of
Proxy gateway can provide protection for the website of user and accelerate service.With reference to Fig. 2, described device includes:
Acquiring unit 21, for obtaining the website domain name of user input;
Scanning element 22, for scanning described website domain name corresponding DNS record;
Output unit 23, after being used for scanning DNS record, according to the fast access mode of user's selection, is described website
Domain name selects Cname access way, and the domain name of output agent gateway, to point out user to arrive the DNS service of oneself website domain name
The type that DNS records is revised as Cname record by business website, and the record value that DNS is recorded is revised as the domain name of proxy gateway.
Alternatively, described device also includes:Examination & verification unit (not shown), for the website domain name of user input is carried out from
Dynamic examination & verification, examination & verification is obstructed out-of-date, refuses the access of this website domain name, wherein, automatically the project of examination & verification include following one or
Multiple:
Whether website domain name is in the list of the website world;
Whether website domain name puts on record;
Whether website can open;
Whether web site contents include illegal keyword.
Alternatively, described device also includes:Interface unit (not shown), for judging whether website domain name is affiliate
The domain name administered, if so, points out user to be authorized, and after user authorizes, by the interface between affiliate
The DNS record of modification user website, the type that DNS is recorded is revised as Cname record, and the record value that DNS is recorded is revised as
The domain name of proxy gateway.
Embodiment 2
Fig. 3 is the method flow diagram that domain name is linked into proxy gateway according to an embodiment of the invention, methods described
In the Website server of the affiliate being applied to cloud service provider, cloud service provider is deployed with multiple proxy gateways, by therein
One or more proxy gateways can provide protection for the website of user and accelerate service.Described affiliate can be with domain name registration
Provider, domain name mapping provider, fictitious host computer, cloud computing provider and IDC machine room etc..The server of cloud service provider and cooperation
There is between the server of partner open interface, the server of cloud service provider is able to access that the service of affiliate by interface
Device, the server of affiliate is also able to access that the server of cloud service provider by interface.
With reference to Fig. 3, methods described includes:
Step 301, obtains the website domain name of user input;
(affiliate is the DNS service of user website domain name to the domain name of the user website administered for affiliate
Business), user can directly apply for domain name is linked into the proxy gateway of cloud service provider at the Website server of affiliate.With
Family logs in the website of affiliate, has domain name input box in this Website page, and user can input in domain name input box will
The domain name added.Domain name input box can also verify whether the Domain Name Form registering sites of user input is correct automatically, during Domain Name Form registering sites mistake,
Prompting user modifies, and when Domain Name Form registering sites is correct, enters step 302.
Step 302, the type of the DNS record of website domain name is revised as Cname record, the record value that DNS is recorded is repaiied
It is changed to the domain name of proxy gateway, and result will be changed by the interface notification between cloud service provider to cloud service provider, so that cloud
Service provider is user website opening protection function and accelerates service.
Affiliate knows the domain name of proxy gateway, therefore can directly change the DNS record of user website domain name, also may be used
To change the DNS record of user website domain name after the mandate obtaining user.After the completion of modification, notify cloud service provider, cloud service
Business then can open corresponding protection and acceleration service for user website.
Alternatively, methods described also includes:Cloud Server is obtained to user website by the interface between cloud service provider
The statistical data being protected and being accelerated, and statistical data is showed user.Specifically, cloud service provider is opened and is serviced and come into force
Afterwards, notify affiliate, had turned on by affiliate's more new user interface display service state, user can see that service is opened
Open;Additionally, cloud service provider also provides function detail parameters setting interface data form to show that interface supplies the exhibition of affiliate website
Show data sheet and detailed setting modification.
Fig. 4 is the structure drawing of device that domain name is linked into proxy gateway according to an embodiment of the invention, described device
In the Website server of the affiliate being applied to cloud service provider, cloud service provider is deployed with multiple proxy gateways, by therein
One or more proxy gateways can provide protection for the website of user and accelerate service.Described affiliate can be with domain name registration
Provider, domain name mapping provider, fictitious host computer, cloud computing provider and IDC machine room etc..The server of cloud service provider and cooperation
There is between the server of partner open interface, the server of cloud service provider is able to access that the service of affiliate by interface
Device, the server of affiliate is also able to access that the server of cloud service provider by interface.
With reference to Fig. 4, described device includes:
Acquiring unit 41, for obtaining the website domain name of user input;
Modification unit 42, for being revised as Cname record, the note that DNS is recorded by the type of the DNS record of website domain name
Record value is revised as the domain name of proxy gateway, and will change result by the interface notification between cloud service provider to cloud service provider,
So that cloud service provider is user website opening protection function and accelerates service.
Alternatively, described device also includes:Interface unit (not shown), for being obtained by the interface between cloud service provider
Take the statistical data that Cloud Server is protected to user website and accelerated, and statistical data is showed user.
It should be noted that the step that illustrates of flow process in accompanying drawing can perform being such as provided with one group of computer
Execute in the computer system of instruction, and although showing logical order in flow charts, but in some cases, can
With with the step shown or described different from order execution herein.In addition, those skilled in the art should be understood that above-mentioned
Each module of the present invention or each step can be realized with general computing device, they can concentrate on single calculating dress
Put, or be distributed on the network that multiple computing devices are formed, alternatively, they can use the executable journey of computing device
Sequence code, to realize, it is thus possible to be stored in being executed by computing device in storage device, or they is made respectively
It is made each integrated circuit modules, or the multiple modules in them or step is fabricated to single integrated circuit module to come in fact
Existing.So, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement done etc., should be included within the scope of protection of the invention.