JP3834770B2 - Name resolution method and apparatus - Google Patents

Name resolution method and apparatus Download PDF

Info

Publication number
JP3834770B2
JP3834770B2 JP2002063310A JP2002063310A JP3834770B2 JP 3834770 B2 JP3834770 B2 JP 3834770B2 JP 2002063310 A JP2002063310 A JP 2002063310A JP 2002063310 A JP2002063310 A JP 2002063310A JP 3834770 B2 JP3834770 B2 JP 3834770B2
Authority
JP
Japan
Prior art keywords
answer
answers
name resolution
local dns
name
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.)
Expired - Fee Related
Application number
JP2002063310A
Other languages
Japanese (ja)
Other versions
JP2003264574A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2002063310A priority Critical patent/JP3834770B2/en
Publication of JP2003264574A publication Critical patent/JP2003264574A/en
Application granted granted Critical
Publication of JP3834770B2 publication Critical patent/JP3834770B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は名前解決方法および装置に関し、特に、IP(インターネットプロトコル)ネットワークユーザが複数のIPネットワークに同時接続するときの、リゾルバを介した名前解決方法および装置に関する。
【0002】
【従来の技術】
今日のインターネットにおける名前解決は、インターネットユーザ側の再帰的問い合わせを行うリゾルバが、ローカルDNSサーバに名前解決を要求し、ローカルDNSサーバが答えを探し、名前解決を要求してきたリゾルバに回答を返すというものである。その際、再帰的問い合わせを行うリゾルバは、一つのIPネットワークだけに接続していた。
【0003】
近年、独自コンテンツを用意した、インターネットとは独立したIPネットワーク(以下、独立ネットワークという)を構築し、インターネットユーザに対してインターネットと独立ネットワークを同時に提供することが考えられている。また、インターネットユーザが複数ISPと契約する形態、つまり、複数ISP同時接続の形態も考えられている。
【0004】
例えば、特開2001−175561号公報には、複数のネットワークに接続されているシステムにおいて、効率よく問い合わせ先を選択することができ、かつ、問い合わせ結果を取得するまでの速度を向上するための、ドメインネームシステムが開示されている。
【0005】
この技術では、ドメインネーム検索手段から与えられた名称をキーとして、検索先情報記憶部に記憶されている問い合わせ先サーバ情報をデータ処理手段により検索し、名称に対応して取得したIPアドレスをドメインネーム検索手段へ送信する。また、検索先情報記憶部に問い合わせ先サーバ情報が記憶されていない場合には、標準検索先情報記憶部から名称に対応付けられた問い合わせ先サーバのIPアドレスを読み出してドメインネーム検索手段へ送信する。
【0006】
すなわち、この技術では、検索要求名称ごとに問い合わせ先を指定することで、検索要求に対する情報を持たないサーバへの問い合わせを行わないようにして、ドメインネーム検索の効率を向上させるというものである。
しかしながら、この技術では、検索先情報記憶部に、キーとなる名称を記憶する必要があるという問題があった。
【0007】
【発明が解決しようとする課題】
すなわち、上記従来技術では、検索要求に対する情報を持たないサーバへの問い合わせを行わないようにしてはいるものの、ネットワークにコンテンツを公開するときには、キーとなる名称を含むドメイン名をつける必要があり、自由なドメイン名を付与することができない(ドメイン名付与に制限がつく)。
さらには、新たなキーとなる名称を加えるときには、ネットワークに繋がる全ユーザの検索先情報記憶部を変更する必要があり、その対応策も必要である。
【0008】
本発明はこのような事情に鑑みてなされたものであり、その目的とするところは、従来の技術における上述のような問題を解消し、複数IPネットワークを同時接続したときにも名前解決が可能な名前解決方法および装置を提供することにある。
【0009】
【課題を解決するための手段】
上記目的を達成するため、本発明に係る名前解決方法は、複数のIPネットワークに同時接続するIPネットワークユーザの名前解決方法であって、接続する前記複数のIPネットワークの優先順位を記憶するステップと、再帰的な問い合わせを行う一つのリゾルバが、接続する前記複数のIPネットワークのローカルDNSサーバに対して再帰的問い合わせを同報で行うステップと、前記ローカルDNSサーバからの回答を受け取り一定時間保管するステップと、この保管された回答の中から一つの回答を選択するステップと、この選択された回答をアプリケーションに通知するステップとを有することを特徴とする。
【0010】
本発明に係る名前解決方法においては、前記保管された回答から一つの回答を選択するステップにおいて、保管された回答とIPネットワークの優先順位とを関連付けることにより、回答の優先順位を付けて、この優先順位を付けられた回答の中から名前解決ができている回答を優先順位の高いものから一つ選択することを特徴とする。
【0011】
また、本発明に係る名前解決方法においては、前記各ステップに加えて、名前解決を要求したアプリケーションが前記選択した回答でコンテンツを得られなかった場合には、前記リゾルバが、前記回答の名前解決ができている回答の中から、次に優先順位の高い回答を一つ選択して、アプリケーションに通知するステップを有することを特徴とする。
【0012】
一方、本発明に係る名前解決装置は、複数のIPネットワークに同時接続するIPネットワークユーザの名前解決を行うための名前解決装置であって、接続する前記複数のIPネットワークの優先順位を記憶する手段と、再帰的な問い合わせを行う一つのリゾルバが、接続する前記複数のIPネットワークのローカルDNSサーバに対して再帰的問い合わせを同報で行う手段と、前記ローカルDNSサーバからの回答を受け取り一定時間保管する手段と、この保管された回答の中から一つの回答を選択する手段と、この選択された回答をアプリケーションに通知する手段とを有することを特徴とする。
【0013】
本発明に係る名前解決装置においては、前記保管された回答から一つの回答を選択する手段は、保管された回答とIPネットワークの優先順位とを関連付けることにより、回答の優先順位を付けて、この優先順位を付けられた回答の中から名前解決ができている回答を優先順位の高いものから一つ選択するものであることを特徴とする
【0014】
また、本発明に係る名前解決装置においては、名前解決を要求したアプリケーションが前記選択した回答でコンテンツを得られなかった場合に、前記リゾルバが、前記回答の中から名前解決ができている、次に優先順位の高い回答を一つ選択しアプリケーションに通知する機能を有することを特徴とする。
【0015】
なお、本発明に係る名前解決方法は、これをコンピュータのプログラム制御によって実行することが可能であり、本発明の権利範囲は、そのようなプログラムさらにはこのプログラムを記録した記録媒体にも及ぶものであることは言うまでもない。
【0016】
【作用】
本発明によれば、上述のように、リゾルバが、接続する前記複数のIPネットワークのローカルDNSサーバに対して再帰的問い合わせを同報で行い、得られた回答の中から一つを選択する構成としたことにより、複数のIPネットワークを同時接続した場合にも、名前解決を行うことが可能になる。
【0017】
また、本発明においては、また、前記保管された回答から一つの回答を選択するステップにおいて、保管された回答とネットワークの優先順位とを関連付けることにより回答の優先順位を付け、前記優先順位を付けられた回答の中から名前解決ができている回答を優先順位の高いものから一つ選択することができる。
【0018】
また、名前解決を要求したアプリケーションが前記選択した回答でコンテンツを得られなかった場合に、前記リゾルバが、前記回答の中から、名前解決ができている次に優先順位の高い回答を一つ選択して、アプリケーションに通知することができる。
【0019】
【発明の実施の形態】
以下、本発明の実施の形態を、図面に示す好適実施例に基づいて、詳細に説明する。
【0020】
図6は、従来の一般的な名前解決に関連するIPネットワーク接続の一例である。インターネットユーザ00は、一つのネットワーク(この場合は、インターネット20)に接続する。再帰的な問い合わせを行う一つのリゾルバ10は、ローカルDNSサーバ21に対して名前解決要求を出す。
【0021】
これに対して、図1は、本発明において対象とする名前解決に関連する複数のIPネットワーク接続の一例を示すものである。ネットワークユーザ01は、複数のIPネットワークに同時接続する。リゾルバ30には、接続するIPネットワークの優先順位を記憶する機能61が繋がっている。
【0022】
ここで、同時接続するIPネットワークは、インターネット20,独立ネットワーク40,独立ネットワーク50であり、インターネット20へは、同時に複数接続することも可能である。なお、接続ネットワークは、この形態には限らない。ここでは、リゾルバ30は、ローカルDNSサーバ21(IPアドレス128.10.10.2),ローカルDNSサーバ22(IPアドレス200.10.10.2),ローカルDNSサーバ41(IPアドレス192.168.10.2),ローカルDNSサーバ51(IPアドレス192.10.20.2)に対して、同報で名前解決要求を出す点が特徴である。
【0023】
図2は、再帰的問い合わせを行うリゾルバ30の機能構成を説明するブロック図である。
リゾルバ30には、接続する前記複数のIPネットワークの優先順位を記憶する手段61と、リゾルバ30に対して名前解決を依頼し、リゾルバ30から名前回答を受け取るアプリケーション71とが関連している。
【0024】
具体的には、リゾルバ30は、前記アプリケーション71から名前解決要求を受け取る手段31と、接続する前記複数IPネットワークのローカルDNSサーバに対して再帰的問い合わせを同報で行う手段32と、前記ローカルDNSサーバから回答を受け取り一定時間保管する手段33と、この保管された回答から一つの回答を選択する手段34と、この選択された回答をアプリケーションに通知する手段35とを有する。なお、このブロック図は一例であり、機能が別の場所に埋め込まれていてもよい。
【0025】
図3は、ローカルDNSサーバからの回答IPアドレスとネットワーク優先順位との関連付けから回答を選択するまでの手順の一例を示す説明図である。
【0026】
複数IPネットワークの優先順位を記憶する手段61の有するテーブル61’には、ネットワークの優先順位と該当するネットワークのローカルDNSサーバの対応関係を記憶している。ローカルDNSサーバからの回答を受け取り一定時間保管する手段33の有するテーブル33’には、ローカルDNSサーバから受け取った回答IPアドレスとその回答を返したローカルDNSサーバの対応関係を記憶している。
【0027】
また、保管された回答から一つの回答を選択する手段34の有するテーブル34’には、上述のテーブル33’に保管されている回答の中から、テーブル61’に記憶されているネットワークの優先順位に基づいて一つの回答を選択するための情報が記憶されている。
【0028】
ローカルDNSサーバのIPアドレスをトリガにして、回答IPアドレスの優先順位が付けられる。回答できたIPアドレスのうちその回答IPアドレスの優先順位の高い順にアプリケーションに渡す候補となる。
図3の例では、IPアドレス192.168.20.2のローカルDNSサーバから受け取ったIPアドレス192.168.20.10が、アプリケーションに渡す候補になる(保管された回答から一つの回答を選択する手段34のテーブル34’参照)。
【0029】
図4は、リゾルバとアプリケーションとの連携に関連する機能構成を説明するブロック図である。
ここでは、図2の機能に加えて、コンテンツGETの成否を確認するアプリケーション72と、コンテンツGETが否の場合にだけ、否の回数をアプリケーション71に通知する手段73とを有し、さらに、リゾルバ30’に再依頼が必要かどうかを判断する手段36と、名前解決の終了を判断する手段37とを有する。なお、このブロック図に示す構成も一例であり、機能が別の場所に埋め込まれていてもよい。
【0030】
図5は、名前解決の動作手順の一例を示すフローチャートである。
以下、図1〜図5を用いて、www.akairo.comの名前解決を行う例を説明する。
【0031】
リゾルバ30(30’)は、2地点からインターネット20に、さらに、独立ネットワーク40と独立ネットワーク50に同時に接続している。リゾルバ30(30’)が名前の問い合わせに行くローカルDNSサーバは、ローカルDNSサーバ21(128.10.10.2),ローカルDNSサーバ22(200.10.10.2),ローカルDNSサーバ41(192.168.10.2),ローカルDNSサーバ51(192.168.20.2)である。
【0032】
ここでは、接続する複数のIPネットワークの優先順位を記憶する手段61には、IPアドレス192.168.102のローカルDNSサーバ41が問い合わせ先になる独立ネットワーク40が優先順位1、IPアドレス192.168.20.2のローカルDNSサーバ51が問い合わせ先になる独立ネットワーク50が優先順位2、IPアドレス128.1010.2のローカルDNSサーバ21が問い合わせ先になるインターネット20が優先順位3、IPアドレス200.10.10.2のローカルDNSサーバ22が問い合わせ先になるインターネット20が優先順位4と記憶されているものとする。
【0033】
コンテンツを要求するユーザがWebブラウザにhttp://www.akairo.comと要求すると、Webアプリケーション71が、リゾルバ30(30’)に対して名前解決の依頼を行う(ステップ101)。名前解決の要求を受け取ったリゾルバ30(30’)は、初回の名前解決依頼と判断し(ステップ102)、前記4つのローカルDNSサーバに対して同報でhttp://www.akairo.comの再帰的名前解決要求を出す(ステップ103)。
【0034】
それぞれのローカルDNSサーバは反復的名前解決を行い、リゾルバ30(30’)に対してIPアドレスを回答する。具体的には、リゾルバ30(30’)は独立ネットワーク40のローカルDNSサーバ41からは「Not found」、独立ネットワーク50のローカルDNSサーバ51からは「192.168.20.10」、また、独立ネットワーク20のローカルDNSサーバ21,22からはそれぞれ「210.200.10.10」を受け取る(ステップ104)。
【0035】
リゾルバ30(30’)は、また、ステップ103,104と並行して、優先順位記憶テーブル61’の呼び出しを行う(ステップ109)。そして、ステップ104で受け取った回答をローカルDNSサーバのIPアドレスをトリガにして優先順位を付ける(ステップ105)。ここでは、「Not found」が優先順位1、「192.168.20.10」が優先順位2、「210.200.10.10」が優先順位3,4となる。
【0036】
このうち、優先順位1の「Not found」は名前解決ができていないため、リゾルバ30(30’)は、優先順位2の「192.168.20.10」を選択し、名前解決を依頼してきたWebアプリケーション71に通知する(ステップ106,107)。Webアプリケーション71は、IPアドレスが「192.168.20.10」の端末に対してコンテンツ要求を行う(ステップ108)。
【0037】
IPアドレスが「192.168.20.10」の端末や往復するネットワークに何らかの障害があり、コンテンツが得られなかった場合は、リゾルバ30(30’)は、Webアプリケーション71からコンテンツを得られなかった旨の情報を受け取り(ステップ106〜108)、再依頼であることを認識する(ステップ101,102)。
【0038】
リゾルバ30(30’)は、次の優先順位である「210.200.10.10」のIPアドレスを選択し、Webアプリケーション71に対して通知する(ステップ106,107)。リゾルバ30(30’)とWebアプリケーション71の連携は、Webアプリケーション71がコンテンツを得るか、あるいはリゾルバ30(30’)に回答IPアドレスがなくなったことを通知した段階(ステップ110)で終了する。
【0039】
上記実施形態によれば、複数のIPネットワークに同時接続するIPネットワークユーザの名前解決において、全接続ネットワークに問い合わせを行い、受け取った回答の中から、名前解決ができた優先順位の高い回答を自動的に選択することが可能になるという効果が得られる。
【0040】
なお、本発明に係る名前解決方法は、これをコンピュータのプログラム制御によって実行することが可能であり、本発明の権利範囲は、そのようなプログラムさらにはこのプログラムを記録した記録媒体にも及ぶものであることは言うまでもない。
【0041】
また、上記実施形態は本発明の一例を示すものであり、本発明はこれに限定されるべきものではなく、本発明の要旨を逸脱しない範囲で、適宜の変更・改良を行ってもよいことはいうまでもない。
【0042】
例えば、図2,図4では省略されているが、ローカルDNSサーバに対して再帰的問い合わせを同報で行う手段32が目的のDNSのIPアドレスをその都度読み込む代わりに、上記同報手段内に、これらのIPアドレスを保持するようにしてもよい。これにより、処理が簡略化され、高速化される。
【0043】
さらに、上記同報手段の出口側に、同報通信先ローカルDNSサーバの数に見合う接続ポートを設けることにより、各ローカルDNSサーバとの間に設けられている通信路を、その能力いっぱい使用することを可能として、実質的な通信能力を向上させることも可能である。
【0044】
【発明の効果】
以上、詳細に説明したように、本発明によれば、複数IPネットワークを同時接続したときにも名前解決が可能な名前解決方法および装置を実現できるという顕著な効果を奏するものである。
【図面の簡単な説明】
【図1】本発明において対象とする名前解決に関連する複数のネットワーク接続の一例を示す図である
【図2】再帰的問い合わせを行うリゾルバ30に関連する機能構成を説明するブロック図である。
【図3】ローカルDNSサーバからの回答IPアドレスとネットワーク優先順位との関連付けから回答を選択するまでの手順の一例を説明する図である。
【図4】リゾルバとアプリケーションとの連携に関連する機能構成を説明するブロック図である。
【図5】名前解決時の動作手順例を示すフローチャートである。
【図6】従来の名前解決に関連するネットワーク接続の一例を示す図である。
【符号の説明】
00,01 ネットワークユーザ
20 インターネット
21,22,41,51 ローカルDNSサーバ
30 リゾルバ
31 アプリケーションから名前解決要求を受け取る手段
32 接続する複数IPネットワークのローカルDNSサーバに対して再帰的問い合わせを同報で行う手段
33 ローカルDNSサーバから回答を受け取り一定時間保管する手段
34 保管された回答から一つの回答を選択する手段
35 選択した回答をアプリケーションに通知する手段
36 リゾルバ30’に再依頼が必要かどうかを判断する手段
37 名前解決の終了を判断する手段
40,50 独立ネットワーク
61 接続する複数IPネットワークの優先順位を記憶する手段
71 リゾルバに対して名前解決を依頼し、名前回答を受け取るアプリケーション
72 コンテンツGETの成否を確認するアプリケーションの手段
73 コンテンツをGETできなかった場合に否の回数を通知する手段
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a name resolution method and apparatus, and more particularly, to a name resolution method and apparatus via a resolver when an IP (Internet Protocol) network user is simultaneously connected to a plurality of IP networks.
[0002]
[Prior art]
In today's Internet name resolution, a resolver that performs recursive queries on the Internet user side requests name resolution from the local DNS server, the local DNS server looks for the answer, and returns the answer to the resolver that has requested name resolution. Is. At that time, the resolver that performs the recursive query is connected to only one IP network.
[0003]
In recent years, it has been considered to construct an IP network independent of the Internet (hereinafter referred to as an independent network) prepared with unique content, and simultaneously provide the Internet and the independent network to Internet users. Further, a form in which an Internet user contracts with a plurality of ISPs, that is, a form in which a plurality of ISPs are simultaneously connected is also considered.
[0004]
For example, in Japanese Patent Laid-Open No. 2001-175561, in a system connected to a plurality of networks, an inquiry destination can be efficiently selected, and the speed until obtaining an inquiry result is improved. A domain name system is disclosed.
[0005]
In this technique, using the name given from the domain name search means as a key, the query destination server information stored in the search destination information storage unit is searched by the data processing means, and the IP address acquired corresponding to the name is stored in the domain Send to name search means. If the inquiry server information is not stored in the search destination information storage unit, the IP address of the inquiry server associated with the name is read from the standard search destination information storage unit and transmitted to the domain name search unit. .
[0006]
In other words, in this technique, by specifying an inquiry destination for each search request name, an inquiry to a server that does not have information on the search request is not performed, and the efficiency of the domain name search is improved.
However, this technique has a problem that it is necessary to store a key name in the search destination information storage unit.
[0007]
[Problems to be solved by the invention]
That is, in the above prior art, although it is made not to make an inquiry to a server that does not have information for a search request, when publishing content on a network, it is necessary to attach a domain name including a key name, Free domain names cannot be assigned (domain name assignment is limited).
Furthermore, when adding a name that becomes a new key, it is necessary to change the search destination information storage unit of all users connected to the network, and countermeasures are also required.
[0008]
The present invention has been made in view of such circumstances, and the object of the present invention is to solve the above-mentioned problems in the prior art and to enable name resolution even when a plurality of IP networks are connected simultaneously. Is to provide a simple name resolution method and apparatus.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, a name resolution method according to the present invention is a name resolution method for IP network users who are simultaneously connected to a plurality of IP networks, the step of storing priorities of the plurality of IP networks to be connected; , One resolver that makes a recursive inquiry broadcasts a recursive inquiry to the local DNS servers of the plurality of IP networks to be connected, and receives a response from the local DNS server and stores it for a certain period of time. And a step of selecting one answer from the stored answers and notifying the application of the selected answer.
[0010]
In the name resolution method according to the present invention, in the step of selecting one answer from the stored answers, the priority of the answers is given by associating the stored answers with the priority of the IP network. It is characterized in that one answer having a name resolution is selected from the answers having a high priority among the answers given priority.
[0011]
Further, in the name resolution method according to the present invention, in addition to the above steps, when the application requesting name resolution cannot obtain the content with the selected answer, the resolver resolves the name of the answer. It is characterized in that it has a step of selecting one answer having the next highest priority from the answers that have been made and notifying the application.
[0012]
On the other hand, the name resolution device according to the present invention is a name resolution device for resolving names of IP network users who are simultaneously connected to a plurality of IP networks, and means for storing priorities of the plurality of IP networks to be connected A resolver that makes a recursive inquiry broadcasts a recursive inquiry to a local DNS server of the plurality of IP networks to be connected, and receives a response from the local DNS server and stores it for a certain period of time. And a means for selecting one answer from the stored answers, and a means for notifying the application of the selected answer.
[0013]
In the name resolution device according to the present invention, the means for selecting one answer from the stored answers attaches the priority order of the answers by associating the stored answers with the priority order of the IP network. One of the answers having a name resolution is selected from the answers having a high priority among the answers given priority. [0014]
Further, in the name resolution device according to the present invention, when the application requesting name resolution fails to obtain content with the selected answer, the resolver is able to resolve the name from the answers. It has a function of selecting one answer with high priority and notifying the application.
[0015]
The name resolution method according to the present invention can be executed by program control of a computer, and the scope of rights of the present invention extends to such a program as well as a recording medium recording this program. Needless to say.
[0016]
[Action]
According to the present invention, as described above, the resolver makes a recursive inquiry to the local DNS servers of the plurality of IP networks to be connected by broadcast, and selects one of the obtained answers. As a result, name resolution can be performed even when a plurality of IP networks are connected simultaneously.
[0017]
Further, in the present invention, in the step of selecting one answer from the stored answers, the priority order of the answers is given by associating the stored answers with the network priority, and the priority order is given. From the answers, one answer whose name can be resolved can be selected from those having a high priority.
[0018]
In addition, when the application requesting name resolution fails to obtain the content with the selected answer, the resolver selects one answer with the next highest priority in the name resolution from the answers. To notify the application.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail based on preferred examples shown in the drawings.
[0020]
FIG. 6 is an example of an IP network connection related to conventional general name resolution. The Internet user 00 is connected to one network (in this case, the Internet 20). One resolver 10 that makes a recursive query issues a name resolution request to the local DNS server 21.
[0021]
On the other hand, FIG. 1 shows an example of a plurality of IP network connections related to name resolution targeted in the present invention. Network user 01 is simultaneously connected to a plurality of IP networks. The resolver 30 is connected to a function 61 for storing the priority order of the connected IP network.
[0022]
Here, the IP networks to be simultaneously connected are the Internet 20, the independent network 40, and the independent network 50. A plurality of IP networks can be simultaneously connected to the Internet 20. The connection network is not limited to this form. Here, the resolver 30 includes a local DNS server 21 (IP address 128.10.10.2), a local DNS server 22 (IP address 200.10.10.2), a local DNS server 41 (IP address 192.168.10.2), and a local DNS server 51 (IP address). 192.10.20.2), the feature is that a name resolution request is issued by broadcast.
[0023]
FIG. 2 is a block diagram illustrating a functional configuration of the resolver 30 that performs a recursive inquiry.
The resolver 30 is associated with a means 61 for storing the priorities of the plurality of IP networks to be connected, and an application 71 that requests the resolver 30 for name resolution and receives a name response from the resolver 30.
[0024]
Specifically, the resolver 30 includes a means 31 for receiving a name resolution request from the application 71, a means 32 for performing a recursive inquiry to a local DNS server of the connected multiple IP network, and the local DNS. A means 33 for receiving an answer from the server and storing it for a predetermined time, a means 34 for selecting one answer from the stored answers, and a means 35 for notifying the application of the selected answer. This block diagram is an example, and the function may be embedded in another place.
[0025]
FIG. 3 is an explanatory diagram illustrating an example of a procedure from selection of an answer from an association between an answer IP address from the local DNS server and a network priority.
[0026]
The table 61 ′ of the means 61 for storing the priority order of the plurality of IP networks stores the correspondence relation between the network priority order and the local DNS server of the corresponding network. A table 33 ′ of the means 33 for receiving a response from the local DNS server and storing it for a certain period of time stores the correspondence between the response IP address received from the local DNS server and the local DNS server that returned the response.
[0027]
In addition, the table 34 ′ of the means 34 for selecting one answer from the stored answers includes a network priority order stored in the table 61 ′ from the answers stored in the table 33 ′. Information for selecting one answer based on the is stored.
[0028]
The priority order of the reply IP addresses is set by using the IP address of the local DNS server as a trigger. Among the IP addresses that can be replied, they are candidates for passing to the application in descending order of priority of the replied IP addresses.
In the example of FIG. 3, the IP address 192.168.20.10 received from the local DNS server with the IP address 192.168.20.2 is a candidate to be passed to the application (see the table 34 ′ of the means 34 for selecting one answer from the stored answers). ).
[0029]
FIG. 4 is a block diagram illustrating a functional configuration related to cooperation between a resolver and an application.
Here, in addition to the functions shown in FIG. 2, an application 72 for confirming the success / failure of the content GET and a means 73 for notifying the application 71 of the number of rejections only when the content GET is failure are provided. 30 'includes means 36 for determining whether re-request is necessary, and means 37 for determining the end of name resolution. The configuration shown in this block diagram is also an example, and the function may be embedded in another location.
[0030]
FIG. 5 is a flowchart illustrating an example of an operation procedure for name resolution.
Hereinafter, an example of performing name resolution of www.akairo.com will be described with reference to FIGS.
[0031]
The resolver 30 (30 ′) is simultaneously connected to the Internet 20 from two points, and to the independent network 40 and the independent network 50 simultaneously. The local DNS server that the resolver 30 (30 ′) goes to inquire about the name is the local DNS server 21 (128.10.10.2), the local DNS server 22 (200.10.10.2), the local DNS server 41 (192.168.10.2), and the local DNS server. 51 (192.168.20.2).
[0032]
Here, the means 61 for storing the priorities of a plurality of IP networks to be connected includes the independent network 40 to which the local DNS server 41 with the IP address 192.168.102 is inquired as the priority 1 and the local with the IP address 192.168.20.2. The independent network 50 to which the DNS server 51 is inquired is the priority 2, the Internet 20 to which the local DNS server 21 with the IP address 128.1010.2 is inquired is the priority 3, and the local DNS server 22 with the IP address 200.10.10.2 is inquired. It is assumed that the previous Internet 20 is stored as priority 4.
[0033]
When the user who requests the content requests http://www.akairo.com to the Web browser, the Web application 71 requests the resolver 30 (30 ′) for name resolution (step 101). Resolver 30 (30 ') that has received the request for name resolution determines that it is the first name resolution request (step 102), and broadcasts http://www.akairo.com to the four local DNS servers. A recursive name resolution request is issued (step 103).
[0034]
Each local DNS server performs iterative name resolution and returns an IP address to resolver 30 (30 '). Specifically, the resolver 30 (30 ′) is “Not found” from the local DNS server 41 of the independent network 40, “192.168.20.10” from the local DNS server 51 of the independent network 50, and local of the independent network 20 “210.200.10.10” is received from the DNS servers 21 and 22 respectively (step 104).
[0035]
The resolver 30 (30 ′) also calls the priority storage table 61 ′ in parallel with steps 103 and 104 (step 109). Then, priority is given to the answers received in step 104 by using the IP address of the local DNS server as a trigger (step 105). In this case, “Not found” is priority order 1, “192.168.20.10” is priority order 2, and “210.200.10.10” is priority orders 3 and 4.
[0036]
Among them, since the name resolution of “Not found” with priority 1 is not completed, the resolver 30 (30 ′) selects “192.168.20.10” with priority 2 and requested the web application 71 for name resolution. (Steps 106 and 107). The Web application 71 makes a content request to the terminal whose IP address is “192.168.20.10” (step 108).
[0037]
Information indicating that the resolver 30 (30 ′) could not obtain the content from the Web application 71 when there was some failure in the terminal having the IP address “192.168.20.10” or the network that reciprocates, and the content could not be obtained. Is recognized (steps 106 to 108), and it is recognized that it is a re-request (steps 101 and 102).
[0038]
The resolver 30 (30 ′) selects the next priority “210.200.10.10” IP address and notifies the Web application 71 of the IP address (steps 106 and 107). The cooperation between the resolver 30 (30 ′) and the Web application 71 ends when the Web application 71 obtains content or notifies the resolver 30 (30 ′) that there is no reply IP address (step 110).
[0039]
According to the above embodiment, in the name resolution of IP network users who are simultaneously connected to a plurality of IP networks, an inquiry is made to all the connected networks, and among the received answers, the answers with high priority that can be resolved are automatically The effect that it becomes possible to select automatically is acquired.
[0040]
The name resolution method according to the present invention can be executed by program control of a computer, and the scope of rights of the present invention extends to such a program as well as a recording medium recording this program. Needless to say.
[0041]
The above embodiment shows an example of the present invention, and the present invention should not be limited to this, and appropriate modifications and improvements may be made without departing from the gist of the present invention. Needless to say.
[0042]
For example, although omitted in FIGS. 2 and 4, the means 32 for making a recursive query to the local DNS server by broadcast does not read the IP address of the target DNS each time, but in the broadcast means. These IP addresses may be held. Thereby, processing is simplified and speeded up.
[0043]
Further, by providing connection ports corresponding to the number of local DNS servers at the broadcast destination on the outlet side of the broadcast means, the communication path provided between each local DNS server is used to its full capacity. It is possible to improve the substantial communication capability.
[0044]
【The invention's effect】
As described above in detail, according to the present invention, it is possible to realize a name resolution method and apparatus capable of performing name resolution even when a plurality of IP networks are simultaneously connected.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an example of a plurality of network connections related to name resolution targeted in the present invention. FIG. 2 is a block diagram illustrating a functional configuration related to a resolver 30 that performs a recursive inquiry.
FIG. 3 is a diagram illustrating an example of a procedure from selection of an answer from an association between an answer IP address from a local DNS server and a network priority order;
FIG. 4 is a block diagram illustrating a functional configuration related to cooperation between a resolver and an application.
FIG. 5 is a flowchart showing an example of an operation procedure at the time of name resolution.
FIG. 6 is a diagram showing an example of a network connection related to conventional name resolution.
[Explanation of symbols]
00, 01 Network user 20 Internet 21, 22, 41, 51 Local DNS server 30 Resolver 31 Means for receiving name resolution request from application 32 Means for performing recursive inquiry to local DNS servers of multiple IP networks to be connected 33 means for receiving an answer from the local DNS server and storing it for a certain period of time 34 means for selecting one answer from the stored answers 35 means for notifying the selected answer to the application 36 determining whether re-request is required for the resolver 30 ′ Means 37 Means 40, 50 for determining the end of name resolution Independent network 61 Means 71 for storing priorities of a plurality of IP networks to be connected 71 Application for requesting name resolution to resolver and receiving name answer 72 Content GE Application means for confirming success / failure of T 73 Means for notifying the number of times of failure when the content cannot be obtained

Claims (6)

各々同じドメイン名で異なるIPアドレスを回答するローカルDNSサーバを有する複数のIPネットワークに同時接続するIPネットワークユーザの名前解決方法であって、
接続する前記複数のIPネットワークの優先順位を記憶するステップと、
再帰的な問い合わせを行う一つのリゾルバが、
接続する前記複数のIPネットワークのローカルDNSサーバに対して再帰的問い合わせを同報で行うステップと、
前記ローカルDNSサーバからの回答を受け取り一定時間保管するステップと、
この保管された回答の中から一つの回答を選択するステップと、
この選択された回答をアプリケーションに通知するステップと、
名前解決を要求したアプリケーションが前記選択した回答でコンテンツを得られなかったときに、前記回答の名前解決ができている次に優先順位の高い回答を一つ選択し、アプリケーションに通知するステップと
を有することを特徴とする名前解決方法。
A method for resolving names of IP network users simultaneously connected to a plurality of IP networks having a local DNS server that answers different IP addresses with the same domain name ,
Storing priorities of the plurality of IP networks to be connected;
One resolver that performs recursive queries
Recursively querying each local DNS server of the plurality of IP networks to be connected;
Receiving a response from each of the local DNS servers and storing it for a certain period of time;
Selecting one answer from the stored answers;
Notifying the application of this selected answer;
When the application requesting name resolution fails to obtain the content with the selected answer, selecting the next highest priority answer that has been resolved for the answer and notifying the application A name resolution method characterized by comprising:
前記保管された回答から一つの回答を選択するステップにおいて、保管された回答とIPネットワークの優先順位とを関連付けることにより回答の優先順位を付け、この優先順位を付けられた回答の中から名前解決ができている回答を優先順位の高いものから一つ選択することを特徴とする、請求項1に記載の名前解決方法。  In the step of selecting one answer from the stored answers, the answers are prioritized by associating the stored answers with the priority of the IP network, and name resolution is performed from the prioritized answers. The name resolution method according to claim 1, wherein one answer having a higher priority is selected. 各々同じドメイン名で異なるIPアドレスを回答するローカルDNSサーバを有する複数のIPネットワークに同時接続するIPネットワークユーザの名前解決を行うための名前解決装置であって、
接続する前記複数のIPネットワークの優先順位を記憶する手段と、
再帰的な問い合わせを行う一つのリゾルバとを有し、
該リゾルバが、
接続する前記複数のIPネットワークのローカルDNSサーバに対して再帰的問い合わせを同報で行う手段と、
前記ローカルDNSサーバからの回答を受け取り一定時間保管する手段と、
この保管された回答の中から一つの回答を選択する手段と、
この選択された回答をアプリケーションに通知する手段と、
名前解決を要求したアプリケーションが前記選択した回答でコンテンツを得られなかった場合に、前記回答の名前解決ができている次に優先順位の高い回答を一つ選択しアプリケーションに通知する手段と
を有することを特徴とする名前解決装置。
A name resolution apparatus for resolving names of IP network users simultaneously connected to a plurality of IP networks having a local DNS server that answers different IP addresses with the same domain name ,
Means for storing priorities of the plurality of IP networks to be connected;
A resolver that performs recursive queries,
The resolver is
Means for performing a recursive query by broadcast to each local DNS server of the plurality of IP networks to be connected;
Means for receiving a response from each local DNS server and storing it for a certain period of time;
A means of selecting one answer from the stored answers;
Means to notify the application of this selected answer;
Means for selecting one answer with the next highest priority that has been resolved for the name of the answer and notifying the application when the application requesting name resolution fails to obtain the content with the selected answer. A name resolution device characterized by that.
前記保管された回答から一つの回答を選択する手段は、保管された回答とIPネットワークの優先順位とを関連付けることにより回答の優先順位を付けて、この優先順位を付けられた回答の中から名前解決ができている回答を優先順位の高いものから一つ選択するものであることを特徴とする、請求項3に記載の名前解決装置。  The means for selecting one answer from the stored answers prioritizes the answers by associating the stored answers with the IP network priority, and selects a name from the prioritized answers. 4. The name resolution apparatus according to claim 3, wherein one answer that can be resolved is selected from those having a high priority. コンピュータに、請求項1もしくは請求項2のいずれか1項に記載の名前解決方法における各ステップを実行させるためのプログラム。  The program for making a computer perform each step in the name resolution method of any one of Claim 1 or Claim 2. 請求項5に記載のプログラムを記録したコンピュータにより読み取り可能な記録媒体。  A computer-readable recording medium on which the program according to claim 5 is recorded.
JP2002063310A 2002-03-08 2002-03-08 Name resolution method and apparatus Expired - Fee Related JP3834770B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002063310A JP3834770B2 (en) 2002-03-08 2002-03-08 Name resolution method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002063310A JP3834770B2 (en) 2002-03-08 2002-03-08 Name resolution method and apparatus

Publications (2)

Publication Number Publication Date
JP2003264574A JP2003264574A (en) 2003-09-19
JP3834770B2 true JP3834770B2 (en) 2006-10-18

Family

ID=29196645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002063310A Expired - Fee Related JP3834770B2 (en) 2002-03-08 2002-03-08 Name resolution method and apparatus

Country Status (1)

Country Link
JP (1) JP3834770B2 (en)

Also Published As

Publication number Publication date
JP2003264574A (en) 2003-09-19

Similar Documents

Publication Publication Date Title
US11283715B2 (en) Updating routing information based on client location
US11115500B2 (en) Request routing utilizing client location information
US7694016B2 (en) Composite DNS zones
JP5404766B2 (en) Method and system for requesting routing
US7620732B2 (en) Apparatus for and method of setting communication path
US7769826B2 (en) Systems and methods of providing DNS services using separate answer and referral caches
JP6146950B2 (en) Method and system for requesting routing using a network computing component
EP3567881B1 (en) Request routing and updating routing information utilizing client location information
JP2011519203A (en) Method and system for requesting routing based on class
CN114500456A (en) DNS scheduling optimization method and device based on full-network sniffing and computing equipment
EP2426894B1 (en) System and method of processing DNS request and DNS reply
JP4757063B2 (en) Cache server device, cache control method, and program for cache server device
JP3834770B2 (en) Name resolution method and apparatus
JP3873975B2 (en) View access control method by domain name, DNS server system apparatus, view access control program by domain name, and storage medium storing view access control program by domain name
JP2005229309A (en) Apparatus, method and program for setting communication path
JP2001175561A (en) Domain name system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050701

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050818

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051115

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060112

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060630

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060713

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090804

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100804

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100804

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110804

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120804

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130804

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees