[go: up one dir, main page]

CN104427007A - A domain name searching method for a DNS - Google Patents

A domain name searching method for a DNS Download PDF

Info

Publication number
CN104427007A
CN104427007A CN201310371809.0A CN201310371809A CN104427007A CN 104427007 A CN104427007 A CN 104427007A CN 201310371809 A CN201310371809 A CN 201310371809A CN 104427007 A CN104427007 A CN 104427007A
Authority
CN
China
Prior art keywords
dns
server
domain name
client
inquiry
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
Application number
CN201310371809.0A
Other languages
Chinese (zh)
Inventor
王正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHINA ORGANIZATIONAL NAME ADMINISTRATION CENTER
Original Assignee
CHINA ORGANIZATIONAL NAME ADMINISTRATION CENTER
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHINA ORGANIZATIONAL NAME ADMINISTRATION CENTER filed Critical CHINA ORGANIZATIONAL NAME ADMINISTRATION CENTER
Priority to CN201310371809.0A priority Critical patent/CN104427007A/en
Publication of CN104427007A publication Critical patent/CN104427007A/en
Pending legal-status Critical Current

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/45Network directories; Name-to-address mapping
    • H04L61/4552Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a domain name searching method for a DNS, the method comprising: obtaining, by a DNS recursion server, client position information of a DNS search client, and transmitting the client position information to a DNS authoritative server. The DNS authoritative server extracts the client position information in a domain name search request, the DNS authoritative server compares position information of a content server and position information of a CDN server stored in the DNS authoritative server to the client position information, judges the content server or the CDN server positioned mostly close to the client, and returns an IP address of the content server or the CDN server positioned mostly close to the client to the DNS recursion server as a search response to the domain name search request. After receiving the search response, the DNS recursion server returns the search response to the DNS search client.

Description

