CN103501357A - Domain name resolution system and domain name resolution method - Google Patents
Domain name resolution system and domain name resolution method Download PDFInfo
- Publication number
- CN103501357A CN103501357A CN201310429955.4A CN201310429955A CN103501357A CN 103501357 A CN103501357 A CN 103501357A CN 201310429955 A CN201310429955 A CN 201310429955A CN 103501357 A CN103501357 A CN 103501357A
- Authority
- CN
- China
- Prior art keywords
- domain name
- name
- place
- address
- latitude
- 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
Disclosed are a domain name resolution system and a domain name resolution method. A multiple mapping relation between 'IP-domain name-longitude and latitude-geographical name' is established by expanding a DNS database field and increasing spatial position and geographical name information, so that real spatial location of internet objects and events is completed, and various associative queries and condition searches including queries and searches for coordinates and geographical names is completed. On this basis, efficient network resource management is realized.
Description
Technical field
The present invention relates to the Internet space location resolution technical field, relate in particular to a kind of domain name analysis system and domain name analytic method.
Background technology
Domain name system (Domain Name System, DNS) be the kernel service of the Internet, it,, as a distributed data base domain name and IP address can being shone upon mutually, can access the Internet more easily, and do not spend, does not remember the IP string that can directly be read by machine.The process that domain name is mapped as to the IP address just is called " domain name mapping ".
Along with the continuous enhancing of internet function, and and realistic space between effect day by day strong, need DNS that the outer more information analytical capabilities of IP is provided.
Summary of the invention
The technical problem to be solved in the present invention is: a kind of domain name analytic method is provided, can, outside domain name and IP address, increases more analytical capabilities in the DNS system.
In order to address the above problem, the invention provides a kind of domain name analysis system, comprise name server and address resolver, the IP address that the domain name server is preserved domain name and shone upon with domain name, by described address resolver, the domain name server is for resolving to described IP address by domain name, the domain name server is also preserved longitude and latitude and place name, the domain name server also resolves to described longitude and latitude by described address resolver the longitude and latitude at place, described IP address, and described place name is resolved to place, described IP address place name
In addition, the invention provides a kind of domain name analytic method, comprise the steps:
Address resolver request domain name, longitude and latitude and place name,
Described address resolver generates message, and issues name server, wherein, described message comprises the inquiry section, described inquiry section also comprises QCOORDINATE and QPLACENAME, and described QCOORDINATE is for storing longitude and latitude, and described QPLACENAME comprises a requested place name;
After the domain name server is received described message, determine described inquiry section;
Judge whether authorization data, if carry out next step; If not, the domain name server is inquired about and return data in local buffer;
Judge whether recursive query, if carry out next step; If not, domain name whois lookup authoritative domain name server return pointer;
Search the authoritative domain name server data, find the IP that domain name is corresponding, the longitude and latitude at place, described IP address and the place name at place, described IP address.
Preferably, described QCOORDINATE accounts for 32, comprises two requested labels, is respectively used to store longitude and latitude, and each request label is become by 16 system arrays.
Preferably, described QPLACENAME is variable length field, and described variable length field comprises a requested place name, and described place name means with label, described label by an octal system back and then an octal number that means length form.
Preferably, described message comprises text segment, described text segment comprises described inquiry section, described text segment also comprises the section of replying, authorizes section and extra segment, the described section of replying, mandate section and extra segment also comprise COORDINATE and PLACENAME, described COORDINATE is for storing longitude and latitude, and described PLACENAME comprises a requested place name.
Preferably, described COORDINATE accounts for 32, comprises two requested labels, and wherein, two requested labels are respectively used to store longitude and latitude, and each request label is become by 16 system arrays.
Preferably, described PLACENAME is variable length field, wherein comprises a requested place name, and described place name means with label, described label by an octal system back and then an octal number that means length form.
Domain name analytic method provided by the invention and system, by expansion DNS Database field, increase locus and information of place names, set up the multiple mapping relation between " IP-domain name-longitude and latitude-place name ", thereby complete the Internet object and event realistic space location, complete coordinate, place name at interior various correlation inquiries and conditional search, the Internet resources of realizing are on this basis efficiently managed.
The accompanying drawing explanation
The flow chart of steps that Fig. 1 is domain name analytic method provided by the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage more clear, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The invention provides a kind of domain name analysis system, comprise: name server and address resolver, the IP address that name server is preserved domain name and shone upon with domain name, name server passes through address resolver, by domain name mapping, it is the IP address, name server is also preserved longitude and latitude and place name, and name server also resolves to longitude and latitude by address resolver the longitude and latitude at place, IP address, and place name is resolved to place, described IP address place name.
In addition, the invention provides a kind of domain name analytic method 100, comprise the steps:
Step S110: address resolver request domain name, longitude and latitude and place name;
Be appreciated that, existing DNS resource record is as follows: the SOA of (1) beginning authorized organization (Start Of Autority): this record shows that dns name claims that server is the information source of the tables of data in the DNS territory, this server is the manager of host name, while creating new region, this resource record is created automatically, but article one record in the DNS database file; (2) name server NS:(Name server): for DNS domain identifier dns name claims server, this resource record appears in all dns zones territory, and while creating new region, this resource record is created automatically; (3) host address A(Adress): this resource record and host name are mapped to an IP address in the dns zone territory; (4) pointer PTR (Point): this resource record and host record pairing can be mapped to the IP address DNS reverse zone and fall host name; (5) mail interchanger resource record MX (Mail Exchange): for the DNS domain name has been specified mail exchange server; (6) another name CNAME (Canonical Name): another name that is only main frame.
Particularly, the present invention take have now DNS as the basis, pass through expansion DNS Database field under the prerequisite of increase longitude and latitude and place name thereof in the IP agreement, longitude and latitude and place name have been added in the resource of original DNS record, wherein, longitude and latitude resolves to the longitude and latitude at place, IP address, and place name resolves to place, IP address place name.
Step S120: address resolver will generate message, and issue name server, wherein, message comprises the inquiry section, the inquiry section also comprises QCOORDINATE and QPLACENAME, and described QCOORDINATE is for storing longitude and latitude, and described QPLACENAME comprises a requested place name;
Be appreciated that existing DNS message is comprised of header and text segment, its text segment is encapsulated in the DNS heading.DNS has four class text segments: inquiry section, the section of replying, mandate section and extra segment.Inquiry section be main frame to name server, send domain name is converted to the request message of IP address, name server is according to the host query type, return to the section of replying, mandate section or the extra segment that contain resource record after the query resource database of record, resource record is told the information that main frame is inquired about.Wherein, the form of inquiry section comprises following field: (1) QNAME: this field is variable length field, wherein comprise a requested domain name, mean with a series of labels, each label follows an octal number that means length to form by an octal system back; (2) QTYPE: this field accounts for 16, the resource type of given query (Type), this field resource record of a types value and an appointment is complementary (some general QTYPE value can be complementary with many resource records), its value can be A(requesting host IP address), NS(asks authoritative domain name server) or the CNAME(request return to canonical name, or the real name corresponding with another name used of certain main frame); (3) QCLASS: this field accounts for 16, the classification of given query (Class), as Inet in order to mean the Internet and IP address lookup.
Preferably, the inquiry section also comprises QCOORDINATE and QPLACENAME, and wherein, QCOORDINATE accounts for 32, comprises two requested labels, is respectively used to store longitude and latitude, and each described request label is become by 16 system arrays; QPLACENAME is variable length field, and described variable length field comprises a requested place name, and place name means with label, label by an octal system back and then an octal number that means length form.
Preferably, the section of replying, mandate section and extra segment also comprise COORDINATE and PLACENAME, and wherein, COORDINATE accounts for 32, comprises two requested labels, is respectively used to store longitude and latitude, and each described request label is become by 16 system arrays; PLACENAME is variable length field, wherein comprises a requested place name, and place name means with label, described label by an octal system back and then an octal number that means length form.
Step S130: after name server is received message, determine the inquiry section;
Step S140: judge whether authorization data, if carry out next step; If not, name server is inquired about and return data in local buffer;
Be appreciated that after name server is received message, whether name server inquiry this locality authorizes QCOORDINATE and QPLACENAME field, if Query Result is yes, carries out next step; If Query Result is no, name server is inquired about in local buffer, and the result of inquiry is returned.
Step S150: judge whether recursive query, if carry out next step; If not, name server is searched authoritative domain name server return pointer;
Particularly, after the address resolver sends request to name server, if name server itself can not be resolved, to other name server, send inquiry request, and repeat to propose inquiry to remote server, under foundation the other side's prompting, inquired about, until obtain final answer or error message.
Be appreciated that when name server and can be resolved, now, without carrying out recursive query, name server is searched authoritative domain name server return pointer; If name server itself can not be resolved, carry out recursive query, until obtain final answer or error message.
Step S160: search the authoritative domain name server data, find the longitude and latitude at IP address corresponding to domain name, place, IP address and the place name at place, IP address.
After being appreciated that and carrying out recursive query, until find the authoritative domain name server data, obtain the longitude and latitude at IP address corresponding to domain name, place, IP address and the place name at place, IP address.
Domain name analytic method provided by the invention and system, by expansion DNS Database field, increase locus and information of place names, set up the multiple mapping relation between " IP-domain name-longitude and latitude-place name ", thereby complete the Internet object and event realistic space location, complete coordinate, place name at interior various correlation inquiries and conditional search, the Internet resources of realizing are on this basis efficiently managed.
Be understandable that, for the person of ordinary skill of the art, can make other various corresponding changes and distortion by technical conceive according to the present invention, and all these change and distortion all should belong to the protection range of the claims in the present invention.
Claims (7)
1. a domain name analysis system, comprise name server and address resolver, the IP address that the domain name server is preserved domain name and shone upon with domain name, the domain name server is by described address resolver, domain name is resolved to described IP address, it is characterized in that, the domain name server is also preserved longitude and latitude and place name, the domain name server also resolves to described longitude and latitude by described address resolver the longitude and latitude at place, described IP address, and described place name is resolved to place, described IP address place name.
2. a domain name analytic method, is characterized in that, comprises the steps:
Address resolver request domain name, longitude and latitude and place name;
Address resolver generates message, and issues name server, wherein, described message comprises the inquiry section, described inquiry section also comprises QCOORDINATE and QPLACENAME, and described QCOORDINATE is for storing longitude and latitude, and described QPLACENAME comprises a requested place name;
After the domain name server is received described message, determine described inquiry section;
Judge whether authorization data, if carry out next step; If not, the domain name server is inquired about and return data in local buffer;
Judge whether recursive query, if carry out next step; If not, domain name whois lookup authoritative domain name server return pointer;
Search the authoritative domain name server data, find the IP address that domain name is corresponding, the longitude and latitude at place, described IP address and the place name at place, described IP address.
3. domain name analytic method according to claim 2, is characterized in that, described QCOORDINATE accounts for 32, comprises two requested labels, is respectively used to store longitude and latitude, and each request label is become by 16 system arrays.
4. domain name analytic method according to claim 2, it is characterized in that, described QPLACENAME is variable length field, described variable length field comprises a requested place name, described place name means with label, described label by an octal system back and then an octal number that means length form.
5. domain name analytic method according to claim 2, it is characterized in that, described message comprises text segment, described text segment comprises described inquiry section, described text segment also comprises the section of replying, authorizes section and extra segment, the described section of replying, mandate section and extra segment also comprise COORDINATE and PLACENAME, and described COORDINATE is for storing longitude and latitude, and described PLACENAME comprises a requested place name.
6. domain name analytic method according to claim 2, is characterized in that, described COORDINATE accounts for 32, comprises two requested labels, and wherein, two requested labels are respectively used to store longitude and latitude, and each request label is become by 16 system arrays.
7. domain name analytic method according to claim 2, it is characterized in that, described PLACENAME is variable length field, described variable length field comprises a requested place name, described place name means with label, described label by an octal system back and then an octal number that means length form.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310429955.4A CN103501357A (en) | 2013-09-18 | 2013-09-18 | Domain name resolution system and domain name resolution method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310429955.4A CN103501357A (en) | 2013-09-18 | 2013-09-18 | Domain name resolution system and domain name resolution method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103501357A true CN103501357A (en) | 2014-01-08 |
Family
ID=49866527
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310429955.4A Pending CN103501357A (en) | 2013-09-18 | 2013-09-18 | Domain name resolution system and domain name resolution method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103501357A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104796499A (en) * | 2014-01-16 | 2015-07-22 | *** | Secondarily resolving method |
CN105227691A (en) * | 2015-09-16 | 2016-01-06 | 互联网域名***北京市工程研究中心有限公司 | A kind of method and system based on designated recorder type configuration another name |
CN106131102A (en) * | 2016-06-01 | 2016-11-16 | 乐视控股(北京)有限公司 | A kind of method and device of distribution server |
CN107040617A (en) * | 2016-10-11 | 2017-08-11 | 阿里巴巴集团控股有限公司 | The method and device of data processing |
CN107181831A (en) * | 2017-05-10 | 2017-09-19 | 郑州埃文计算机科技有限公司 | A kind of method of reverse IP positioning |
CN107222585A (en) * | 2016-03-21 | 2017-09-29 | 林政宗 | The method and system matched suitable for the real address of electronic equipment with the network address |
CN108667947A (en) * | 2017-03-31 | 2018-10-16 | 贵州白山云科技有限公司 | A kind of method and device for the length reducing DNS response messages |
CN110636150A (en) * | 2019-10-24 | 2019-12-31 | 北京小米移动软件有限公司 | Domain name resolution method, domain name resolution device, and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1431611A (en) * | 2002-01-09 | 2003-07-23 | 英业达股份有限公司 | Service system and method providing services of geography positions |
CN101291259A (en) * | 2007-04-18 | 2008-10-22 | 阿里巴巴集团控股有限公司 | System and method for monitoring geographic position of website visitor and visiting status |
CN101902442A (en) * | 2009-05-25 | 2010-12-01 | 中国科学院计算机网络信息中心 | Method, system and position information server for acquiring IP geographic position information |
CN102394946A (en) * | 2011-10-19 | 2012-03-28 | 电子科技大学 | Addressing method for sensing service application oriented wireless sensor network |
CN102577252A (en) * | 2009-10-21 | 2012-07-11 | 瑞科网信科技有限公司 | Method and system to determine an application delivery server based on geo-location information |
CN203086518U (en) * | 2012-11-29 | 2013-07-24 | 广东睿江科技有限公司 | Self-adaptive intelligent DNS server |
-
2013
- 2013-09-18 CN CN201310429955.4A patent/CN103501357A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1431611A (en) * | 2002-01-09 | 2003-07-23 | 英业达股份有限公司 | Service system and method providing services of geography positions |
CN101291259A (en) * | 2007-04-18 | 2008-10-22 | 阿里巴巴集团控股有限公司 | System and method for monitoring geographic position of website visitor and visiting status |
CN101902442A (en) * | 2009-05-25 | 2010-12-01 | 中国科学院计算机网络信息中心 | Method, system and position information server for acquiring IP geographic position information |
CN102577252A (en) * | 2009-10-21 | 2012-07-11 | 瑞科网信科技有限公司 | Method and system to determine an application delivery server based on geo-location information |
CN102394946A (en) * | 2011-10-19 | 2012-03-28 | 电子科技大学 | Addressing method for sensing service application oriented wireless sensor network |
CN203086518U (en) * | 2012-11-29 | 2013-07-24 | 广东睿江科技有限公司 | Self-adaptive intelligent DNS server |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104796499A (en) * | 2014-01-16 | 2015-07-22 | *** | Secondarily resolving method |
CN105227691A (en) * | 2015-09-16 | 2016-01-06 | 互联网域名***北京市工程研究中心有限公司 | A kind of method and system based on designated recorder type configuration another name |
CN105227691B (en) * | 2015-09-16 | 2018-09-14 | 互联网域名***北京市工程研究中心有限公司 | A kind of method and system based on designated recorder type configuration alias |
CN107222585A (en) * | 2016-03-21 | 2017-09-29 | 林政宗 | The method and system matched suitable for the real address of electronic equipment with the network address |
CN106131102A (en) * | 2016-06-01 | 2016-11-16 | 乐视控股(北京)有限公司 | A kind of method and device of distribution server |
CN107040617A (en) * | 2016-10-11 | 2017-08-11 | 阿里巴巴集团控股有限公司 | The method and device of data processing |
CN108667947A (en) * | 2017-03-31 | 2018-10-16 | 贵州白山云科技有限公司 | A kind of method and device for the length reducing DNS response messages |
CN107181831A (en) * | 2017-05-10 | 2017-09-19 | 郑州埃文计算机科技有限公司 | A kind of method of reverse IP positioning |
CN107181831B (en) * | 2017-05-10 | 2020-07-14 | 郑州埃文计算机科技有限公司 | Reverse IP positioning method |
CN110636150A (en) * | 2019-10-24 | 2019-12-31 | 北京小米移动软件有限公司 | Domain name resolution method, domain name resolution device, and storage medium |
CN110636150B (en) * | 2019-10-24 | 2023-04-18 | 北京小米移动软件有限公司 | Domain name resolution method, domain name resolution device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103501357A (en) | Domain name resolution system and domain name resolution method | |
CN101431539B (en) | Domain name resolution method, system and apparatus | |
CN111935328B (en) | Cross-region and cross-industry industrial Internet entity identification method | |
CN105959433A (en) | Domain name resolution method and domain name resolution system | |
CN107623751B (en) | DNS network system, domain name resolution method and system | |
CN106506729B (en) | A kind of DNS policy resolution method and device based on DNS view | |
CN104427007A (en) | A domain name searching method for a DNS | |
CN106790530A (en) | The tracking of domain name service and polymerization | |
CN104113447A (en) | Method, device and system for monitoring domain name resolution pollution | |
CN107786678B (en) | Domain name resolution method, device and system | |
CN107438111B (en) | Method, server and the system of method and the domain name agency of inquiry of the domain name | |
CN101499996A (en) | Domain name differentiate parsing method and domain name server | |
CN102594885A (en) | Sensor network analyzing intercommunicating platform, sensor network intercommunicating method and system | |
US20100205226A1 (en) | Unique referencing scheme identifier for location | |
CN101902442A (en) | Method, system and position information server for acquiring IP geographic position information | |
CN107295047A (en) | A kind of map data updating method, apparatus and system | |
CN102571427B (en) | The name of CIM resource and analytic method in a kind of distributed system | |
US9390136B2 (en) | System and method of identifying relevance of electronic content to location or place | |
CN102307248A (en) | Internet retrieval method and system | |
CN103347036A (en) | ONS architecture with decentralized management-based EPC parsing method | |
CN101662510A (en) | Network naming mechanism and name analytic mapping system | |
CN105933470B (en) | Stratification Service Source parses mapping method and system | |
CN102724660B (en) | Wireless sensor network and addressing, addressing method | |
CN106686050B (en) | Domain name based classification information issuing method and system | |
CN114205330B (en) | Domain name resolution method, domain name resolution device, server, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140108 |
|
RJ01 | Rejection of invention patent application after publication |