JP2004040474A - Name resolution method and name resolution equipment for materializing connection of plurality of networks - Google Patents

Name resolution method and name resolution equipment for materializing connection of plurality of networks Download PDF

Info

Publication number
JP2004040474A
JP2004040474A JP2002194830A JP2002194830A JP2004040474A JP 2004040474 A JP2004040474 A JP 2004040474A JP 2002194830 A JP2002194830 A JP 2002194830A JP 2002194830 A JP2002194830 A JP 2002194830A JP 2004040474 A JP2004040474 A JP 2004040474A
Authority
JP
Japan
Prior art keywords
name resolution
packet
name
dns server
terminal
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
JP2002194830A
Other languages
Japanese (ja)
Other versions
JP3809950B2 (en
Inventor
Seishu Uda
右田 聖秀
Morimichi Hirabashi
平橋 盛通
Kanichi Endo
遠藤 乾一
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 JP2002194830A priority Critical patent/JP3809950B2/en
Publication of JP2004040474A publication Critical patent/JP2004040474A/en
Application granted granted Critical
Publication of JP3809950B2 publication Critical patent/JP3809950B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To easily materialize plural IP (Internet Protocol)network connections to a terminal connected to the IP networks without complicated setting by a user. <P>SOLUTION: A name resolution device 30 is installed between the terminal 1 and the plural IP networks, 10, 20. The name resolution device 30 detects a name resolution request packet transmitted to a name resolution server (DNS (Domain Name Server)) 11 from the terminal 1, for example, name resolution is requested to all the networks 10, 20 and is allowed to respond to the request-originating terminal 1 by using a name resolution response packet transmitted by the DNS server of any network. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、IP(インターネットプロトコル)ネットワークに接続する端末の、複数IPネットワーク接続を容易に実現する名前解決方法及び装置に関する。ここで、名前解決とは、ドメイン名(例えば“aaa.bbb.co.jp”など)に対応するIPアドレス(例えば“11.22.33.44”など)を獲得することをいう。
【0002】
【従来の技術】
今日、コンテンツ配送において、インターネットとは独立したIPネットワーク(以下、独立ネットワーク)を構築し、インターネットと独立ネットワークの両方を提供することが考えられている。この場合、インターネットと独立ネットワークの両方の名前解決が必要になる。
【0003】
従来技術での名前解決は、1つのIPネットワークに接続する端末が名前解決サーバ(DNSサーバ)に名前解決要求パケットを送出し、名前解決サーバが名前解決後に、その回答を名前解決要求パケットとして端末へ送出することで実現されている。しかし、複数のIPネットワークに接続している端末の場合は、この従来技術の名前解決は困難である。
【0004】
図14は、従来の複数IPネットワーク接続における名前解決の一例を示したものである。図14の例では、インターネット端末1は2つのIPネットワーク、ここではインターネット10と独立ネットワーク20とに接続しており、インターネット10にはローカルDNSサーバ11、独立ネットワーク20にはローカルDNSサーバ21がある。従来技術では、複数のIPネットワークに接続する場合の名前解決要求パケットの送出方法は、インターネット端末に依存し、図14の場合、端末1が、接続する全てのDNSサーバ、ここではローカルDNSサーバ11、21に名前解決要求パケットを送出し、名前解決要求パケットの到着順に回答を利用することになる。この従来技術では、偶発的な名前解決を行っているにすぎず、最適な名前解決を行うことができない。
【0005】
一方、インターネット端末(利用者端末)が複数のIPネットワークに接続する場合の最適な名前解決を行う方法として、利用者端末にネットワークの優先順位設定可能な名前解決を行う機能を配備する方法があるが、利用者が端末に対し、複数IPネットワークへの接続といった複雑な設定を行う必要がある。
【0006】
【発明が解決しようとする課題】
従来の技術では、複数のIPネットワークに接続する端末において、名前解決を行う機能が不可欠で、当該機能を具備していない場合には、接続すべきネットワークに接続が出来ない。また、ネットワークの優先順位設定可能な名前解決を行う機能を端末へ配備することで、端末の複数ネットワークへの接続を実現する方法は、端末に利用者が複雑な設定を行う必要がある。
【0007】
本発明は、上記のような課題を解決するためになされたもので、端末への複雑な設定を行うことなく、IPネットワークに接続する端末の複数IPネットワーク接続を容易に実現する名前解決方法及び装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するために、本発明は、利用者端末と複数のネットワークの間に、名前解決要求パケットや名前解決応答パケットを検知し、複数のネットワークとの間で名前解決要求パケット及び名前解決応答パケットの送受を行ない、回答を利用者端末へ通知する機能を具備した名前解決装置を設置することで、端末の複数ネットワークへの接続を実現するものである。
【0009】
任意の一つのネットワークのみ設定を行った端末は、当該ネットワークのDNSサーバへ名前解決要求パケットを送出する。名前解決装置は、前記名前解決要求パケットを検知し、当該複数ネットワークとの間で名前解決を実施し、回答を端末へ送出する。
【0010】
本発明によれば、インターネットに接続している利用者は、利用者端末にインターネット接続の設定を行うだけで、独立ネットワークで提供されるコンテンツ配信サービス等の利用が可能となる。また、本発明では、名前解決を行う機能を利用者端末以外に配備することで、利用者端末の複雑な設定を回避することを実現している。
【0011】
本発明の一適用例では、名前解決装置は、接続する全ネットワークのDNSサーバのアドレスを記憶する手段と、接続する全ネットワークの優先順位を記憶する手段を備え、名前解決要求パケットを検知する毎に、前記全DNSサーバへ名前解決を依頼し、前記DNSサーバの回答の中で最も優先順位の高いネットワークからの回答を要求元端末へ送出することで名前解決を行なう。
【0012】
また、本発明の他の適用例では、名前解決装置は、接続する全ネットワークの優先順位とDNSサーバのアドレスを記憶する手段を備え、名前解決要求パケットを検知する毎に、任意の優先順位のDNSサーバアドレスを確認し、前記任意の優先順位のDNSサーバへ名前解決を依頼し、名前解決された回答を要求元端末へ送出し、かつ、前記DNSサーバからの回答が無い場合には、次の優先順位を指定し、再度名前解決を依頼することで名前解決を行なう。
【0013】
また、本発明の更に他の適用例では、名前解決装置は、接続する全ネットワークのDNSサーバのアドレスと各々の管理する名前を記憶する手段を備え、名前解決要求パケットを検知する毎に、名前解決要求パケットを解析し、名前解決を依頼する名前を確認し、前記名前を管理するネットワークのDNSサーバを特定し、前記特定したDNSサーバへ名前解決を依頼し、名前解決された回答を要求元端末へ送出することで名前解決を行なう。
【0014】
【発明の実施の形態】
以下、図面を用いて本発明の実施例について説明する。
図1は、本発明による複数IPネットワーク接続時の名前解決法の一実施例を示す。図14と同様に、1は利用者端末であるインターネット端末、10はインターネット、20は独立ネットワークで、インターネット10にはローカルDNSサーバ11が、独立ネットワーク20にはローカルDNSサーバ21がある。本発明の特徴は、インターネット端末(利用者端末)1と複数のIPネットワーク(ここでは、インターネット10と独立ネットワーク20)の間に名前解決装置30を設置し、該名前解決装置30が、インターネット端末1が送出した名前解決要求パケット及び複数のIPネットワークのDNSサーバが送出した名前解決応答パケットを操作し、インターネット端末1に回答を送出することで、任意のネットワークとの接続を可能とするものである。
【0015】
図1においては、インターネット端末1は、インターネット10にのみ接続するように設定しており、インターネット10のローカルDNSサーバ11に対して名前解決要求パケットを送出する。名前解決装置30は、該名前解決要求パケットを検知すると、インターネット10のローカルDNSサーバ11及び独立ネットワーク20のローカルDNSサーバ21との間で、名前解決要求パケット及び名前解決応答パケットの送受を行い、優先順位や事前の名前解決により特定した最適な回答をインターネット端末1へ通知する。インターネット端末1は、名前解決装置30からの回答の内容を確認し、内容に応じたネットワークへの接続を開始する。なお、名前解決装置30は、名前解決要求パケット、名前解決応答パケットについてのみ着目しており、他のパケットは全て宛先に従い転送する。
【0016】
以下に、名前解決装置30の詳細な構成・動作例について、同報の名前解決法、優先順位に従う名前解決法、事前の名前解決法の各実施の形態にわけて説明する。
【0017】
〔同報の名前解決〕
図2は、本発明の同報の名前解決適用例における名前解決装置30の全体的処理フロー図である。名前解決装置30は、端末から任意のネットワークに対して送出したパケットを検知すると(ステップ101)、パケットの内容を解析する(ステップ102)。解析した結果、当該パケットが名前解決要求パケットか否かを判断し(ステップ103)、名前解決要求パケットでなければ宛先に従い転送する(ステップ104)。名前解決要求パケットであれば、接続する全ネットワークのDNSサーバのアドレスを確認し(ステップ105)、名前解決要求パケットを複写し、前記確認した全DNSサーバに対して名前解決を依頼する(ステップ106)。名前解決要求パケットを受け取った各DNSサーバは、それぞれ名前解決応答パケットを問合せ先の端末宛に送出する。名前解決装置30は、各DNSサーバから端末宛に送出された名前解決応答パケットの中から、最も優先順位の高いネットワークのDNSサーバからの回答を端末へ通知する(ステップ107)。
【0018】
図1の実施例の場合、名前解決装置30は、インターネット端末1からインターネット10のローカルDNSサーバ11に対して送出された名前解決要求パケットを検出すると、独立ネットワーク20のローカルDNSサーバ21宛の名前解決要求パケットを複製し、ローカルDNSサーバ11、21の両方に対して名前解決を依頼する。そして、該ローカルDNSサーバ11、21から端末1宛に送出された名前解決応答求パケットのいずれかを端末1へ通知する。
【0019】
図3は、本発明の同報の名前解決適用例における名前解決装置30の機能ブロック図である。名前解決装置30は、上りパケット処理手段110と下りパケット処理手段120を具備している。上りパケット処理手段110は、ネットワークへの上りパケットを検知する上りパケット検知手段111、上りパケットの内容を解析する上りパケット解析手段112、接続する全ネットワークのDNSサーバのアドレスを確認するDNSサーバアドレス確認手段113、全DNSサーバへ名前解決を依頼する名前解決依頼手段114、及び、全てのDNSサーバのアドレスを記憶する記憶手段115からなる。下りパケット処理手段120は、ネットワークからの下りパケットを検知する下りパケット検知手段121、下りパケットの内容を解析する下りパケット解析手段122、名前解決の回答の中で、優先順位の最も高いものを選択する名前解決回答優先順位選択手段123、名前解決を要求した端末へ回答する名前解決回答手段124、及び、接続する全ネットワークの優先順位を記憶する記憶手段125からなる。なお、記憶手段115、125には、同一の記憶装置あるいは別の記憶装置のいずれが用いられてもよい。また、上りパケット処理手段110と下りパケット処理手段120が別の場所に埋め込まれていても良い。
【0020】
図4は、本発明の同報の名前解決適用例における名前解決装置30での上りパケットの処理動作例を示したものである。
▲1▼ 上りパケット検知手段111は、インターネット端末1から送出されたパケットを検知し、上りパケット解析手段112が当該パケットの内容を解析し、当該パケットが名前解決要求パケットである場合には、該名前解決要求パケットをDNSサーバアドレス確認手段113へ送る。図4の例では、DNSサーバ11宛の名前解決要求パケットが送られる。
▲2▼ DNSサーバアドレス確認手段113は、記憶手段115内の全てのDNSサーバのアドレスを記憶するテーブル115′を参照して、全ネットワークのDNSサーバのアドレスを確認・取得する。図4の例では、インターネット10のローカルDNSサーバ11のアドレス「10.10.10.1」と独立ネットワーク20のローカルDNSサーバ21のアドレス「20.20.20.1」を取得する。
▲3▼ DNSサーバアドレス確認手段113は、名前解決要求パケット及び各ローカルDNSサーバ11、21のアドレスを名前解決依頼手段114へ送る。
▲4▼ 名前解決依頼手段114は、ローカルDNSサーバ11宛の名前解決要求パケットと、これを複写し宛先をローカルDNSサーバ21へ変更した名前解決要求パケットを組み立て、各々の宛先であるローカルDNSサーバ11及びローカルDNSサーバ21に対して送出する。
【0021】
図5は、本発明の同報の名前解決適用例における名前解決装置30での下りパケットの処理動作例を示したものである。
▲1▼ 下りパケット検知手段121は、全ネットワークからインターネット端末1宛に送出されたパケットを検知し、下りパケット解析手段122が当該パケットの内容を解析し、当該パケットが名前解決応答パケットである場合には、該名前解決応答パケットを名前解決回答優先順位選択手段123へ送る。
▲2▼ 名前解決回答優先順位選択手段123は、記憶手段125内の接続する全ネットワークの優先順位を記憶するテーブル125′からネットワークの優先順位を把握し、名前解決応答パケットの中で最も優先順位の高いものを選択する。
▲3▼ 次に、名前解決回答優先順位選択手段123は、選択した名前解決応答パケットを名前解決回答手段124へ送る。
▲4▼ 名前解決回答手段124は、名前解決回答優先順位選択手段123で選択された最も優先順位の高いDNSサーバからの回答の名前解決応答パケットを端末1へ送出する。
【0022】
図5の例では、独立ネットワーク20のローカルDNSサーバ21が回答し、送出した名前解決応答パケットが最も優先順位が高く、当該サーバ21からの回答を端末1へ送出することになる。また、端末1宛に送出する名前解決応答パケットの送元のアドレスが、端末が送出した名前解決要求パケットの宛先のアドレスと異なる場合には、名前解決回答手段124は、選択された名前解決応答パケットの送元のアドレスを名前解決要求パケットの宛先のアドレスに変更して送出する。ここでは、端末1へ送出する名前解決応答パケットの送元アドレスはローカルDNSサーバ21であるから、当該送元アドレスをローカルDNSサーバ11に変更する、つまり、名前解決応答パケットの送元アドレスを「20.20.20.1」から「10.10.10.1」に変更して送出する。但し、回答の内容は変更せずに、ローカルDNSサーバ21が送出した回答(回答B)を送出する。
【0023】
〔優先順位に従う名前解決〕
図6は、本発明の優先順位に従う名前解決適用例における名前解決装置30の全体的処理フロー図である。名前解決装置30は、端末から任意のネットワークに対して送出したパケットを検知すると(ステップ201)、当該パケットの内容を解析する(ステップ202)。解析した結果、当該パケットが名前解決要求パケットか否かを判断し(ステップ203)、名前解決要求パケットでなければ宛先に従い転送する(ステップ204)。名前解決要求パケットであれば、接続するネットワークの中で最も優先順位の高いネットワークのDNSサーバのアドレスを確認し(ステップ205)、当該DNSサーバに対して名前解決を依頼する(ステップ206)。その後、名前解決装置30は、当該DNSサーバから名前解決の回答の有無を確認する(ステップ207)。そして、回答がなければ、名前解決装置30は、次に優先順位の高いネットワークのDNSサーバのアドレスを確認し(ステップ208)、当該DNSサーバへ再度名前解決を依頼する。こうして、DNSサーバから名前解決の回答があれば、名前解決装置30は該回答を問合せ端末へ通知する(ステップ209)。
【0024】
図7は、本発明の優先順位に従う名前解決適用例における名前解決装置30の機能ブロック図である。先の図3と同様に、名前解決装置30は、上りパケット処理手段210と下りパケット処理手段220を具備している。上りパケット処理手段210は、ネットワークへの上りパケットを検知する上りパケット検知手段211、上りパケットの内容を解析する上りパケット解析手段212、任意の優先順位のネットワークのDNSサーバのアドレスを確認・取得するDNSサーバアドレス確認手段213、当該DNSサーバへ名前解決を依頼する名前解決依頼手段214、及び、接続されるネットワークの優先順位と各々のDNSサーバのアドレスを記憶する記憶手段215からなる。下りパケット処理手段220は、ネットワークからの下りパケットを検知する下りパケット検知手段221、下りパケットの内容を解析する下りパケット解析手段222、名前解決の回答の有無を確認する名前解決回答確認手段223、回答がない場合に次の優先順位を指定する次優先順位指定手段224、及び、名前解決を要求した端末へ回答する名前解決回答手段225からなる。なお、上りパケット処理手段210と下りパケット処理手段220の機能が別の場所に埋め込まれていても良い。
【0025】
図8は、本発明の優先順位に従う名前解決適用例における名前解決装置30での上りパケットの処理動作例である。
▲1▼ 上りパケット検知手段211は、インターネット端末1から送出されたパケットを検知し、上りパケット解析手段212が当該パケットの内容を解析し、当該パケットが名前解決要求パケットである場合には、該名前解決要求パケットをDNSサーバアドレス確認手段213へ送る。図8の例では、ローカルDNSサーバ11宛の名前解決要求パケットが送られる。
▲2▼ DNSサーバアドレス確認手段213は、記憶手段215内の接続されるネットワークの優先順位と各々のDNSサーバのアドレスを記憶するテーブル215′を参照し、最も優先順位の高いネットワークのDNSサーバを確認・取得する。図8の例では、最も優先順位の高いネットワークは独立ネットワークであり、当該DNSサーバとは、ローカルDNSサーバ21であり、アドレスは「20.20.20.1」である。
▲3▼ 次に、DNSサーバアドレス確認手段213は、名前解決要求パケットと、接続されるネットワークの中で最も優先順位の高いネットワークのDNSサーバ(ここでは、独立ネットワーク20のローカルDNSサーバ21)のアドレスを名前解決依頼手段214へ送る。
▲4▼ 名前解決依頼手段214は、DNSサーバ11宛の名前解決要求パケットの宛先を、DNSサーバアドレス確認手段213から送られたDNSサーバのアドレスへ変更し、当該DNSサーバに対して名前解決要求パケットを送出する。図8の例では、名前解決要求パケットの宛先を「10.10.10.1」から「20.20.20.1」へ変更し、独立ネットワーク20のローカルDNSサーバ21に送出する。なお、DNSサーバアドレス確認手段213から送られたDNSサーバのアドレスが、インターネット10のローカルDNSサーバを示している場合には、名前解決要求パケットをそのままインターネット10のローカルDNSサーバ11に送出する。
【0026】
図9は、本発明の優先順位に従う名前解決適用例における名前解決装置30での下りパケットの処理動作例である。
▲1▼ 下りパケット検知手段221は、全ネットワークからインターネット端末1宛に送出されたパケットを検知し、下りパケット解析手段222が当該パケットの内容を解析し、当該パケットが名前解決応答パケットである場合には、該名前解決応答パケットを名前解決回答確認手段223へ送る。
▲2▼ 名前解決回答確認手段223は、名前解決の回答の有無を確認し、回答がある場合は、当該名前解決応答パケットを名前解決回答手段225へ送る。
▲3▼ 名前解決回答手段225は、名前解決応答パケットを当該インターネット端末1へ送出する。ここで、端末1宛に送出する名前解決応答パケットの送元のアドレスが、当該端末1が送出した名前解決要求パケットの宛先のアドレスと異なる場合には、名前解決応答パケットの送元のアドレスを該名前解決要求パケットの宛先のアドレスに変更して送出する。図9の例では、端末1へ送出する名前解決応答パケットの送元アドレスはローカルDNSサーバ21であるから、当該送元アドレスをローカルDNSサーバ11に変更する、つまり、名前解決応答パケットの送元アドレスを「20.20.20.1」から「10.10.10.1」に変更して、送出する。但し、回答の内容は変更せずに、ローカルDNSサーバ21が送出した回答(回答B)を送出する。
▲4▼ 一方、名前解決回答確認手段223は、DNSサーバから名前解決の回答がない、または一定時間内に到着しない場合には、それを次優先順位手段224に伝える。
▲5▼ 次優先順位指定手段224は、次の優先順位を指定し、上りパケット手段210側のDNSサーバアドレス確認手段213へ通知する。
【0027】
これにより、DNSサーバアドレス確認手段213は、再び記憶手段215のテーブル215′を参照して、指定された優先順位のDNSサーバのアドレスを確認・取得し、名前解決依頼手段214は、当該DNSサーバに対して名前解決要求パケットを送出することになる。ここでは、DNSサーバ21からの回答がない、または一定時間内に到着しない場合には、次優先順位指定手段224が次の優先順位の「2」を指定し、DNSサーバアドレス確認手段213へ通知する。DNSサーバアドレス確認手段213は、テーブル215′を参照して、優先順位「2」のネットワークがインターネット10であることを確認し、名前解決依頼手段214を介し、DNSサーバ11に対して名前解決を依頼することとなる。
【0028】
〔事前の名前解決〕
図10は、本発明の事前の名前解決適用例における名前解決装置30の全体的処理フロー図である。名前解決装置30は、端末から任意のネットワークに対して送出したパケットを検知すると(ステップ301)、当該パケットの内容を解析する(ステップ302)。解析した結果、当該パケットが名前解決要求パケットか否かを判断し(ステップ303)、名前解決要求パケットでなければ宛先に従い転送する(ステップ304)。名前解決要求パケットであれば、名前解決要求パケット内にある解決を要求されている名前を確認し(ステップ305)、事前に登録していた各ネットワーク内で管理する名前一覧から当該名前を管理するネットワークを特定する(ステップ306)。次に、当該ネットワーク宛に名前解決要求パケットを送出して、名前解決を依頼し(ステップ307)、当該ネットワークからの回答を端末へ通知する(ステップ308)。
【0029】
図11は、本発明の事前の名前解決適用例における名前解決装置30の機能ブロック図である。先の図3や図7と同様に、名前解決装置30は、上りパケット処理手段310と下りパケット手段320の機能を具備している。上りパケット処理手段310は、ネットワークへの上りパケットを検知する上りパケット検知手段311、上りパケットの内容を解析する上りパケット解析手段312、名前解決応答パケット内の解決の要求をしている名前を確認する解決要求名前確認手段313、当該名前を管理するネットワークのDNSサーバのアドレスを確認するDNSサーバアドレス確認手段314、当該DNSサーバへ名前解決を依頼する名前解決依頼手段315、及び、接続するネットワークのDNSサーバのアドレスと各々の管理する名前を記憶する記憶手段316からなる。下りパケット処理手段320は、ネットワークからの下りパケットを検知する下りパケット検知手段321、下りパケットの内容を解析する下りパケット解析手段322、名前解決を要求した端末へ回答する名前解決回答手段323からなる。なお、これら上りパケット処理手段310と下りパケット処理手段320の機能は別の場所に埋め込まれていても良い。
【0030】
図12は、本発明の事前の名前解決適用例における名前解決装置30での上りパケットの処理動作例である。
▲1▼ 上りパケット検知手段311は、インターネット端末1から送出されたパケットを検知し、上りパケット解析手段312が当該パケットの内容を解析し、当該パケットが名前解決応答パケットである場合には、該名前解決要求パケットを解決要求名前確認手段313に送る。図12の例では、DNSサーバ11宛の名前解決要求パケットが送られる。
▲2▼ 解決要求名前確認手段313は、当該名前解決要求パケット内にある解決を要求をしている名前(ここではhoge.com/index.html)を確認・検出し、DNSサーバアドレス確認手段314に送る。
▲3▼ DNSサーバアドレス確認手段314は、記憶手段316内の、接続するネットワークのDNSサーバのアドレスと各々の管理する名前を記憶するテーブル316′を参照して、当該名前を管理しているネットワークを特定し、当該ネットワークのDNSサーバのアドレスを確認・検出する。図12の例では、テーブル316′から「hoge.com」を管理している独立ネットワーク20を特定し、当該ネットワーク20のローカルDNSサーバ21のアドレスである「20.20.20.1」を得る。DNSサーバアドレス確認手段314は、名前解決要求パケットとともに、得られたDNSサーバのアドレスを名前解決依頼手段315に送る。
▲4▼ 名前解決依頼手段315は、名前解決要求パケットの宛先を当該名前を管理するネットワークのDNSサーバへ変更し、該DNSサーバに対して名前解決要求パケットを送出する。図12の例では、インターネット10のローカルDNSサーバ11宛の名前解決要求パケットの宛先を「10.10.10.1」から「20.20.20.1」へ変更し、独立ネットワーク20のローカルDNSサーバ21に送出する。
【0031】
図13は、本発明の事前の名前解決適用例における名前解決装置30での下りパケットの処理動作例である。
▲1▼ 下りパケット検知手段321は、全ネットワークからインターネット端末1宛に送出されたパケットを検知し、下りパケット解析手段322が当該パケットの内容を解析し、名前解決応答パケットであれば、該名前解決応答パケットを名前解決回答手段323に送る。
▲2▼ 名前解決回答手段323は、名前解決応答パケットを当該インターネット端末1へ送出する。また、端末1宛に送出する名前解決応答パケットの送元のアドレスが、当該端末1が送出した名前解決要求パケットの宛先のアドレスと異なる場合には、名前解決応答パケットの送元のアドレスを該名前解決要求パケットの宛先のアドレスに変更して送出する。図13の例では、端末1へ送出する名前解決応答パケットの送元アドレスはローカルDNSサーバ21であるから、当該送元アドレスをローカルDNSサーバ11に変更する、つまり名前解決応答パケットの送元アドレスを「20.20.20.1」から「10.10.10.1」に変更して、送出する。但し、回答の内容は変更せずに、独立ネットワーク20のDNSサーバ21が送出した回答(回答B)を送出する。
【0032】
以上、本発明の実施例を示したが、各実施例で示した名前解決装置における一部もしくは全部の処理機能をコンピュータのプログラムで構成し、そのプログラムをコンピュータを用いて実行して本発明を実現することができること、あるいは、各実施例で示した処理手順をコンピュータのプログラムで構成し、そのプログラムをコンピュータに実行させることができることは言うまでもない。また、コンピュータでその処理機能を実現するためのプログラム、あるいは、コンピュータにその処理手順を実行させるためのプログラムを、そのコンピュータが読み取り可能な記録媒体、例えば、FDや、MO、ROM、メモリカード、CD、DVD、リムーバブルディスクなどに記録して、保存したり、提供したりすることができるとともに、インターネット等のネットワークを通してそのプログラムを配布したりすることが可能である。
【0033】
【発明の効果】
以上説明したように、本発明によれば、利用者はIPネットワーク端末に、複数のIPネットワークへの接続という設定を実施することなく、全てのネットワークへ接続を実現することが可能になる。
【図面の簡単な説明】
【図1】本発明による複数のIPネットワーク接続時における名前解決法の実施例を示す図である。
【図2】同報の名前解決適用例の処理フロー図である。
【図3】同報の名前解決適用例の機能ブロック図である。
【図4】同報の名前解決適用例における上りパケットの処理動作例である。
【図5】同報の名前解決適用例における下りパケットの処理動作例である。
【図6】優先順位に従う名前解決適用例の処理フロー図である。
【図7】優先順位に従う名前解決適用例の機能ブロック図である。
【図8】優先順位に従う名前解決適用例における上りパケットの処理動作例である。
【図9】優先順位に従う名前解決適用例における下りパケットの処理動作例である。
【図10】事前の名前解決適用例の処理フロー図である。
【図11】事前の名前解決適用例の機能ブロック図である。
【図12】事前の名前解決適用例における上りパケットの処理動作例である。
【図13】事前の名前解決適用例における下りパケットの処理動作例である。
【図14】従来の複数IPネットワーク接続時における名前解決の例を示す図である。
【符号の説明】
1  インターネット端末(利用者端末)
10  インターネット
11  ローカルDNSサーバ
20  独立ネットワーク
21  ローカルDNSサーバ
30  名前解決装置
110 上りパケット処理手段
111 上りパケット検知手段
112 上りパケット解析手段
113 DNSサーバアドレス確認手段
114 名前解決依頼手段
115 DNSサーバアドレス記憶手段
120 下りパケット処理手段
121 下りパケット検知手段
122 下りパケット解析手段
123 名前解決回答優先順位選択手段
124 名前解決回答手段
125 ネットワーク優先順位記憶手段
210 上りパケット処理手段
211 上りパケット検知手段
212 上りパケット解析手段
213 DNSサーバアドレス確認手段
214 名前解決依頼手段
215 ネットワーク優先順位及びDNSサーバアドレス記憶手段
220 下りパケット処理手段
221 下りパケット検知手段
222 下りパケット解析手段
223 名前解決回答確認手段
224 次優先順位指定手段
225 名前解決回答手段
310 上りパケット処理手段
311 上りパケット検知手段
312 上りパケット解析手段
313 解決要求名前確認手段
314 DNSサーバアドレス確認手段
315 名前解決依頼手段
316 DNSサーバのアドレス及び名前記憶手段
320 下りパケット処理手段
321 下けパケット検知手段
322 下りパケット解析手段
323 名前解決回答手段
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a name resolution method and apparatus for easily realizing connection of a terminal connected to an IP (Internet Protocol) network to a plurality of IP networks. Here, name resolution refers to obtaining an IP address (eg, “11.2.33.34” or the like) corresponding to a domain name (eg, “aaa.bbb.co.jp”).
[0002]
[Prior art]
Today, in content distribution, it is considered to construct an IP network independent of the Internet (hereinafter, an independent network) and provide both the Internet and an independent network. This requires name resolution for both the Internet and the independent network.
[0003]
In the name resolution in the related art, a terminal connected to one IP network sends a name resolution request packet to a name resolution server (DNS server), and after the name resolution server resolves the name, the response is sent to the terminal as a name resolution request packet. This is realized by sending to However, in the case of a terminal connected to a plurality of IP networks, it is difficult to resolve the name in the related art.
[0004]
FIG. 14 shows an example of name resolution in a conventional connection to a plurality of IP networks. In the example of FIG. 14, the Internet terminal 1 is connected to two IP networks, here the Internet 10 and the independent network 20, and the Internet 10 has a local DNS server 11, and the independent network 20 has a local DNS server 21. . In the prior art, the method of transmitting a name resolution request packet when connecting to a plurality of IP networks depends on the Internet terminal. In FIG. 14, the terminal 1 is connected to all the connected DNS servers, here the local DNS server 11. , 21 and the replies are used in the order of arrival of the name resolution request packets. In this conventional technique, only an accidental name resolution is performed, and an optimal name resolution cannot be performed.
[0005]
On the other hand, as a method of performing an optimal name resolution when an Internet terminal (user terminal) is connected to a plurality of IP networks, there is a method of providing a user terminal with a function of performing a name resolution capable of setting network priorities. However, it is necessary for the user to make complicated settings for the terminal, such as connection to a plurality of IP networks.
[0006]
[Problems to be solved by the invention]
In the related art, a function of performing name resolution is indispensable in a terminal connected to a plurality of IP networks, and if the terminal does not have the function, it cannot be connected to a network to be connected. In addition, a method for realizing connection of a terminal to a plurality of networks by providing a function for performing name resolution capable of setting network priorities to the terminal requires a user to make complicated settings for the terminal.
[0007]
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and a name resolution method for easily realizing a plurality of IP network connections of a terminal connected to an IP network without performing complicated settings for the terminal. It is intended to provide a device.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the present invention detects a name resolution request packet or a name resolution response packet between a user terminal and a plurality of networks, and performs a name resolution request packet and a name resolution By installing a name resolution device having a function of transmitting and receiving a response packet and notifying a user terminal of a response, connection of the terminal to a plurality of networks is realized.
[0009]
A terminal that has set only one arbitrary network sends a name resolution request packet to the DNS server of the network. The name resolution device detects the name resolution request packet, performs name resolution with the plurality of networks, and sends a response to the terminal.
[0010]
According to the present invention, a user connected to the Internet can use a content distribution service or the like provided on an independent network only by setting an Internet connection to a user terminal. Further, in the present invention, a function for performing name resolution is provided in a device other than the user terminal, thereby avoiding complicated settings of the user terminal.
[0011]
In one application example of the present invention, the name resolution device includes means for storing DNS server addresses of all networks to be connected, and means for storing priorities of all networks to be connected, and each time a name resolution request packet is detected. Then, the name resolution is requested to all the DNS servers, and the response from the network having the highest priority among the responses from the DNS server is transmitted to the request source terminal to perform the name resolution.
[0012]
Further, in another application example of the present invention, the name resolution device includes means for storing the priorities of all the networks to be connected and the addresses of the DNS servers, and each time a name resolution request packet is detected, the name resolution device has an arbitrary priority. Check the DNS server address, request the DNS server of the given priority to resolve the name, send the resolved name to the requesting terminal, and if there is no answer from the DNS server, Priority is specified, and name resolution is performed by requesting name resolution again.
[0013]
Further, in still another application example of the present invention, the name resolution device includes means for storing addresses of DNS servers of all the networks to be connected and names managed by each of them, and each time a name resolution request packet is detected, Analyzing the resolution request packet, confirming the name requested for name resolution, specifying the DNS server of the network that manages the name, requesting the specified DNS server for name resolution, and requesting the resolved name The name is resolved by sending it to the terminal.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 shows an embodiment of a name resolution method when connecting to a plurality of IP networks according to the present invention. As in FIG. 14, 1 is an Internet terminal that is a user terminal, 10 is the Internet, 20 is an independent network, the Internet 10 has a local DNS server 11, and the independent network 20 has a local DNS server 21. A feature of the present invention is that a name resolution device 30 is installed between the Internet terminal (user terminal) 1 and a plurality of IP networks (here, the Internet 10 and the independent network 20). By manipulating the name resolution request packet transmitted by the DNS server 1 and the name resolution response packets transmitted by the DNS servers of a plurality of IP networks, and transmitting a reply to the Internet terminal 1, it is possible to connect to an arbitrary network. is there.
[0015]
In FIG. 1, the Internet terminal 1 is set to connect only to the Internet 10 and sends out a name resolution request packet to the local DNS server 11 of the Internet 10. Upon detecting the name resolution request packet, the name resolution device 30 sends and receives a name resolution request packet and a name resolution response packet between the local DNS server 11 on the Internet 10 and the local DNS server 21 on the independent network 20. The Internet terminal 1 is notified of the optimum answer specified by the priority or the name resolution in advance. The Internet terminal 1 confirms the content of the answer from the name resolution device 30 and starts connection to the network according to the content. The name resolution device 30 pays attention only to the name resolution request packet and the name resolution response packet, and transfers all other packets according to the destination.
[0016]
Hereinafter, a detailed configuration and operation example of the name resolution device 30 will be described separately for each embodiment of a broadcast name resolution method, a name resolution method according to a priority order, and a prior name resolution method.
[0017]
[Broadcast name resolution]
FIG. 2 is an overall processing flow diagram of the name resolution device 30 in a broadcast name resolution application example of the present invention. Upon detecting a packet transmitted from a terminal to an arbitrary network (step 101), the name resolution device 30 analyzes the contents of the packet (step 102). As a result of the analysis, it is determined whether or not the packet is a name resolution request packet (step 103). If the packet is not a name resolution request packet, the packet is transferred according to the destination (step 104). If it is a name resolution request packet, the addresses of the DNS servers of all the networks to be connected are confirmed (step 105), the name resolution request packet is copied, and a request for name resolution is made to all the confirmed DNS servers (step 106). ). Each DNS server that has received the name resolution request packet sends a name resolution response packet to the terminal of the inquiry destination. The name resolution device 30 notifies the terminal of a reply from the DNS server of the network with the highest priority among the name resolution response packets sent from each DNS server to the terminal (step 107).
[0018]
In the case of the embodiment shown in FIG. 1, when the name resolution device 30 detects a name resolution request packet transmitted from the Internet terminal 1 to the local DNS server 11 of the Internet 10, the name resolution device 30 sends the name addressed to the local DNS server 21 of the independent network 20. It copies the resolution request packet and requests both the local DNS servers 11 and 21 for name resolution. Then, the terminal 1 is notified of one of the name resolution response request packets transmitted from the local DNS servers 11 and 21 to the terminal 1.
[0019]
FIG. 3 is a functional block diagram of the name resolution device 30 in a broadcast name resolution application example of the present invention. The name resolution device 30 includes an upstream packet processing unit 110 and a downstream packet processing unit 120. The upstream packet processing unit 110 includes an upstream packet detecting unit 111 that detects an upstream packet to a network, an upstream packet analyzing unit 112 that analyzes the contents of the upstream packet, and a DNS server address check that checks DNS server addresses of all connected networks. It comprises a means 113, a name resolution requesting means 114 for requesting name resolution to all DNS servers, and a storage means 115 for storing addresses of all DNS servers. The downstream packet processing unit 120 selects the highest priority from among the downstream packet detecting unit 121 that detects a downstream packet from the network, the downstream packet analyzing unit 122 that analyzes the content of the downstream packet, and the answer to name resolution. Name resolution answer priority selection means 123, name resolution answer means 124 for answering the terminal that has requested name resolution, and storage means 125 for storing the priority of all connected networks. Note that the same storage device or another storage device may be used for the storage units 115 and 125. Further, the upstream packet processing unit 110 and the downstream packet processing unit 120 may be embedded in different places.
[0020]
FIG. 4 shows an example of an upstream packet processing operation in the name resolution device 30 in a broadcast name resolution application example of the present invention.
(1) The upstream packet detecting means 111 detects a packet transmitted from the Internet terminal 1 and the upstream packet analyzing means 112 analyzes the contents of the packet. If the packet is a name resolution request packet, A name resolution request packet is sent to the DNS server address confirmation means 113. In the example of FIG. 4, a name resolution request packet addressed to the DNS server 11 is sent.
{Circle around (2)} The DNS server address confirmation means 113 refers to a table 115 ′ in the storage means 115 which stores the addresses of all the DNS servers, and confirms / acquires the addresses of the DNS servers of all the networks. In the example of FIG. 4, the address “10.10.10. 1” of the local DNS server 11 on the Internet 10 and the address “20.20.20.1” of the local DNS server 21 on the independent network 20 are acquired.
(3) The DNS server address confirmation means 113 sends the name resolution request packet and the addresses of the local DNS servers 11 and 21 to the name resolution request means 114.
{Circle around (4)} The name resolution requesting unit 114 assembles a name resolution request packet addressed to the local DNS server 11 and a name resolution request packet obtained by copying the name resolution request packet and changing the destination to the local DNS server 21. 11 and the local DNS server 21.
[0021]
FIG. 5 shows an example of a downstream packet processing operation in the name resolution device 30 in the broadcast name resolution application example of the present invention.
{Circle around (1)} The downlink packet detecting means 121 detects a packet transmitted from all networks to the Internet terminal 1, and the downlink packet analyzing means 122 analyzes the contents of the packet, and when the packet is a name resolution response packet. , The name resolution response packet is sent to the name resolution response priority selection means 123.
{Circle around (2)} The name resolution response priority selection means 123 grasps the network priority from a table 125 ′ in the storage means 125 which stores the priority of all the connected networks, and determines the highest priority among the name resolution response packets. Choose the one with the highest
{Circle around (3)} Next, the name resolution response priority selection means 123 sends the selected name resolution response packet to the name resolution response means 124.
{Circle around (4)} The name resolution response means 124 sends to the terminal 1 a name resolution response packet of a response from the DNS server with the highest priority selected by the name resolution response priority selection means 123.
[0022]
In the example of FIG. 5, the local DNS server 21 of the independent network 20 replies, and the name resolution response packet transmitted has the highest priority, and the response from the server 21 is transmitted to the terminal 1. If the source address of the name resolution response packet transmitted to the terminal 1 is different from the destination address of the name resolution request packet transmitted by the terminal, the name resolution The source address of the packet is changed to the destination address of the name resolution request packet and transmitted. Here, since the source address of the name resolution response packet to be sent to the terminal 1 is the local DNS server 21, the source address is changed to the local DNS server 11, that is, the source address of the name resolution response packet is changed to ""20.20.20.1" is changed to "10.10.10.1" and transmitted. However, the response (response B) transmitted by the local DNS server 21 is transmitted without changing the content of the response.
[0023]
[Name resolution according to priority]
FIG. 6 is an overall processing flowchart of the name resolution device 30 in a name resolution application example according to the priority order of the present invention. Upon detecting a packet transmitted from a terminal to an arbitrary network (step 201), the name resolution device 30 analyzes the contents of the packet (step 202). As a result of the analysis, it is determined whether or not the packet is a name resolution request packet (step 203). If the packet is not a name resolution request packet, the packet is forwarded according to the destination (step 204). If the packet is a name resolution request packet, the address of the DNS server of the network with the highest priority among the connected networks is confirmed (step 205), and a request for name resolution is made to the DNS server (step 206). Thereafter, the name resolution device 30 checks whether or not there is a response to name resolution from the DNS server (step 207). If there is no answer, the name resolution device 30 checks the address of the DNS server of the network with the next highest priority (step 208) and requests the DNS server to perform name resolution again. In this way, if there is a name resolution response from the DNS server, the name resolution device 30 notifies the response to the inquiry terminal (step 209).
[0024]
FIG. 7 is a functional block diagram of the name resolution device 30 in a name resolution application example according to the priority order of the present invention. As in FIG. 3 described above, the name resolution device 30 includes an upstream packet processing unit 210 and a downstream packet processing unit 220. The upstream packet processing unit 210 includes an upstream packet detecting unit 211 that detects an upstream packet to the network, an upstream packet analyzing unit 212 that analyzes the contents of the upstream packet, and confirms / acquires an address of a DNS server of a network having an arbitrary priority. It comprises a DNS server address confirmation unit 213, a name resolution requesting unit 214 for requesting name resolution to the DNS server, and a storage unit 215 for storing the priority of the connected network and the address of each DNS server. The downstream packet processing unit 220 includes a downstream packet detecting unit 221 for detecting a downstream packet from the network, a downstream packet analyzing unit 222 for analyzing the content of the downstream packet, a name solution answer confirming unit 223 for confirming whether there is a name solution answer, If there is no answer, the next priority order designating means 224 for designating the next priority order, and the name solution answering means 225 for answering the terminal requesting name resolution. The functions of the upstream packet processing unit 210 and the downstream packet processing unit 220 may be embedded in different places.
[0025]
FIG. 8 is an example of an upstream packet processing operation in the name resolution device 30 in a name resolution application example according to the priority order of the present invention.
(1) The upstream packet detecting unit 211 detects a packet transmitted from the Internet terminal 1, and the upstream packet analyzing unit 212 analyzes the contents of the packet. If the packet is a name resolution request packet, A name resolution request packet is sent to the DNS server address confirmation means 213. In the example of FIG. 8, a name resolution request packet addressed to the local DNS server 11 is sent.
(2) The DNS server address confirmation means 213 refers to the table 215 'in the storage means 215 which stores the priorities of the connected networks and the addresses of the respective DNS servers, and determines the DNS server of the network with the highest priority. Confirm and get. In the example of FIG. 8, the network with the highest priority is the independent network, the DNS server is the local DNS server 21, and the address is “20.20.20.1”.
{Circle around (3)} Next, the DNS server address confirmation means 213 sends the name resolution request packet to the DNS server of the highest priority network among the connected networks (here, the local DNS server 21 of the independent network 20). The address is sent to the name solution requesting means 214.
{Circle around (4)} The name resolution requesting unit 214 changes the destination of the name resolution request packet addressed to the DNS server 11 to the address of the DNS server sent from the DNS server address confirmation unit 213, and sends a name resolution request to the DNS server. Send a packet. In the example of FIG. 8, the destination of the name resolution request packet is changed from “10.10.10.1” to “20.20.20.1” and transmitted to the local DNS server 21 of the independent network 20. If the DNS server address sent from the DNS server address confirmation means 213 indicates a local DNS server on the Internet 10, the name resolution request packet is sent to the local DNS server 11 on the Internet 10 as it is.
[0026]
FIG. 9 is an example of the processing operation of a downstream packet in the name resolution device 30 in the name resolution application example according to the priority order of the present invention.
{Circle around (1)} The downstream packet detecting unit 221 detects a packet transmitted from all the networks to the Internet terminal 1, and the downstream packet analyzing unit 222 analyzes the contents of the packet. If the packet is a name resolution response packet, Sends the name resolution response packet to the name resolution response confirmation means 223.
{Circle around (2)} The name resolution response confirming means 223 confirms the presence or absence of a name resolution response, and if there is a response, sends the name resolution response packet to the name resolution response means 225.
{Circle around (3)} The name resolution response unit 225 sends a name resolution response packet to the Internet terminal 1. Here, if the source address of the name resolution response packet transmitted to the terminal 1 is different from the destination address of the name resolution request packet transmitted by the terminal 1, the source address of the name resolution response packet is changed. The name change request packet is changed to the destination address and transmitted. In the example of FIG. 9, since the source address of the name resolution response packet to be sent to the terminal 1 is the local DNS server 21, the source address is changed to the local DNS server 11, that is, the source address of the name resolution response packet is changed. The address is changed from "20.20.20.1" to "10.10.10.1" and transmitted. However, the response (response B) transmitted by the local DNS server 21 is transmitted without changing the content of the response.
{Circle around (4)} On the other hand, if there is no answer to the name solution from the DNS server, or if the answer does not arrive within a predetermined time, the name solution answer confirming means 223 informs the next priority order means 224 of it.
(5) The next priority designation means 224 designates the next priority and notifies the DNS server address confirmation means 213 on the upstream packet means 210 side.
[0027]
As a result, the DNS server address confirmation means 213 refers to the table 215 'of the storage means 215 again to confirm and acquire the address of the DNS server having the specified priority, and the name resolution requesting means 214 Sends a name resolution request packet to the server. Here, when there is no response from the DNS server 21 or when it does not arrive within a predetermined time, the next priority designation means 224 designates the next priority “2” and notifies the DNS server address confirmation means 213. I do. The DNS server address confirming means 213 refers to the table 215 ', confirms that the network having the priority "2" is the Internet 10, and performs name resolution to the DNS server 11 via the name resolution requesting means 214. I will ask.
[0028]
[Advance name resolution]
FIG. 10 is an overall processing flow diagram of the name resolution device 30 in an application example of prior name resolution of the present invention. When detecting a packet transmitted from a terminal to an arbitrary network (step 301), the name resolution device 30 analyzes the contents of the packet (step 302). As a result of the analysis, it is determined whether or not the packet is a name resolution request packet (step 303). If not, the packet is transferred according to the destination (step 304). If it is a name resolution request packet, the name requested to be resolved in the name resolution request packet is confirmed (step 305), and the name is managed from a list of names managed in each network registered in advance. The network is specified (step 306). Next, a name resolution request packet is sent to the network to request name resolution (step 307), and a response from the network is notified to the terminal (step 308).
[0029]
FIG. 11 is a functional block diagram of the name resolution device 30 in an example of a prior name resolution application of the present invention. Similar to FIGS. 3 and 7, the name resolution device 30 has the functions of an upstream packet processing unit 310 and a downstream packet unit 320. The upstream packet processing unit 310 includes an upstream packet detecting unit 311 for detecting an upstream packet to the network, an upstream packet analyzing unit 312 for analyzing the contents of the upstream packet, and confirming a name requesting a resolution in the name resolution response packet. Name requesting means 313, a DNS server address checking means 314 for checking the address of the DNS server of the network managing the name, a name solution requesting means 315 for requesting the DNS server for name resolution, and a name of the network to be connected. The storage unit 316 stores the address of the DNS server and the name managed by each. The downstream packet processing unit 320 includes a downstream packet detecting unit 321 for detecting a downstream packet from the network, a downstream packet analyzing unit 322 for analyzing the contents of the downstream packet, and a name solution answering unit 323 for answering the terminal that has requested name resolution. . The functions of the upstream packet processing unit 310 and the downstream packet processing unit 320 may be embedded in different places.
[0030]
FIG. 12 is an example of an upstream packet processing operation in the name resolution device 30 in an application example of the name resolution in advance of the present invention.
(1) The upstream packet detecting unit 311 detects a packet transmitted from the Internet terminal 1, the upstream packet analyzing unit 312 analyzes the contents of the packet, and if the packet is a name resolution response packet, A name resolution request packet is sent to the resolution request name confirmation means 313. In the example of FIG. 12, a name resolution request packet addressed to the DNS server 11 is sent.
{Circle around (2)} The resolution request name confirmation means 313 confirms / detects the name requesting resolution (hoge.com/index.html in this case) in the name resolution request packet, and the DNS server address confirmation means 314. Send to
(3) The DNS server address confirmation means 314 refers to the table 316 'in the storage means 316 which stores the DNS server address of the network to be connected and the name managed by each network, and refers to the network managing the name. Is identified, and the address of the DNS server of the network is confirmed and detected. In the example of FIG. 12, the independent network 20 that manages “hoge.com” is specified from the table 316 ′, and “20.20.0.1”, which is the address of the local DNS server 21 of the network 20, is obtained. . The DNS server address confirmation unit 314 sends the obtained DNS server address to the name resolution request unit 315 together with the name resolution request packet.
{Circle around (4)} The name resolution requesting unit 315 changes the destination of the name resolution request packet to the DNS server of the network that manages the name, and sends the name resolution request packet to the DNS server. In the example of FIG. 12, the destination of the name resolution request packet addressed to the local DNS server 11 on the Internet 10 is changed from “10.10.10.1” to “20.20.20.1”, and the local It is sent to the DNS server 21.
[0031]
FIG. 13 is an example of the processing operation of a downstream packet in the name resolution device 30 in the application example of the name resolution in advance of the present invention.
{Circle around (1)} The downstream packet detecting unit 321 detects a packet transmitted from all networks to the Internet terminal 1, and the downstream packet analyzing unit 322 analyzes the contents of the packet. The resolution response packet is sent to the name resolution response means 323.
{Circle around (2)} The name resolution response unit 323 sends a name resolution response packet to the Internet terminal 1. If the source address of the name resolution response packet transmitted to the terminal 1 is different from the destination address of the name resolution request packet transmitted by the terminal 1, the source address of the name resolution response packet is Change to the destination address of the name resolution request packet and send it out. In the example of FIG. 13, since the source address of the name resolution response packet to be sent to the terminal 1 is the local DNS server 21, the source address is changed to the local DNS server 11, ie, the source address of the name resolution response packet. Is changed from "20.20.20.1" to "10.10.10.1" and transmitted. However, the answer (answer B) sent by the DNS server 21 of the independent network 20 is sent without changing the content of the answer.
[0032]
The embodiments of the present invention have been described above. Part or all of the processing functions of the name resolution device shown in each embodiment are configured by a computer program, and the programs are executed by using a computer to implement the present invention. Needless to say, the present invention can be realized, or the processing procedure described in each embodiment can be configured by a computer program and the computer can execute the program. In addition, a program for realizing the processing function by the computer or a program for causing the computer to execute the processing procedure is stored in a computer-readable recording medium such as an FD, an MO, a ROM, a memory card, The program can be recorded on a CD, a DVD, a removable disk, or the like, stored and provided, and the program can be distributed through a network such as the Internet.
[0033]
【The invention's effect】
As described above, according to the present invention, it is possible for a user to realize connection to all networks without setting the IP network terminal to connect to a plurality of IP networks.
[Brief description of the drawings]
FIG. 1 is a diagram showing an embodiment of a name resolution method when a plurality of IP networks are connected according to the present invention.
FIG. 2 is a processing flowchart of an example of application of broadcast name resolution.
FIG. 3 is a functional block diagram of a broadcast name solution application example.
FIG. 4 is an example of an upstream packet processing operation in a broadcast name resolution application example.
FIG. 5 is an example of a downstream packet processing operation in a broadcast name resolution application example.
FIG. 6 is a processing flowchart of a name resolution application example according to priority.
FIG. 7 is a functional block diagram of a name resolution application example according to priority.
FIG. 8 is an example of an upstream packet processing operation in a name resolution application example according to priority.
FIG. 9 is an example of a downstream packet processing operation in a name resolution application example according to priority.
FIG. 10 is a processing flowchart of an example of an application of name resolution in advance.
FIG. 11 is a functional block diagram of an example of a name resolution application in advance.
FIG. 12 is an example of an upstream packet processing operation in an application example of name resolution in advance.
FIG. 13 is an example of a downstream packet processing operation in an application example of name resolution in advance.
FIG. 14 is a diagram showing an example of name resolution when connecting to a conventional multiple IP network.
[Explanation of symbols]
1 Internet terminal (user terminal)
10 Internet
11 Local DNS server
20 independent networks
21 Local DNS server
30 Name resolution device
110 upstream packet processing means
111 Uplink packet detecting means
112 Uplink packet analysis means
113 DNS server address confirmation means
114 Name Resolution Request Means
115 DNS server address storage means
120 Downlink packet processing means
121 Downlink packet detecting means
122 Downlink packet analysis means
123 Name resolution answer priority selection means
124 Name Resolution Answer Means
125 Network priority storage means
210 Uplink packet processing means
211 Uplink packet detecting means
212 Uplink packet analysis means
213 DNS server address confirmation means
214 Name Resolution Request Means
215 Network priority and DNS server address storage means
220 Downlink packet processing means
221 Downlink packet detecting means
222 Downlink packet analysis means
223 Name resolution answer confirmation means
224 Next priority designation means
225 Name Resolution Answer Means
310 upstream packet processing means
311 Uplink packet detecting means
312 Uplink packet analysis means
313 Resolution request name confirmation means
314 DNS server address confirmation means
315 Name resolution request means
316 DNS server address and name storage means
320 Downlink packet processing means
321 Lost packet detecting means
322 Downlink packet analysis means
323 Name resolution answer means

