CN105516389A - Method and device for modifying domain name and IP mapping relation - Google Patents

Method and device for modifying domain name and IP mapping relation Download PDF

Info

Publication number
CN105516389A
CN105516389A CN201510978912.0A CN201510978912A CN105516389A CN 105516389 A CN105516389 A CN 105516389A CN 201510978912 A CN201510978912 A CN 201510978912A CN 105516389 A CN105516389 A CN 105516389A
Authority
CN
China
Prior art keywords
domain name
address
target terminal
mapping relation
mapping
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
CN201510978912.0A
Other languages
Chinese (zh)
Other versions
CN105516389B (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.)
ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd
Original Assignee
ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd
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 ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd filed Critical ZHENGZHOU XIZHI INFORMATION TECHNOLOGY Co Ltd
Priority to CN201510978912.0A priority Critical patent/CN105516389B/en
Publication of CN105516389A publication Critical patent/CN105516389A/en
Application granted granted Critical
Publication of CN105516389B publication Critical patent/CN105516389B/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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types

Abstract

The invention provides a method and a device for modifying a domain name and IP mapping relation. The method comprises the following steps: receiving a configuration modification request sent by a target terminal, wherein the configuration modification request is used for requesting to modify the mapping relation of a domain name and an IP address stored in a DNS server, and the configuration modification request carries a target identifier; determining at least one target mapping relationship requested by the target terminal for modification based on the target identifier; sending data corresponding to the at least one target mapping relationship to the target terminal to display the at least one target mapping relationship on the target terminal; receiving mapping modification data returned by the target terminal; and updating the at least one target mapping relationship stored in the DNS server based on the mapping modification data. The method and the device can be used for reducing the complexity of modifying the mapping relation of the domain name and the IP address.

Description