The domain name inquiry method of DNS
Technical field
The present invention relates to a kind of domain name inquiry method, particularly relate to a kind of domain name inquiry method with Client location information.
Background technology
Dns server is divided into two kinds, DNS authority server and DNS recursion server.DNS authority server provides the data of authority, and DNS recursion server obtains from DNS authority server the DNS query client that data are transmitted to inquiry.The DNS authority server that more existing Internet services utilize returns the response of optimization according to the source address information of inquiry of the domain name request, the i.e. position of DNS authority server meeting comparison source address and content server and/or CDN server, thus return to the IP address of the content server nearest with source address and/or CDN server.
The source address of these source addresses normally DNS recursion server.In a lot of situation, DNS query client and public DNS recursion server distant, therefore DNS authority server makes response according to the position of DNS recursion server instead of DNS query client, not high for DNS query client query performance.
Summary of the invention
The object of this invention is to provide the domain name inquiry method of a kind of DNS, to improve the query performance of DNS query client.
The invention provides the domain name inquiry method of a kind of DNS, comprise the Client location information that DNS recursion server obtains DNS query client, and the inquiry of the domain name request with Client location information is sent to DNS authority server.DNS authority server extracts the Client location information in inquiry of the domain name request, DNS authority server is by the positional information of content server that wherein stores and the positional information of CDN server, with Client location information comparison, judge the content server nearest with the position of client or CDN server, and the IP address of the content server nearest with the position of client or CDN server is returned DNS recursion server as the inquiry response of inquiry of the domain name request.After DNS recursion server receives inquiry response, inquiry response is back to DNS query client.
In another schematic execution mode of the domain name inquiry method of DNS, the character string of inquiry of the domain name request comprises a reserved word, by reserved word interval between the domain name character of inquiry of the domain name request and Client location information.
In the schematic execution mode of the another kind of the domain name inquiry method of DNS, reserved word is in-addr.arpa.。
In another schematic execution mode of the domain name inquiry method of DNS, Client location information is the postcode of the IP address of DNS query client, the geographic name of the location of DNS query client or the location of DNS query client.
In another schematic execution mode of the domain name inquiry method of DNS, the inquiry request that DNS query client sends comprises the Client location information of DNS query client.
In another schematic execution mode of the domain name inquiry method of DNS, in the inquiry request that DNS recursion server is sent by DNS query client, read out the Client location information of DNS query client.
Embodiment
In this article, " schematically " expression " serves as example, example or explanation ", not should by being described to any diagram of " schematically " in this article, execution mode is interpreted as a kind of preferred or have more the technical scheme of advantage.
In this article, " one " not only represents " only this ", also can represent the situation of " more than one ".
Fig. 1 shows the structural representation of DNS query system.As shown in the figure, DNS query system comprises a DNS query client 10, DNS recursion server 20, DNS authority server 30 and a CDN server 40.When DNS query client 10 initiates an inquiry of the domain name, an inquiry of the domain name request is sent to DNS recursion server 20 by it.After DNS recursion server 20 receives the inquiry of the domain name request that DNS client sends, first this inquiry of the domain name request is compared with the caching record of DNS recursion server, if match hit caching record, then the IP address in content server corresponding to this inquiry of the domain name request or CDN server is directly returned to DNS query client 10 by DNS recursion server 20.If inquiry of the domain name request not with the caching record match hit of DNS recursion server, then inquiry of the domain name request is sent to DNS authority server 30 by DNS recursion server.DNS authority server 30, by the response of inquiry of the domain name request, returns to DNS query client 10 by DNS recursion server 20.In addition, the CDN server 40 in figure also can be replaced by content server or coexist with content server.
Below in conjunction with Fig. 1, the domain name inquiry method of DNS is described.
In step a, first obtained the positional information of DNS query client 10 by DNS recursion server 20.In a kind of exemplary embodiment of the domain name inquiry method of DNS, the positional information of DNS query client can be the postcode of the IP address of DNS query client, the geographic name of the location of DNS query client or the location of DNS query client, but be not limited to this, other guide can also be adopted to identify the positional information of DNS query client.
DNS recursion server 20 is obtained to the positional information of DNS query client 10, can be initiatively provided to DNS recursion server 20 by DNS query client 10, also can be win after reading the data message of the inquiry of the domain name request that DNS query client 10 sends by DNS recursion server 20.In a kind of exemplary embodiment of the domain name inquiry method of DNS, the inquiry of the domain name character string that DNS query client 10 generates comprises a reserved word, this reserved word can be used for identifying the positional information comprising DNS client in domain name inquiry request character string, and this reserved word is in-addr.arpa.IP address such as DNS query client 10 is 192.168.0.1, and the domain name needing inquiry is a.com, and inquiry of the domain name character string is 1.0.168.192.in-addr.arpa. a.com.But be not limited to this, other reserved word can be used as required to identify the positional information comprising DNS client in domain name inquiry request character string.In a kind of exemplary embodiment of the domain name inquiry method of DNS, the positional information of DNS query client is not comprised in the inquiry of the domain name request that DNS query client 10 sends, DNS recursion server 20 is after receiving inquiry of the domain name request, by the IP address reading DNS query client 10 in the data message of inquiry of the domain name request, and the inquiry of the domain name request that comprises the IP address of DNS query client 10 can be constructed.The inquiry of the domain name request of the IP address comprising DNS query client 10 is sent to DNS authority server 30 by DNS recursion server 20.
In stepb, the positional information comprised in inquiry of the domain name request extracts by DNS authority server 30.In a kind of exemplary embodiment of the domain name inquiry method of DNS, DNS authority server 30 can identify according to reserved word the address information comprised in inquiry of the domain name request.Be previously stored with the IP address of each CDN server 40 in the resource record of DNS authority server 30, and the domain name resources pointed by inquiry of the domain name request is stored in some CDN server 40.DNS authority server 30 can find all CDN server 40 storing domain name resources pointed by inquiry of the domain name request, and the IP address of DNS authority server 30 comparison DNS query client 10 and the IP address of these CDN server 40, thus find the CDN server 40 nearest with DNS query client 10 position, and the IP address of CDN server 40 is returned DNS recursion server 20 as the inquiry response of inquiry of the domain name request.
In step c, after the inquiry response that DNS recursion server 20 returns to DNS authority server 30, will return to DNS query client 10 in this inquiry response, the inquiry of the domain name process of whole DNS terminates.DNS query client 10 according to the IP address in inquiry response, can be accessed nearest CDN server 40, thus drastically increases access performance.
In addition, in domain name, comprise geographical location information, the intermediate equipment of DNS message transmissions and process can directly process according to common domain name, does not need the support to extra extended field.
Be to be understood that, although this specification describes according to each embodiment, but not each embodiment only comprises an independently technical scheme, this narrating mode of specification is only for clarity sake, those skilled in the art should by specification integrally, technical scheme in each embodiment also through appropriately combined, can form other execution modes that it will be appreciated by those skilled in the art that.
A series of detailed description listed is above only illustrating for possible embodiments of the present invention; they are also not used to limit the scope of the invention; allly do not depart from the skill of the present invention equivalent embodiments done of spirit or change; as the combination of feature, segmentation or repetition, all should be included within protection scope of the present invention.