Claims (8)

複数のIP(インターネットプロトコル)ネットワーク接続の名前解決方法であって、
端末と複数IPネットワークの間に名前解決装置を設置し、
前記名前解決装置において、
前記端末から名前解決サーバ(以下、DNSサーバ)に対して送出される名前解決を要求するパケット(以下、名前解決要求パケット)を検出し、任意のネットワークに対して名前解決を要求し、
任意のネットワークのDNSサーバが送出する名前解決の回答のパケット(以下、名前解決応答パケット)を検出し、要求元端末へ回答する、
ことを特徴とする名前解決方法。
A name resolution method for a plurality of IP (Internet Protocol) network connections,
Install a name resolution device between the terminal and multiple IP networks,
In the name resolution device,
Detecting a packet requesting name resolution (hereinafter referred to as a name resolution request packet) sent from the terminal to a name resolution server (hereinafter a DNS server), requesting name resolution to an arbitrary network,
Detects a name resolution response packet (hereinafter, a name resolution response packet) transmitted by a DNS server of an arbitrary network, and replies to the requesting terminal;
A name resolution method characterized in that:
請求項1記載の名前解決方法において、
名前解決装置は、接続する全ネットワークのDNSサーバのアドレスと、接続する全ネットワークの優先順位を記憶し、
名前解決要求パケットを検知する毎に、前記全DNSサーバへ名前解決を依頼し、前記DNSサーバの回答の中で最も優先順位の高いネットワークからの回答を要求元端未へ送出する、
ことを特徴とする名前解決方法。
The name resolution method according to claim 1,
The name resolution device stores the DNS server addresses of all the connected networks and the priorities of all the connected networks,
Each time a name resolution request packet is detected, a request for name resolution is made to all of the DNS servers, and a reply from the network with the highest priority among the replies of the DNS server is sent to the request source end.
A name resolution method characterized in that:
請求項1記載の名前解決方法において、
名前解決装置は、接続する全ネットワークの優先順位とDNSサーバのアドレスを記憶し、
名前解決要求パケットを検知する毎に、任意の優先順位のDNSサーバアドレスを確認し、前記任意の優先順位のDNSサーバへ名前解決を依頼し、前記DNSサーバからの回答が無い場合には次の優先順位を指定し、名前解決された回答を要求元端末へ送出する、
ことを特徴とする名前解決方法。
The name resolution method according to claim 1,
The name resolution device stores the priority of all networks to be connected and the address of the DNS server,
Every time a name resolution request packet is detected, a DNS server address of any priority is confirmed, a name resolution is requested to the DNS server of any priority, and if there is no reply from the DNS server, the following is performed. Specify the priority and send the name-resolved answer to the requesting terminal.
A name resolution method characterized in that:
請求項1記載の名前解決方法において、
名前解決装置は、接続する全ネットワークのDNSサーバのアドレスと各々の管理する名前を記憶し、
名前解決要求パケットを検知する毎に、名前解決要求パケットを解析し、名前解決を依頼する名前を確認し、前記名前を管理するネットワークのDNSサーバを特定し、前記特定したDNSサーバへ名前解決を依頼し、名前解決された回答を要求元端末へ送出する、
ことを特徴とする名前解決方法。
The name resolution method according to claim 1,
The name resolution device stores the DNS server addresses of all connected networks and the names managed by each,
Each time a name resolution request packet is detected, the name resolution request packet is analyzed, the name requested for name resolution is confirmed, the DNS server of the network that manages the name is specified, and the name resolution is performed to the specified DNS server. Request and send the name resolved answer to the requesting terminal,
A name resolution method characterized in that:
端末と複数IPネットワークの間に設置され、複数のIPネットワーク接続の名前解決を行う名前解決装置であって、
前記端末から送出されたパケットを検知する手段と、
前記検知した端末から送出されたパケットの内容を解析し、名前解決要求パケットを検出する手段と、
前記名前解決要求パケットを利用し、任意のネットワークに対して名前解決を要求する手段と、
任意のネットワークから送出されたパケットを検知する手段と、
前記検知した任意のネットワークから送出されたパケットの内容を解析し、名前解決応答パケットを検出する手段と、
前記名前解決応答パケットを利用し、要求元端末へ回答する手段と、
を有することを特徴とする名前解決装置。
A name resolution device installed between a terminal and a plurality of IP networks for performing name resolution of a plurality of IP network connections,
Means for detecting a packet transmitted from the terminal;
Means for analyzing the contents of the packet sent from the detected terminal and detecting a name resolution request packet;
Means for using the name resolution request packet to request name resolution for any network;
Means for detecting packets transmitted from any network;
Means for analyzing the contents of the packet transmitted from the detected arbitrary network and detecting a name resolution response packet;
Means for responding to the requesting terminal using the name resolution response packet;
A name resolution device comprising:
請求項5記載の名前解決装置において、
接続する全ネットワークのDNSサーバのアドレスを記憶する手段と、前記接続する全ネットワークの優先順位を記憶する手段を具備し、
名前解決要求パケットを検知する毎に、前記全DNSサーバへ名前解決を依頼し、前記DNSサーバの回答の中で最も優先順位の高いネットワークからの回答を要求元端末へ送出することを特徴とする名前解決装置。
The name resolution device according to claim 5,
Means for storing addresses of DNS servers of all networks to be connected, and means for storing priorities of all networks to be connected;
Each time a name resolution request packet is detected, a request for name resolution is made to all of the DNS servers, and a reply from the network with the highest priority among the replies of the DNS servers is sent to the requesting terminal. Name resolution device.
請求項5記載の名前解決装置において、
接続する全ネットワークの優先順位とDNSサーバのアドレスを記憶する手段を具備し、
名前解決要求パケットを検知する毎に、任意の優先順位のDNSサーバアドレスを確認し、前記任意の優先順位のDNSサーバへ名前解決を依頼し、前記DNSサーバからの回答が無い場合には、次の優先順位を指定し、名前解決された回答を要求元端末へ送出することを特徴とする名前解決装置。
The name resolution device according to claim 5,
Means for storing priorities of all networks to be connected and addresses of DNS servers;
Every time a name resolution request packet is detected, a DNS server address of any priority is confirmed, a name resolution is requested to the DNS server of any priority, and if there is no answer from the DNS server, the following is performed. A name resolution device for designating the priority of a name and sending the name-resolved answer to the requesting terminal.
請求項5記載の名前解決装置において、
接続する全ネットワークのDNSサーバのアドレスと各々の管理する名前を記憶する手段を具備し、
名前解決要求パケットを検知する毎に、名前解決要求パケットを解析し、名前解決を依頼する名前を確認し、前記名前を管理するネットワークのDNSサーバを特定し、前記特定したDNSサーバへ名前解決を依頼し、名前解決された回答を要求元端末へ送出することを特徴とする名前解決装置。
The name resolution device according to claim 5,
Means for storing addresses of DNS servers of all networks to be connected and names managed by each of them;
Each time a name resolution request packet is detected, the name resolution request packet is analyzed, the name requested for name resolution is confirmed, the DNS server of the network that manages the name is specified, and the name resolution is performed to the specified DNS server. A name resolution device for requesting and sending a name-resolved answer to a request source terminal.
JP2002194830A 2002-07-03 2002-07-03 Name resolution method and apparatus for realizing connection of multiple networks Expired - Fee Related JP3809950B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002194830A JP3809950B2 (en) 2002-07-03 2002-07-03 Name resolution method and apparatus for realizing connection of multiple networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002194830A JP3809950B2 (en) 2002-07-03 2002-07-03 Name resolution method and apparatus for realizing connection of multiple networks