The amending method of domain name and IP mapping relations and device
Technical field
The application relates to technical field of domain name resolution, relates to amending method and the device of a kind of domain name and IP mapping relations in particular.
Background technology
Domain name system (DNS, DomainNameSystem) can provide domain name resolution service, and domain name mapping refers to be changed mutually by website domain name and IP address.
The mapping relations that generally can store in configuration file between domain name and IP address in the dns server, can carry out domain name mapping based on these mapping relations.If need amendment domain name mapping result, with regard to needing, the mapping relations in this configuration file between domain name and IP address are modified, as, often may need the mapping relations revising domain name and IP in software development and system testing process, to change domain name mapping result.But due to the syntax format of DNS service routine and configuration file in different dns server be likely different, therefore, before configuration file is in the dns server modified, the program just must first going understanding dns server to use and the syntax format of this configuration file, thus make the process revising mapping relations in configuration file comparatively complicated, need professional operation maintenance personnel can to modify to the mapping relations in configuration file, ordinary person is difficult to realize these mapping relations of change.
Summary of the invention
In view of this, this application provides amending method and the device of a kind of domain name and IP mapping relations, to reduce the complexity of mapping relations between amendment domain name and IP address.
For achieving the above object, the application provides following technical scheme:
An amending method for domain name and IP mapping relations, comprising:
The configuration modification request that receiving target terminal sends, described configuration modification request is for asking to revise in dns server the mapping relations between domain name and IP address stored, and described configuration modification request carries target identification;
Based on described target identification, determine described target terminal ask revise at least one objective mapping relation;
Data corresponding to described at least one objective mapping relation are sent to described target terminal, to show described at least one objective mapping relation on described target terminal;
Receive the mapping Update Table that described target terminal returns, described mapping Update Table is the data after described target terminal is modified to the part or all of mapping relations in described at least one objective mapping relation;
Based on described mapping Update Table, upgrade the described at least one objective mapping relation stored in dns server.
Preferably, the configuration modification request that described receiving target terminal sends, comprising:
The HTTP request that receiving target terminal is sent by browser, described HTTP request is for asking to revise the mapping relations between domain name and IP address stored in described dns server;
Then described data corresponding to described at least one objective mapping relation are sent to described target terminal, comprising:
Build the form comprising described at least one objective mapping relation;
Return web data to described target terminal, described web data comprises the data corresponding to described at least one objective mapping relation presented in a tabular form, and described web data renders for described target terminal the webpage comprising described form.
Preferably, described target identification is the IP address of described target terminal;
Then described based on described target identification, determine that described target terminal institute asks at least one objective mapping relation of amendment, comprising:
Based on the IP address of described target terminal, determine at least one objective mapping relation with the IP address information of described target terminal.
Preferably, described based on described target identification, determine described target terminal ask revise at least one objective mapping relation, comprising:
Based on described target identification, determine described target terminal ask revise configuration file, store described at least one objective mapping relation in described configuration file;
Then described based on described mapping Update Table, upgrade the described at least one objective mapping relation stored in dns server, comprising:
Based on described mapping Update Table, upgrade the described at least one objective mapping relation in described configuration file;
Then described based on described mapping Update Table, after upgrading the described at least one objective mapping relation in described configuration file, also comprise:
For described configuration file distributes target ip address, wherein, when the IP address of the dns server of terminal is described target ip address, described terminal can be called and represent the mapping relations in described configuration file;
Described target ip address is sent to described target terminal, so that the IP address of the dns server on described target terminal is set to described target ip address or described target ip address is shared with other-end by described target terminal.
Preferably, described mapping Update Table comprises: the mapping relations of special domain name and IP address, and wherein, the rhizosphere that described special domain is called in domain name is called asterisk wildcard;
Then described based on described mapping Update Table, upgrade the described at least one objective mapping relation stored in dns server, comprising:
From the domain name that described at least one objective mapping relation comprises, determine target domain name, the domain name part outside domain name of digging up the roots in wherein said target domain name is identical with the domain name part outside domain name of digging up the roots in described feature domain name;
IP address corresponding for described target domain name is changed to IP address corresponding to described special domain name.
On the other hand, the embodiment of the present application additionally provides the modifier of a kind of domain name and IP mapping relations, comprising:
First receiving element, for the configuration modification request that receiving target terminal sends, described configuration modification request is for asking to revise in dns server the mapping relations between domain name and IP address stored, and described configuration modification request carries target identification;
Determining unit, for based on described target identification, determine described target terminal ask at least one objective mapping relation revised;
Transmitting element, for the data corresponding to described at least one objective mapping relation are sent to described target terminal, to show described at least one objective mapping relation on described target terminal;
Second receiving element, for receiving the mapping Update Table that described target terminal returns, described mapping Update Table is the data after described target terminal is modified to the part or all of mapping relations in described at least one objective mapping relation;
Relation updating block, for based on described mapping Update Table, upgrades the described at least one objective mapping relation stored in dns server.
Preferably, described first receiving element, comprising:
First receives subelement, and for the HTTP request that receiving target terminal is sent by browser, described HTTP request is for asking to revise the mapping relations between domain name and IP address stored in described dns server;
Then described transmitting element, comprising:
Form construction unit, for building the form comprising described at least one objective mapping relation;
Send subelement, for returning web data to described target terminal, described web data comprises the data corresponding to described at least one objective mapping relation presented in a tabular form, and described web data renders for described target terminal the webpage comprising described form.
Preferably, described target identification is the IP address of described target terminal;
Then determining unit, comprising:
Determine subelement, for the IP address based on described target terminal, determine at least one objective mapping relation with the IP address information of described target terminal.
Preferably, described determining unit, comprising:
Document determining unit, for based on described target identification, determine described target terminal ask the configuration file revised, store described at least one objective mapping relation in described configuration file;
Then described relation updating block, comprising:
File update subelement, for based on described mapping Update Table, upgrades the described at least one objective mapping relation in described configuration file;
Described device also comprises:
DNS service distributing unit, for upgrade the described at least one objective mapping relation in described configuration file at described file update subelement after, for described configuration file distributes target ip address, wherein, when the IP address of the dns server of terminal is described target ip address, described terminal can be called and represent the mapping relations in described configuration file;
Address returns unit, for described target ip address is sent to described target terminal, so that the IP address of the dns server on described target terminal is set to described target ip address or described target ip address is shared with other-end by described target terminal.
Preferably, described mapping Update Table comprises: the mapping relations of special domain name and IP address, and wherein, the rhizosphere that described special domain is called in domain name is called asterisk wildcard;
Then described relation updating block, comprising:
Domain name determination subelement, in the domain name that comprises from described at least one objective mapping relation, determine target domain name, the domain name part outside domain name of digging up the roots in wherein said target domain name is identical with the domain name part outside domain name of digging up the roots in described feature domain name;
Map amendment unit, for IP address corresponding for described target domain name is changed to IP address corresponding to described special domain name.
Known via above-mentioned technical scheme, in this application, after dns server receives the configuration modification request of terminal transmission, according to the target identification that this configuration modification request is carried, determine terminal ask revise at least one objective mapping relation, and the objective mapping relation determined is returned to terminal, to demonstrate this at least one objective mapping relation in terminal, thus make the user of terminal can directly on the terminal to the domain name in this objective mapping relation or IP address, and after dns server receives the mapping Update Table that user returns, just directly this at least one objective mapping relation can be upgraded to based on this mapping Update Table, avoid terminal use directly to modify to the mapping relations in configuration file in dns server, reduce the complexity of amendment mapping relations, and then ordinary person also can be modified to the mapping relations of domain name and IP address as required.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present application, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only the embodiment of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 shows the schematic flow sheet of an amending method embodiment of a kind of domain name of the application and IP mapping relations;
Fig. 2 shows the structural representation of a modifier embodiment of a kind of domain name of the application and IP mapping relations.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
See Fig. 1, it illustrates the schematic flow sheet of an amending method embodiment of a kind of domain name of the application and IP mapping relations, the present embodiment is applied to domain name system (DNS, DomainNameSystem) server, and the method for the present embodiment can comprise:
101, the configuration modification request that receiving target terminal sends.
Wherein, this configuration modification request is for asking to revise in dns server the mapping relations between domain name and IP address stored, and this configuration modification request carries target identification.
Wherein, this target identification is used to indicate mapping relations to be modified, or, mapping relations that are that indicate this terminal association or that possess amendment authority.As, this target identification can be the IP address of this target terminal.
Be understandable that, domain name mapping is the conversion carried out with the mapping relations between domain name and IP address, therefore, modifying to the mapping relations between domain name and IP address, being actually to change domain name mapping, and the result of domain name mapping is changed.
It should be noted that, for the ease of distinguishing, in the embodiment of the present application, the terminal of this configuration modification request of current transmission being called target terminal.
Optionally, this configuration modification request can be HTML (Hypertext Markup Language) (HTTP, HyperTextTransferProtocol) request.As, target terminal can be set up HTTP by browser and dns server and be connected, and sends HTTP request to dns server, to ask change domain name mapping relation.
102, based on this target identification, determine this target terminal ask revise at least one objective mapping relation.
For the ease of distinguishing, in the embodiment of the present application the mapping relations determined based on this target identification are called objective mapping relation.
Optionally, when this target identification is the IP address of target terminal, then dns server can determine at least one objective mapping relation with the IP address information of this target terminal.
103, the data corresponding to this at least one objective mapping relation are sent to this target terminal, to show this at least one objective mapping relation on this target terminal.
104, receive the mapping Update Table that this target terminal returns.
Wherein, this mapping Update Table is the data after target terminal is modified to the part or all of mapping relations in this at least one objective mapping relation.As, the objective mapping relation determined has five, user may only need to modify to two objective mapping relations wherein, but maps Update Table, then contain these two objectives mapping relations be modified after data and the objective mapping relation that is not modified.
In the present embodiment, after at least one objective mapping relation determined is returned to target terminal by dns server, target terminal can show the objective mapping relation that dns server returns, make the user of target terminal can recognize corresponding relation in this objective mapping relation between domain name and IP address.If user needs to the corresponding relation of domain name and IP address in a certain objective mapping relations of amendment, then can directly modify in the data returned.As, certain objective mapping relations is: corresponding IP address: the 192.168.12.1 of domain name: www.adcd.com, user can change the domain name in this objective mapping relation, as changed www.emfg.com, then this objective mapping relation is modified to: corresponding IP address: the 192.168.12.1 of www.emfg.com.
105, based on this mapping Update Table, upgrade at least one objective mapping relation stored in dns server.
Wherein, can have multiple based on the mode mapping this at least one objective mapping relation that Update Table renewal DNS stores, as, this at least one objective mapping relation mapping and store in mapping relations in Update Table and dns server can be contrasted, and determine the objective mapping relation that domain name or IP address change, and according to this mapping Update Table, the objective mapping relation changed at least one objective mapping relation is modified.And for example, also can be utilize the mapping relations mapped corresponding to Update Table to replace this at least one objective mapping relation stored in this dns server.Certainly, other modes can also be had, be not limited at this.
In the embodiment of the present application, after dns server receives the configuration modification request of terminal transmission, according to the target identification that this configuration modification request is carried, determine terminal ask revise at least one objective mapping relation, and the objective mapping relation determined is returned to terminal, to demonstrate this at least one objective mapping relation in terminal, thus make the user of terminal can directly on the terminal to the domain name in this objective mapping relation or IP address, and after dns server receives the mapping Update Table that user returns, just directly this at least one objective mapping relation can be upgraded to based on this mapping Update Table, avoid terminal use directly to modify to the mapping relations in configuration file in dns server, reduce the complexity of amendment mapping relations, and then ordinary person also can be modified to the mapping relations of domain name and IP address as required.
In the embodiment of the present application, sending to the form of target terminal to have at least one objective mapping relation determined multiple, e.g., can be the corresponding relation directly sending domain name and IP address in each objective mapping relations.
Optionally, dns server can build the form comprising at least one objective mapping relation determined, these objective mapping relations are demonstrated in this form, like this, after client receives this form, present this form, user can directly modify to each objective mapping relations in form, and after completing amendment, return amended form.
Especially, set up HTTP by browser with dns server end when target terminal to be connected, and send HTTP request to dns server, when to ask to revise in dns server the mapping relations between domain name and IP address stored, server can after constructing this form, web data is returned to target terminal, this web data comprises these data corresponding at least one objective mapping relation presented in a tabular form, and this web data is used for target terminal renders the webpage comprising this form.After target terminal demonstrates the webpage including this form, user can revise the objective mapping relation in this form in webpage, revise complete after, user can click preservation, and now the objective mapping relation in form amended in this webpage can be returned to dns server by target terminal.
Be understandable that, in actual applications, dns server is target terminal when returning web data, can also include the IP address of this dns server, so that the dns server that trivial point of target terminal is different in this web data.
Be understandable that, in actual applications, multiple domain name, when modifying target mapping relations, may be mapped to an IP address by the user of target terminal, and current mode generally all needs to revise separately the mapping of each domain name to this IP address, operate comparatively complicated loaded down with trivial details.In order to reduce the operation complexity of user, in the embodiment of the present application, the use of asterisk wildcard can be supported, namely when revising this at least one objective mapping relation, can arrange the special domain name comprising asterisk wildcard " * ", wherein, the root domain name part in this special domain name is asterisk wildcard.Then can set up the mapping relations of this special domain name and some IP addresses, like this, if certain domain name is all identical with the part in this special domain name except this rhizosphere name, then the IP address corresponding to this domain name is this IP address pointed by special domain name.
Accordingly, if when including the mapping relations of special domain name and IP address in the configuration modification request that dns server receives, then can from the domain name that this at least one objective mapping relation comprises, determine target domain name, wherein, the domain name part outside domain name of digging up the roots in this target domain name is identical with the domain name part outside domain name of digging up the roots in this feature domain name; Then IP address corresponding for this target domain name is changed to IP address corresponding to this special domain name.
Such as, special domain name can be: www.a.*.com, wherein, www and a is respectively top-level domain and second level domain, com is international TLD, then rhizosphere name is different, and top-level domain, second level domain and the international TLD domain name identical with this special domain name all can as target domain name, if user sets special domain name, corresponding IP address is 192.168.12.1, then the IP address of all target domain names all can be set as 192.168.12.1 by server.
It should be noted that, target terminal, when revising local host file, can adopt the mode of asterisk wildcard equally, configure the mapping relations between special domain name and IP address, to reduce amendment number of times.
Be understandable that, in any one embodiment above, dns server storage can adopt configuration file to store the mapping relations between domain name and IP address.Accordingly, after getting target identification, can based target mark, determine target terminal institute ask amendment configuration file, store described at least one objective mapping relation in this configuration file.As, the domain name needed for different terminals can being accessed and the mapping relations of IP address are stored in a configuration file, and the IP address as terminal correspond to a configuration file.
Accordingly, when upgrading this at least one objective mapping relation, also can be directly at least one objective mapping relation in this configuration file is upgraded.
Further, in the mapping relations in order to make the user of other-end also directly can use domain name and IP in this configuration file, and without the need to remodifying the configuration file corresponding to this other-end again, after described at least one objective mapping relation in Reconfigurations file, dns server can also distribute target ip address for configuration file, wherein, when the IP address of the dns server of terminal is this target ip address, then this terminal can be called and represent the mapping relations in this configuration file.
Simultaneously, this target ip address can also be sent to target terminal by dns server, like this, the IP address of the dns server on this target terminal can be set to this target ip address by this target terminal, like this, described target ip address also can be shared with other-end by this target terminal, and to make other-end when carrying out access to netwoks, dns server can be resolved the domain name inputted in this terminal based on this configuration file.
Such as, the computer IP of user A is 192.168.12.1, and so dns server is the dns server IP that this user A distributes can be 192.168.13.1.If this user A wishes the mapping relations be shared with in the configuration file of this user A of other user B definition, as long as then user B gets the IP address that this dns server is the dns server that this user A distributes, and the IP address of the dns server of the computer of user B is set to 192.168.13.1, then server can be resolved the domain name that user B sends according to the mapping relations in the configuration file of this user A.
Wherein, dns server is that target ip address that target terminal returns dns server is actually and is assigned with a service processes to this target terminal, and this target ip address is shared with user B, is actually and have shared this service processes.
It should be noted that, in any one embodiment above, when needs amendment domain name mapping, except needing the mapping relations between this domain name and IP address, the content modification of circuit types, weight, MX priority, these aspects of TTL also may be related to.Wherein, circuit types is because domestic north and south network is obstructed and need again to resolve circuit.Weight is generally can use in the place of load balancing, and such as a website has 10 servers to bear request, but the hardware configuration of 10 servers is different, just by the difference of weight, visitor can be resolved to different servers by weight.MX priority is generally that the parsing of mail domain name is arranged, and the weight of similar domain name, selecting the priority of MX server, this value is less then more preferential.TTL refers to the cache-time of domain name mapping in each dns caching server, because domain name mapping is in formal network environment, is highly stable, seldom has amendment, so this value is general very large, than 86400.
Corresponding a kind of domain name of the application and the amending method of IP mapping relations, the embodiment of the present application additionally provides the modifier of a kind of domain name and IP mapping relations.
See Fig. 2, it illustrates the modifier of a kind of domain name of the application and IP mapping relations, this device can comprise:
First receiving element 201, for the configuration modification request that receiving target terminal sends, described configuration modification request is for asking to revise in dns server the mapping relations between domain name and IP address stored, and described configuration modification request carries target identification;
Determining unit 202, for based on described target identification, determine described target terminal ask at least one objective mapping relation revised;
Transmitting element 203, for the data corresponding to described at least one objective mapping relation are sent to described target terminal, to show described at least one objective mapping relation on described target terminal;
Second receiving element 204, for receiving the mapping Update Table that described target terminal returns, described mapping Update Table is the data after described target terminal is modified to the part or all of mapping relations in described at least one objective mapping relation;
Relation updating block 205, for based on described mapping Update Table, upgrades the described at least one objective mapping relation stored in dns server.
Optionally, in a kind of possible implementation, described first receiving element can comprise:
First receives subelement, and for the HTTP request that receiving target terminal is sent by browser, described HTTP request is for asking to revise the mapping relations between domain name and IP address stored in described dns server;
Then described transmitting element, can comprise:
Form construction unit, for building the form comprising described at least one objective mapping relation;
Send subelement, for returning web data to described target terminal, described web data comprises the data corresponding to described at least one objective mapping relation presented in a tabular form, and described web data renders for described target terminal the webpage comprising described form.
Optionally, in the embodiment of above any device, described target identification can be the IP address of described target terminal;
Accordingly, described determining unit, can comprise:
Determine subelement, for the IP address based on described target terminal, determine at least one objective mapping relation with the IP address information of described target terminal.
Optionally, in a kind of possible implementation, described determining unit, can comprise:
Document determining unit, for based on described target identification, determine described target terminal ask the configuration file revised, store described at least one objective mapping relation in described configuration file;
Then described relation updating block, comprising:
File update subelement, for based on described mapping Update Table, upgrades the described at least one objective mapping relation in described configuration file;
Described device also comprises:
DNS service distributing unit, for upgrade the described at least one objective mapping relation in described configuration file at described file update subelement after, for described configuration file distributes target ip address, wherein, when the IP address of the dns server of terminal is described target ip address, described terminal can be called and represent the mapping relations in described configuration file;
Address returns unit, for described target ip address is sent to described target terminal, so that the IP address of the dns server on described target terminal is set to described target ip address or described target ip address is shared with other-end by described target terminal.
Optionally, in any one embodiment above, described mapping Update Table comprises:
The mapping relations of special domain name and IP address, wherein, the rhizosphere that described special domain is called in domain name is called asterisk wildcard;
Accordingly, described relation updating block, can comprise:
Domain name determination subelement, in the domain name that comprises from described at least one objective mapping relation, determine target domain name, the domain name part outside domain name of digging up the roots in wherein said target domain name is identical with the domain name part outside domain name of digging up the roots in described feature domain name;
Map amendment unit, for IP address corresponding for described target domain name is changed to IP address corresponding to described special domain name.
For device embodiment, because it is substantially corresponding to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
In several embodiment provided by the present invention, should be understood that, disclosed apparatus and method, not exceeding in the spirit and scope of the application, can realize in other way.Current embodiment is a kind of exemplary example, should as restriction, and given particular content should in no way limit the object of the application.Such as, the division of described unit or subelement, is only a kind of logic function and divides, and actual can have other dividing mode when realizing, and such as multiple unit or multiple subelement combine.In addition, multiple unit can or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.
In addition, the schematic diagram of described system and method and different embodiment, not exceeding in the scope of the application, can with other system, module, technology or methods combining or integrated.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The above is only the specific embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. an amending method for domain name and IP mapping relations, is characterized in that, comprising:
The configuration modification request that receiving target terminal sends, described configuration modification request is for asking to revise in dns server the mapping relations between domain name and IP address stored, and described configuration modification request carries target identification;
Based on described target identification, determine described target terminal ask revise at least one objective mapping relation;
Data corresponding to described at least one objective mapping relation are sent to described target terminal, to show described at least one objective mapping relation on described target terminal;
Receive the mapping Update Table that described target terminal returns, described mapping Update Table is the data after described target terminal is modified to the part or all of mapping relations in described at least one objective mapping relation;
Based on described mapping Update Table, upgrade the described at least one objective mapping relation stored in dns server.
2. method according to claim 1, is characterized in that, the configuration modification request that described receiving target terminal sends, and comprising:
The HTTP request that receiving target terminal is sent by browser, described HTTP request is for asking to revise the mapping relations between domain name and IP address stored in described dns server;
Then described data corresponding to described at least one objective mapping relation are sent to described target terminal, comprising:
Build the form comprising described at least one objective mapping relation;
Return web data to described target terminal, described web data comprises the data corresponding to described at least one objective mapping relation presented in a tabular form, and described web data renders for described target terminal the webpage comprising described form.
3. method according to claim 1, is characterized in that, described target identification is the IP address of described target terminal;
Then described based on described target identification, determine that described target terminal institute asks at least one objective mapping relation of amendment, comprising:
Based on the IP address of described target terminal, determine at least one objective mapping relation with the IP address information of described target terminal.
4. method according to claim 1, is characterized in that, described based on described target identification, determine described target terminal ask revise at least one objective mapping relation, comprising:
Based on described target identification, determine described target terminal ask revise configuration file, store described at least one objective mapping relation in described configuration file;
Then described based on described mapping Update Table, upgrade the described at least one objective mapping relation stored in dns server, comprising:
Based on described mapping Update Table, upgrade the described at least one objective mapping relation in described configuration file;
Then described based on described mapping Update Table, after upgrading the described at least one objective mapping relation in described configuration file, also comprise:
For described configuration file distributes target ip address, wherein, when the IP address of the dns server of terminal is described target ip address, described terminal can be called and represent the mapping relations in described configuration file;
Described target ip address is sent to described target terminal, so that the IP address of the dns server on described target terminal is set to described target ip address or described target ip address is shared with other-end by described target terminal.
5. the method according to any one of Claims 1-4, is characterized in that, described mapping Update Table comprises: the mapping relations of special domain name and IP address, and wherein, the rhizosphere that described special domain is called in domain name is called asterisk wildcard;
Then described based on described mapping Update Table, upgrade the described at least one objective mapping relation stored in dns server, comprising:
From the domain name that described at least one objective mapping relation comprises, determine target domain name, the domain name part outside domain name of digging up the roots in wherein said target domain name is identical with the domain name part outside domain name of digging up the roots in described feature domain name;
IP address corresponding for described target domain name is changed to IP address corresponding to described special domain name.
6. a modifier for domain name and IP mapping relations, is characterized in that, comprising:
First receiving element, for the configuration modification request that receiving target terminal sends, described configuration modification request is for asking to revise in dns server the mapping relations between domain name and IP address stored, and described configuration modification request carries target identification;
Determining unit, for based on described target identification, determine described target terminal ask at least one objective mapping relation revised;
Transmitting element, for the data corresponding to described at least one objective mapping relation are sent to described target terminal, to show described at least one objective mapping relation on described target terminal;
Second receiving element, for receiving the mapping Update Table that described target terminal returns, described mapping Update Table is the data after described target terminal is modified to the part or all of mapping relations in described at least one objective mapping relation;
Relation updating block, for based on described mapping Update Table, upgrades the described at least one objective mapping relation stored in dns server.
7. device according to claim 6, is characterized in that, described first receiving element, comprising:
First receives subelement, and for the HTTP request that receiving target terminal is sent by browser, described HTTP request is for asking to revise the mapping relations between domain name and IP address stored in described dns server;
Then described transmitting element, comprising:
Form construction unit, for building the form comprising described at least one objective mapping relation;
Send subelement, for returning web data to described target terminal, described web data comprises the data corresponding to described at least one objective mapping relation presented in a tabular form, and described web data renders for described target terminal the webpage comprising described form.
8. device according to claim 6, is characterized in that, described target identification is the IP address of described target terminal;
Then determining unit, comprising:
Determine subelement, for the IP address based on described target terminal, determine at least one objective mapping relation with the IP address information of described target terminal.
9. device according to claim 6, is characterized in that, described determining unit, comprising:
Document determining unit, for based on described target identification, determine described target terminal ask the configuration file revised, store described at least one objective mapping relation in described configuration file;
Then described relation updating block, comprising:
File update subelement, for based on described mapping Update Table, upgrades the described at least one objective mapping relation in described configuration file;
Described device also comprises:
DNS service distributing unit, for upgrade the described at least one objective mapping relation in described configuration file at described file update subelement after, for described configuration file distributes target ip address, wherein, when the IP address of the dns server of terminal is described target ip address, described terminal can be called and represent the mapping relations in described configuration file;
Address returns unit, for described target ip address is sent to described target terminal, so that the IP address of the dns server on described target terminal is set to described target ip address or described target ip address is shared with other-end by described target terminal.
10. the device according to any one of claim 6 to 9, is characterized in that, described mapping Update Table comprises: the mapping relations of special domain name and IP address, and wherein, the rhizosphere that described special domain is called in domain name is called asterisk wildcard;
Then described relation updating block, comprising:
Domain name determination subelement, in the domain name that comprises from described at least one objective mapping relation, determine target domain name, the domain name part outside domain name of digging up the roots in wherein said target domain name is identical with the domain name part outside domain name of digging up the roots in described feature domain name;
Map amendment unit, for IP address corresponding for described target domain name is changed to IP address corresponding to described special domain name.
CN201510978912.0A 2015-12-23 2015-12-23 The amending method and device of domain name and IP mapping relations Active CN105516389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510978912.0A CN105516389B (en) 2015-12-23 2015-12-23 The amending method and device of domain name and IP mapping relations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510978912.0A CN105516389B (en) 2015-12-23 2015-12-23 The amending method and device of domain name and IP mapping relations