Claims (6)

  1. The domain name inquiry method of 1.DNS, comprising:
    A, DNS recursion server obtains the Client location information of DNS query client, and the inquiry of the domain name request with described Client location information is sent to DNS authority server;
    B, described DNS authority server extract the described Client location information in domain name inquiry request, described DNS authority server is by the positional information of content server that wherein stores and the positional information of CDN server, with described Client location information comparison, judge the described content server nearest with the position of described client or described CDN server, and the IP address of the described content server nearest with the position of described client or described CDN server is returned described DNS recursion server as the inquiry response of domain name inquiry request; With
    After c, described DNS recursion server receive described inquiry response, described inquiry response is back to described DNS query client.
  2. 2. the domain name inquiry method of DNS as claimed in claim 1, the character string of wherein said inquiry of the domain name request comprises a reserved word, by described reserved word interval between the domain name character of domain name inquiry request and described Client location information.
  3. 3. the domain name inquiry method of DNS as claimed in claim 2, wherein said reserved word is in-addr.arpa.
  4. 4. the domain name inquiry method of DNS as claimed in claim 2, wherein said Client location information is the postcode of the IP address of described DNS query client, the geographic name of the location of described DNS query client or the location of described DNS query client.
  5. 5. the domain name inquiry method of DNS as claimed in claim 1, in wherein said step a, the inquiry request that described DNS query client sends comprises the described Client location information of described DNS query client.
  6. 6. the domain name inquiry method of DNS as claimed in claim 1, in wherein said step a, reads out the described Client location information of described DNS query client in the inquiry request that described DNS recursion server is sent by described DNS query client.
CN201310371809.0A 2013-08-23 2013-08-23 A domain name searching method for a DNS Pending CN104427007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310371809.0A CN104427007A (en) 2013-08-23 2013-08-23 A domain name searching method for a DNS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310371809.0A CN104427007A (en) 2013-08-23 2013-08-23 A domain name searching method for a DNS

Publications (1)

Publication Number Publication Date
CN104427007A true CN104427007A (en) 2015-03-18

Family

ID=52974909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310371809.0A Pending CN104427007A (en) 2013-08-23 2013-08-23 A domain name searching method for a DNS

Country Status (1)