Publications (2)

Publication Number Publication Date
JP2004040474A true JP2004040474A (en) 2004-02-05
JP3809950B2 JP3809950B2 (en) 2006-08-16

Family

ID=31703422

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002194830A Expired - Fee Related JP3809950B2 (en) 2002-07-03 2002-07-03 Name resolution method and apparatus for realizing connection of multiple networks

Country Status (1)

Country Link
JP (1) JP3809950B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007243564A (en) * 2006-03-08 2007-09-20 Nippon Telegr & Teleph Corp <Ntt> Cache server apparatus, cache control method, and program for the cache server apparatus
JP2009094820A (en) * 2007-10-09 2009-04-30 Nippon Telegraph & Telephone West Corp Communication device and communicating method
US7720080B2 (en) 2005-02-09 2010-05-18 Ntt Docomo, Inc. Relay unit, terminal device, communication system, and communication control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7720080B2 (en) 2005-02-09 2010-05-18 Ntt Docomo, Inc. Relay unit, terminal device, communication system, and communication control method
JP2007243564A (en) * 2006-03-08 2007-09-20 Nippon Telegr & Teleph Corp <Ntt> Cache server apparatus, cache control method, and program for the cache server apparatus
JP2009094820A (en) * 2007-10-09 2009-04-30 Nippon Telegraph & Telephone West Corp Communication device and communicating method
JP4514780B2 (en) * 2007-10-09 2010-07-28 西日本電信電話株式会社 Communication apparatus and communication method