Publications (2)

Publication Number Publication Date
CN105516389A true CN105516389A (en) 2016-04-20
CN105516389B CN105516389B (en) 2019-01-08

Family

ID=55724014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510978912.0A Active CN105516389B (en) 2015-12-23 2015-12-23 The amending method and device of domain name and IP mapping relations

Country Status (1)

Country Link
CN (1) CN105516389B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379438A (en) * 2018-11-29 2019-02-22 西安四叶草信息技术有限公司 Agent relation's configuration method and device
CN109995889A (en) * 2018-01-02 2019-07-09 中国移动通信有限公司研究院 Update method, device, gateway and the storage medium of mapping table
CN110647510A (en) * 2019-09-04 2020-01-03 苏州浪潮智能科技有限公司 User name identifier mapping method, system, server and computer medium
CN112040027A (en) * 2020-09-14 2020-12-04 网易(杭州)网络有限公司 Data processing method and device, electronic equipment and storage medium
CN112437170A (en) * 2020-11-26 2021-03-02 新华三大数据技术有限公司 Domain name information processing method and device, computer equipment and computer storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277257A (en) * 2007-03-26 2008-10-01 华为技术有限公司 Method, apparatus and system for dynamically updating DNS
CN101442566A (en) * 2009-01-08 2009-05-27 中国电信股份有限公司 Method and apparatus for implementing dynamic domain name update
CN101478553A (en) * 2009-02-10 2009-07-08 中国网络通信集团公司 Dynamic domain name management system and method
CN101980194A (en) * 2010-10-27 2011-02-23 北京世纪互联宽带数据中心有限公司 Method for managing domain names
CN102045407A (en) * 2009-10-22 2011-05-04 中兴通讯股份有限公司 Method and system for inquiring mapping relation and method for sending corresponding data message
CN103685583A (en) * 2012-09-05 2014-03-26 阿里巴巴集团控股有限公司 Method and system for resolving domain names
US9219705B2 (en) * 2007-06-25 2015-12-22 Microsoft Technology Licensing, Llc Scaling network services using DNS

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277257A (en) * 2007-03-26 2008-10-01 华为技术有限公司 Method, apparatus and system for dynamically updating DNS
US9219705B2 (en) * 2007-06-25 2015-12-22 Microsoft Technology Licensing, Llc Scaling network services using DNS
CN101442566A (en) * 2009-01-08 2009-05-27 中国电信股份有限公司 Method and apparatus for implementing dynamic domain name update
CN101478553A (en) * 2009-02-10 2009-07-08 中国网络通信集团公司 Dynamic domain name management system and method
CN102045407A (en) * 2009-10-22 2011-05-04 中兴通讯股份有限公司 Method and system for inquiring mapping relation and method for sending corresponding data message
CN101980194A (en) * 2010-10-27 2011-02-23 北京世纪互联宽带数据中心有限公司 Method for managing domain names
CN103685583A (en) * 2012-09-05 2014-03-26 阿里巴巴集团控股有限公司 Method and system for resolving domain names

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
小灰灰不乖哟: "怎么查询网站的IP地址", 《百度经验,URL:HTTPS://JINGYAN.BAIDU.COM/ARTICLE/A681B0DE19E71D3B1943465B.HTML》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995889A (en) * 2018-01-02 2019-07-09 中国移动通信有限公司研究院 Update method, device, gateway and the storage medium of mapping table
CN109379438A (en) * 2018-11-29 2019-02-22 西安四叶草信息技术有限公司 Agent relation's configuration method and device
CN110647510A (en) * 2019-09-04 2020-01-03 苏州浪潮智能科技有限公司 User name identifier mapping method, system, server and computer medium
CN112040027A (en) * 2020-09-14 2020-12-04 网易(杭州)网络有限公司 Data processing method and device, electronic equipment and storage medium
CN112437170A (en) * 2020-11-26 2021-03-02 新华三大数据技术有限公司 Domain name information processing method and device, computer equipment and computer storage medium
CN112437170B (en) * 2020-11-26 2022-06-28 新华三大数据技术有限公司 Domain name information processing method and device, computer equipment and computer storage medium