Country Link
CN (1) CN104427007A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376344A (en) * 2015-11-26 2016-03-02 中国互联网络信息中心 Method and system for analyzing recursive domain name server related to source address
CN105704259A (en) * 2016-01-21 2016-06-22 中国互联网络信息中心 IP recognition method and system for domain name authority service source
CN106550056A (en) * 2015-09-18 2017-03-29 中国移动通信集团江苏有限公司 A kind of domain name analytic method and device
CN107341651A (en) * 2016-04-28 2017-11-10 阿里巴巴集团控股有限公司 Transaction data correlating method, IP acquisition methods, trading server and terminal
CN107517280A (en) * 2016-06-16 2017-12-26 阿里巴巴集团控股有限公司 A kind of domain name analytic method and device
CN108650338A (en) * 2018-05-03 2018-10-12 深圳市茁壮网络股份有限公司 A kind of domain name analytic method and system
WO2019080673A1 (en) * 2017-10-27 2019-05-02 华为技术有限公司 Domain name access method and device
CN111327714A (en) * 2018-12-17 2020-06-23 中国电信股份有限公司 Domain name recursive query method and system, server and DNS system
CN115442329B (en) * 2021-06-04 2024-02-23 贵州白山云科技股份有限公司 Domain name information query method, system, device, equipment and storage medium
WO2025060237A1 (en) * 2023-09-19 2025-03-27 中国互联网络信息中心 Method, apparatus and device for querying ip on basis of identifier dns query request

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080086574A1 (en) * 2006-10-05 2008-04-10 Limelight Networks, Inc. Remote Domain Name Service
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
CN102216923A (en) * 2008-11-17 2011-10-12 亚马逊技术有限公司 Request routing and updating routing information utilizing client location information
CN102984210A (en) * 2012-11-02 2013-03-20 王攀 Method for achieving network acceleration by using content delivery network (CND) technique based on integration of three networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080086574A1 (en) * 2006-10-05 2008-04-10 Limelight Networks, Inc. Remote Domain Name Service
CN102216923A (en) * 2008-11-17 2011-10-12 亚马逊技术有限公司 Request routing and updating routing information utilizing client location information
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
CN102984210A (en) * 2012-11-02 2013-03-20 王攀 Method for achieving network acceleration by using content delivery network (CND) technique based on integration of three networks

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106550056A (en) * 2015-09-18 2017-03-29 中国移动通信集团江苏有限公司 A kind of domain name analytic method and device
CN106550056B (en) * 2015-09-18 2019-09-10 中国移动通信集团江苏有限公司 A kind of domain name analytic method and device
CN105376344A (en) * 2015-11-26 2016-03-02 中国互联网络信息中心 Method and system for analyzing recursive domain name server related to source address
CN105376344B (en) * 2015-11-26 2019-01-04 中国互联网络信息中心 A kind of analytic method and system of recurrence name server relevant to source address
CN105704259B (en) * 2016-01-21 2019-06-21 中国互联网络信息中心 A method and system for identifying source IP of domain name authority service
CN105704259A (en) * 2016-01-21 2016-06-22 中国互联网络信息中心 IP recognition method and system for domain name authority service source
CN107341651A (en) * 2016-04-28 2017-11-10 阿里巴巴集团控股有限公司 Transaction data correlating method, IP acquisition methods, trading server and terminal
CN107341651B (en) * 2016-04-28 2020-08-14 阿里巴巴集团控股有限公司 Transaction data association method, IP acquisition method, transaction server and terminal
CN107517280B (en) * 2016-06-16 2021-06-22 阿里巴巴集团控股有限公司 Domain name resolution method and device
CN107517280A (en) * 2016-06-16 2017-12-26 阿里巴巴集团控股有限公司 A kind of domain name analytic method and device
CN109729181A (en) * 2017-10-27 2019-05-07 华为技术有限公司 Method and device for accessing domain name
WO2019080673A1 (en) * 2017-10-27 2019-05-02 华为技术有限公司 Domain name access method and device
CN109729181B (en) * 2017-10-27 2020-07-24 华为技术有限公司 Domain name access method and device
CN111917829A (en) * 2017-10-27 2020-11-10 华为技术有限公司 Domain name access method and device
US11095606B2 (en) 2017-10-27 2021-08-17 Huawei Technologies Co., Ltd. Domain name access method and device
US11502990B2 (en) 2017-10-27 2022-11-15 Huawei Technologies Co., Ltd. Domain name access method and device
CN108650338A (en) * 2018-05-03 2018-10-12 深圳市茁壮网络股份有限公司 A kind of domain name analytic method and system
CN111327714A (en) * 2018-12-17 2020-06-23 中国电信股份有限公司 Domain name recursive query method and system, server and DNS system
CN115442329B (en) * 2021-06-04 2024-02-23 贵州白山云科技股份有限公司 Domain name information query method, system, device, equipment and storage medium
WO2025060237A1 (en) * 2023-09-19 2025-03-27 中国互联网络信息中心 Method, apparatus and device for querying ip on basis of identifier dns query request

Similar Documents

Publication Publication Date Title
CN104427007A (en) A domain name searching method for a DNS
JP5974079B2 (en) Global traffic management using changed hostnames
US9866523B2 (en) Method and system for increasing speed of domain name system resolution within a computing device
US9231903B2 (en) System and method for resolving a DNS request using metadata
CN108370391B (en) Shared multi-tenant Domain Name System (DNS) server for virtual networks
Kamilaris et al. Exploring the Use of DNS as a Search Engine for the Web of Things
CN106797410A (en) Domain name analytic method and device
CN104519146A (en) Method and system for domain name service based on user position
CN106068639A (en) The Transparent Proxy certification processed by DNS
US20150032905A1 (en) Method and system for associating internet protocol (ip) address, media access control (mac) address and location for a user device
CN105357328A (en) DNS method, DNS recursive server and DNS system
US20150289094A1 (en) Method of accessing, by wireless device, information mapped to currently positioned space by using network access device, and device for accessing information mapped to currently positioned space by using network access device
CN102882791A (en) Method and device for processing DNS (Domain Name Server) business
CN114205330B (en) Domain name resolution method, domain name resolution device, server, and storage medium
CN109327559B (en) Domain name resolution method and device based on hybrid cloud platform
CN103501357A (en) Domain name resolution system and domain name resolution method
US20140079066A1 (en) Customer premise equipment and network address translation method using same
CN102801745A (en) Method and system for accessing local area network WEB site by using wide area network browser
KR20120134519A (en) A communication method and an apparatus for contents requester and contents provider in a network based on a hierarchical name structure
CN103347036A (en) ONS architecture with decentralized management-based EPC parsing method
CN104125310B (en) Message method based on semi-permanent address
WO2016074477A1 (en) Data processing method, device and system, and computer storage medium
CN105721624A (en) Novel authoritative domain name resolution service method and device
CN105530329B (en) A new type of domain name resolution service method and device supporting name search
CN102307248A (en) Internet retrieval method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150318

WD01 Invention patent application deemed withdrawn after publication