Also Published As

Publication number Publication date
JP3809950B2 (en) 2006-08-16

Similar Documents

Publication Publication Date Title
US20210021692A1 (en) Translation of resource identifiers using popularity information upon client request
CN109067914B (en) web service proxy method, device, equipment and storage medium
US10264062B2 (en) Request routing using a popularity identifier to identify a cache component
US7228359B1 (en) Methods and apparatus for providing domain name service based on a client identifier
US7505464B2 (en) Method of identifying a home gateway using network traffic sniffing and apparatus employing the same
AU2007201488B2 (en) Network system, image-processing device, image-processing method, computer-readable medium, and network-setting device
US20070112911A1 (en) Method and System for Communicating Between Clients In A Computer Network
JP2006033830A (en) Power saving in wireless packet based network
US9697173B2 (en) DNS proxy service for multi-core platforms
US7512672B2 (en) Method and system for domain name resolution in a communications system
JP3953950B2 (en) Server system using local address
JP2007219637A (en) Load balancing system and program therefor
KR101135087B1 (en) System and method for providing contents
JP2004040474A (en) Name resolution method and name resolution equipment for materializing connection of plurality of networks
JP4217391B2 (en) Information acquisition system, information processing apparatus, method, program, and medium
JP2008219723A (en) Sip service system, apparatus, method and program used therefor
JP5442626B2 (en) Method for managing network components in a network and network components
JP3892235B2 (en) Automatic address assignment method
KR100640469B1 (en) Method and apparatus for providing mirroring service in a communication system and the communication system
JP2003296208A (en) Server system, service providing method using server system, program for receiving service from server system, and recording medium recorded with the program
JP3521189B2 (en) Distributed server control method and apparatus, and recording medium recording distributed server control program
CN115001745B (en) Intranet user local authentication system and method based on government enterprise gateway
JP2010055199A (en) Hypertext transfer protocol network and data transfer method
KR20050002337A (en) Proxy server, and dynamic domain name service system and method using the same
JP3696816B2 (en) Address confidential communication method, system, and privacy gateway

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040726

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060207

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060410

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: 20060517

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060518

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

Free format text: PAYMENT UNTIL: 20090602

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100602

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100602

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110602

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120602

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130602

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140602

Year of fee payment: 8

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