Also Published As

Publication number Publication date
CN105516389B (en) 2019-01-08

Similar Documents

Publication Publication Date Title
CN105516389A (en) Method and device for modifying domain name and IP mapping relation
CN111240763B (en) Configuration updating method, device, equipment and storage medium
CN105681476B (en) A kind of method for page jump, device and system
CN102647482B (en) Method and system for accessing website
US9219705B2 (en) Scaling network services using DNS
CN104468817B (en) Implementation method and device, server, the client of resource is downloaded by CDN
CN111857974A (en) Service access method and device based on load balancer
CN107786621B (en) User information management method, access processing method, device and system
CN105337787A (en) Multi-server monitoring method, device and system
CN103501358B (en) A kind of domain name trustship management method and device
US8239532B1 (en) System and method of reducing latency using adaptive DNS resolution
CN110830374A (en) Method and device for gray level release based on SDK
CN106161664A (en) Domain name analytic method and device, data transmission method and device
US20210092073A1 (en) Resource trees by management controller
US20120278445A1 (en) Load balancing system
CN110809070A (en) Website domain name resolution record processing method and device, electronic equipment and storage medium
CN106603593A (en) HTTP calling method and device based on adaption
CN104301311A (en) Method and device for filtering network data content through DNS
JP2011096045A (en) Computer, computer system and method for executing application
US8572286B2 (en) Method and apparatus for mapping an appropriate service version for a client
CN109561167B (en) Domain name resolution method and device
CN105071965A (en) Management system of network equipment
US10243920B1 (en) Internet protocol address reassignment between virtual machine instances
CN105357175B (en) The querying method and device of source address domain name safety
CN109951575B (en) Method and system for intercepting specified domain name

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