JP2005184110A - Packet transfer apparatus and packet transfer method - Google Patents
Packet transfer apparatus and packet transfer method Download PDFInfo
- Publication number
- JP2005184110A JP2005184110A JP2003418303A JP2003418303A JP2005184110A JP 2005184110 A JP2005184110 A JP 2005184110A JP 2003418303 A JP2003418303 A JP 2003418303A JP 2003418303 A JP2003418303 A JP 2003418303A JP 2005184110 A JP2005184110 A JP 2005184110A
- Authority
- JP
- Japan
- Prior art keywords
- domain name
- address
- server
- dns
- connection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
【課題】 ドメイン名を解決しうる適切なDNSサーバ宛にドメイン名解決要求パケットを転送することができるパケット転送装置および方法を提供する。
【解決手段】 複数のDNSサーバと複数の論理コネクション27a、27bを確立し、接続制御プロトコルの付加情報51に含まれるDNSサーバIPアドレス57およびDNSサーバが管理するドメイン名情報48を取得するコネクション確立部41と、取得したIPアドレス57、ドメイン名情報48、および宛先論理コネクション59を関連付けて対応テーブルに記憶する記憶装置43と、ユーザ端末からの問い合わせ先ドメイン名56を含むDNSクエリー40を中継する中継部45とを備え、中継部45は、DNSクエリー40を受信したとき、記憶装置43の対応テーブルを参照し、問い合わせ先ドメイン名56に該当する論理コネクション59およびIPアドレス57を選択してDNSクエリー40を転送する。
【選択図】 図2PROBLEM TO BE SOLVED: To provide a packet transfer apparatus and method capable of transferring a domain name resolution request packet to an appropriate DNS server capable of resolving a domain name.
A plurality of DNS servers and a plurality of logical connections 27a and 27b are established, and a connection is established for acquiring a DNS server IP address 57 and domain name information 48 managed by the DNS server included in additional information 51 of a connection control protocol. Relay unit 41, storage device 43 that stores acquired IP address 57, domain name information 48, and destination logical connection 59 in association with each other, and DNS query 40 including inquiry destination domain name 56 from the user terminal are relayed. The relay unit 45 includes a relay unit 45. When the relay unit 45 receives the DNS query 40, the relay unit 45 refers to the correspondence table in the storage device 43, selects the logical connection 59 and the IP address 57 corresponding to the query destination domain name 56, and selects the DNS. Transfer the query 40.
[Selection] Figure 2
Description
本発明は、クライアントからのドメイン名解決要求パケットをドメインネームシステムサーバに転送するパケット転送装置およびパケット転送方法に関する。 The present invention relates to a packet transfer apparatus and a packet transfer method for transferring a domain name resolution request packet from a client to a domain name system server.
インターネットにおける情報提供方法としてWorld Wide Web(以下、「Web」と略す。)が知られている。Webの情報は、Webブラウザ機能を持ったユーザ端末がWebサーバにアクセスすることにより受け取ることができる。 The World Wide Web (hereinafter abbreviated as “Web”) is known as an information providing method on the Internet. Web information can be received by a user terminal having a Web browser function accessing a Web server.
Webブラウザ機能を持ったユーザ端末が、インターネットのWebサーバにアクセスする場合、URL(Uniform Resource Locator)によりWebサーバの場所を指定する必要がある。URLにはIP(Internet Protocol)アドレスまたはドメイン名を指定できるが、通常はユーザが直感的に分かりやすいようにサーバ名が含まれるドメイン名が利用される。DNS(Domein Name System)は、ネットワーク上の機器名称であるドメイン名と、通信に利用する機器固有のIPアドレスとを対応付けるサーバプログラムとしてのDNSサーバ、および1つ以上のDNSサーバを使用して機器名とアドレス変換を行うDNSクライアントにより構成され、このIPアドレスとドメイン名の対応テーブルを利用して、ドメイン名からIPアドレスを求めるシステムである。 When a user terminal having a Web browser function accesses a Web server on the Internet, it is necessary to specify the location of the Web server by a URL (Uniform Resource Locator). An IP (Internet Protocol) address or a domain name can be specified as the URL, but a domain name including a server name is usually used so that the user can easily understand it intuitively. DNS (Domein Name System) is a device that uses a DNS server as a server program that associates a domain name, which is a device name on a network, with a device-specific IP address used for communication, and one or more DNS servers. This system is configured by a DNS client that performs name / address conversion, and uses this IP address / domain name correspondence table to obtain an IP address from a domain name.
Webブラウザ機能を持ったユーザ端末により、ドメイン名で、インターネット上のWebサーバが指定された場合、ドメイン名からIPアドレスへの変換を要求するためにドメイン名解決要求パケットをDNSサーバに送信し、ユーザ端末はDNSサーバから返答されたIPアドレスを宛先として、Webサーバにアクセスを行いWebの情報を見ることができる。 When a Web server on the Internet is specified by a domain name by a user terminal having a Web browser function, a domain name resolution request packet is transmitted to the DNS server in order to request conversion from the domain name to an IP address. The user terminal can access the Web server by using the IP address returned from the DNS server as a destination and view Web information.
また、ユーザがインターネットへアクセスする場合、インターネットサービスプロバイダが提供するネットワークを経由してアクセスするのが一般的である。アクセス網で使用されるプロトコルとしてはPPPoEがある。これは、Ethernet(登録商標)などのネットワーク上で、ダイヤルアップ接続(PPP接続:Point to Point Protocol)によるユーザのユーザ名、パスワードのチェックを行うために作られた規格であり、IETF(Internet Engineering Task Force)のRFC2516(Request For Comment 2516)によって規定されている。ユーザの端末がPPPoEクライアントとなり、PPPoEサーバ(ブロードバンドアクセスサーバ:BASとも言う。)がユーザ名とパスワードをチェックするとともに、ユーザに対して指定されたインターネットサービスプロバイダ(以下、「ISP」と呼ぶ。)に接続したり、帯域を調整したりする。 Further, when a user accesses the Internet, it is common to access via a network provided by an Internet service provider. There is PPPoE as a protocol used in the access network. This is a standard created for checking the user name and password of a user by dial-up connection (PPP connection: Point to Point Protocol) on a network such as Ethernet (registered trademark). Task Force) RFC2516 (Request For Comment 2516). The user's terminal becomes a PPPoE client, and a PPPoE server (also referred to as a broadband access server: BAS) checks the user name and password, and an Internet service provider (hereinafter referred to as “ISP”) designated for the user. Connect to or adjust the bandwidth.
また、PPPoEではISPを選択するサービスも用意されており、ユーザは入力するユーザ名、パスワードを変更することにより接続先のプロバイダを変更することもできる。このときPPPoEクライアントへのIPアドレスの割り当てや、データ圧縮の有無などの付加機能をサポートするために、RFC1332で規定されるIPCP(Internet Protocol Control Protocol)と呼ばれる制御プロトコルが使用される。 PPPoE also provides a service for selecting an ISP, and the user can change the connection destination provider by changing the user name and password to be input. At this time, a control protocol called IPCP (Internet Protocol Control Protocol) defined by RFC1332 is used to support additional functions such as assignment of an IP address to a PPPoE client and presence / absence of data compression.
また、インターネットに接続しようとするユーザ端末が複数ある場合、ゲートウェイ装置などのパケットを中継する装置が必要となる。ゲートウェイ装置では簡易DNSサーバ機能を持ち、ドメイン名解決要求パケット(以下、「DNSクエリー」とも呼ぶ。)を中継する機能を備えるのが一般的である。 In addition, when there are a plurality of user terminals trying to connect to the Internet, a device for relaying packets such as a gateway device is required. A gateway device generally has a simple DNS server function and a function of relaying a domain name resolution request packet (hereinafter also referred to as “DNS query”).
図10に従来のゲートウェイ装置を含むネットワークの一例を示す。図10において、従来のゲートウェイ装置2は、Webページを閲覧するためのWebブラウザを有するユーザ端末3a、3bと接続され、ユーザネットワーク1を構成する。
FIG. 10 shows an example of a network including a conventional gateway device. In FIG. 10, a
ゲートウェイ装置2は、キャリアネットワーク5にあるPPPoEサーバ6を介して、プロバイダAとの間で論理コネクション7a、ここではPPPoEセッションAを確立している。図10では、ゲートウェイ装置2は、プロバイダAのネットワーク11aとの間のPPPoEセッションAのみを確立しており、プロバイダBのネットワーク11bとの間とは、論理コネクションを確立していない。
The
プロバイダAのネットワーク11a内には、プロバイダAが独自に構築したDNSサーバ12aおよびWEBサーバ13aが配置され、プロバイダAのネットワーク11aはインターネット18に接続されている。プロバイダBのネットワーク11b内には、プロバイダBが独自に構築したDNSサーバ12bおよびWEBサーバ13bが配置され、プロバイダBのネットワーク11bはインターネット18に接続されている。すなわち、プロバイダAのネットワーク11aとプロバイダBのネットワーク11bはインターネット18を経由して互いに接続されている。
In the provider A
ゲートウェイ装置2が管理できるDNSクエリー20の転送先のDNSサーバの情報は1つであり、ここでは、プロバイダAの管理するDNSサーバ12aのみであり、プロバイダBの管理するDNSサーバ12bなどは管理できない。
There is only one information about the DNS server that is the transfer destination of the
図10において、ユーザ端末3aからプロバイダBが管理するWEBサーバ13bにアクセスする場合を考える。ユーザはプロバイダAの会員であり、通常プロバイダAが管理するDNSサーバ12aをゲートウェイ装置2の問い合わせDNSサーバとして登録している。ユーザ端末3aからのDNSクエリー20がゲートウェイ装置2に送信されると、ゲートウェイ装置2が管理するDNSサーバ12aに中継される。DNSサーバ12aは基本的に、自身の管理するドメイン内情報とサブドメインのDNSサーバ名しか知らないため、DNSサーバ12aは自身が管理しているゾーン情報にWEBサーバ13bの情報がないときは、他のDNSサーバ12dや、ルートサーバと呼ばれる最上位のDNSサーバ(図示無し)に問い合わせを行い、DNS解決を最後まで行う。
In FIG. 10, a case where the
図10では、プロバイダAのネットワーク11aとプロバイダBのネットワーク11bがインターネット18を介して接続されている。したがって、ユーザ端末3aからプロバイダBが管理するWEBサーバ13bにアクセスする場合、最終的にDNSサーバ12bに到達するまでドメイン名の問い合わせが繰り返される。そして、DNSサーバ12bでWEBサーバ13bのドメイン名が解決され、該当するIPアドレスを通知するDNS応答パケットがユーザ端末3aに返信される。これによりユーザ端末3aはWEBサーバ13bの情報を見ることができる。
In FIG. 10, the provider A
一方、近年ブロードバンドネットワークが普及し、映像などの大容量コンテンツをパソコンなどのネットワーク端末で視聴したいというユーザの要求が増えてきた。映像情報を持つパケットを映像受信端末に対して途切れることなく送るため、インターネットなど通信品質の保証もないネットワークとは切り離したプロバイダ独自のCDN(Contents Delivary Network)を構築し通信品質を確保するプロバイダがある。 On the other hand, broadband networks have become widespread in recent years, and there has been an increasing demand for users who want to view large-capacity content such as video on network terminals such as personal computers. In order to send packets with video information to video receiving terminals without interruption, a provider that secures communication quality by constructing a provider's own CDN (Contents Delivary Network) separated from a network that does not guarantee communication quality such as the Internet is there.
図11にインターネットと切り離されたプロバイダ独自のCDNを含むネットワーク構成図を示す。ゲートウェイ装置2は複数のプロバイダ(図11では、2つのプロバイダAおよびプロバイダC)のネットワーク11a、11cと同時に複数の論理コネクション7a、7b(図11ではPPPoEセッションAおよびPPPoEセッションB)を確立できる。ここで、プロバイダCは上述のCDNを構築しているとする。CDNはインターネット18とは切り離された閉域のネットワークであるため、プロバイダCのCDN内にあるWEBサーバ13cのドメイン名は、CDN内にあるDNSサーバ12cでのみ管理される。したがって、プロバイダCが独自に管理するCDN内にあるWEBサーバ13cに対してドメイン名でアクセスする場合は、DNSクライアントであるユーザ端末3a、3bはCDN内に存在するDNSサーバ12cに対してDNSクエリー20を送信する必要がある。
FIG. 11 shows a network configuration diagram including a provider-specific CDN separated from the Internet. The
しかし、従来の技術ではゲートウェイ装置2で管理できるDNSサーバは1つであるので、DNSクエリー20を中継するDNSサーバとして設定できるのは、プロバイダAのDNSサーバ12aまたはプロバイダCのDNSサーバ12cのいずれか一方のみである。
However, since there is only one DNS server that can be managed by the
たとえば、DNSクエリー20を中継するDNSサーバとしてプロバイダAのDNSサーバ12aを設定した場合は、上位のDNSサーバ12dに問い合わせを行ってもDNSサーバ12cへDNSクエリー20を転送できずドメイン名解決できない。また、ゲートウェイ装置2がDNSクエリー20を中継するDNSサーバとしてプロバイダCのDNSサーバ12cを設定した場合は、DNSサーバ12aまたはDNSサーバ12dが管理するドメイン名を解決できない。
For example, when the
特許文献1では、ドメイン名により問い合わせをするDNSサーバを適切に振り分けることで検索の効率を向上させる方法が提案されている。
しかし、このような従来のパケット転送装置では、ドメイン名により問い合わせをするDNSサーバを振り分けるための情報についてはユーザの手動による設定が必要であるという問題点があった。 However, in such a conventional packet transfer apparatus, there is a problem in that it is necessary to manually set the information for distributing the DNS server inquiring by the domain name.
本発明は、従来の問題を解決するためになされたもので、ドメイン名を解決しうる適切なDNSサーバ宛にドメイン名解決要求パケットを転送することができるパケット転送装置を提供することを目的とする。 The present invention has been made to solve the conventional problems, and an object of the present invention is to provide a packet transfer apparatus that can transfer a domain name resolution request packet to an appropriate DNS server that can resolve a domain name. To do.
本発明のパケット転送装置は、複数の論理コネクションを確立するコネクション確立手段と、前記コネクション確立手段によりドメインネームサーバと前記論理コネクションを確立し、前記ドメインネームサーバとの接続制御プロトコルの付加情報に含まれる前記ドメインネームサーバのIPアドレスおよび前記ドメインネームサーバが管理するドメイン名情報を取得する取得手段と、前記取得手段により取得された前記ドメインネームサーバの前記IPアドレス、前記ドメイン名情報、および前記論理コネクションを関連付けて対応テーブルに記憶する記憶手段と、ユーザ端末からの問い合わせ先ドメイン名を含むドメイン名解決要求パケットを中継する中継手段とを備え、前記中継手段は、前記ドメイン名解決要求パケットを前記ユーザ端末から受信したとき、前記記憶手段に記憶された前記対応テーブルを参照し、前記受信した前記ドメイン名解決要求パケットの前記問い合わせ先ドメイン名に該当する前記ドメイン名情報を検索し、前記検索されたドメイン名情報に対応する前記ドメインネームサーバの前記IPアドレスと前記論理コネクションを選択し、前記選択された論理コネクションを介して前記ドメインネームサーバの前記IPアドレス宛に前記ドメイン名解決要求パケットを転送することを特徴とする構成を有している。 The packet transfer apparatus of the present invention includes a connection establishment means for establishing a plurality of logical connections, a logical connection established with a domain name server by the connection establishment means, and included in additional information of a connection control protocol with the domain name server Obtaining means for obtaining an IP address of the domain name server and domain name information managed by the domain name server, the IP address of the domain name server obtained by the obtaining means, the domain name information, and the logic Storage means for associating and storing the connection in a correspondence table; and relay means for relaying a domain name resolution request packet including an inquiry destination domain name from a user terminal, wherein the relay means transmits the domain name resolution request packet to the domain name resolution request packet. A user When received from the end, the correspondence table stored in the storage means is referred to, the domain name information corresponding to the inquired domain name of the received domain name resolution request packet is searched, and the searched The IP address and the logical connection of the domain name server corresponding to the domain name information are selected, and the domain name resolution request packet is forwarded to the IP address of the domain name server via the selected logical connection. It has the structure characterized by this.
この構成により、複数の論理コネクションの中から適切な問合せ先DNSサーバが存在する論理コネクションを選び出してパケットを転送することができる。 With this configuration, a packet can be transferred by selecting a logical connection in which an appropriate inquiry destination DNS server exists from a plurality of logical connections.
これにより、たとえば、ルートサーバがあるネットワーク(例えばインターネット網)とは切り離されたネットワークにあるWebサーバ宛のドメイン名解決要求パケットとインターネット上のWebサーバ宛のドメイン名解決要求パケットが混在しても、それらのパケットを適切に振り分けることができる。 Thereby, for example, even if a domain name resolution request packet addressed to a Web server in a network separated from a network where the root server is located (for example, the Internet network) and a domain name resolution request packet addressed to a Web server on the Internet are mixed. , Those packets can be sorted appropriately.
さらに、上記パケット転送装置において、前記記憶手段は、記憶している前記ドメイン名情報に該当しない前記ドメイン名解決要求を受信した場合に使用するデフォルトの前記ドメインネームサーバの前記IPアドレスと前記論理コネクションを前記対応テーブルに予め記憶し、前記中継手段は、前記ユーザ端末から前記ドメイン名解決要求パケットを受信し、前記記憶手段に記憶された前記対応テーブルを検索したとき、前記問合せ先ドメイン名に該当する前記ドメイン名情報が前記対応テーブルに含まれない場合、前記デフォルトの前記ドメインネームサーバの前記IPアドレスと前記論理コネクションを選択することができる。 Further, in the packet transfer apparatus, the storage means receives the domain name resolution request not corresponding to the stored domain name information and uses the default IP address and logical connection of the domain name server used. Is stored in the correspondence table in advance, and when the relay means receives the domain name resolution request packet from the user terminal and searches the correspondence table stored in the storage means, it corresponds to the inquiry domain name. When the domain name information to be included is not included in the correspondence table, the IP address and the logical connection of the default domain name server can be selected.
この構成により、ドメイン名解決要求パケットが転送されずに廃棄されることがなくなるため、パケットの再送を繰り返したり、ユーザ端末からのドメイン名解決が行えず、ブラウザなどに情報が表示されなかったりするという不具合を減らすことができ、Web情報へのアクセスが快適に行える。 With this configuration, the domain name resolution request packet is not forwarded and discarded, so that packet retransmission is repeated, domain name resolution from the user terminal cannot be performed, and information is not displayed on the browser or the like Can be reduced, and web information can be accessed comfortably.
本発明のパケット転送方法は、複数の論理コネクションを確立するコネクション確立ステップと、前記コネクション確立ステップで、ドメインネームサーバと前記論理コネクションが確立されたとき、前記ドメインネームサーバとの接続制御プロトコルの付加情報に含まれる前記ドメインネームサーバのIPアドレスおよび前記ドメインネームサーバが管理するドメイン名情報を取得する取得ステップと、前記取得ステップで取得された前記ドメインネームサーバの前記IPアドレス、前記ドメイン名情報、および前記論理コネクションを関連づけて対応テーブルに記憶する記憶ステップと、問い合わせ先ドメイン名を含むドメイン名解決要求パケットをユーザ端末から受信する受信ステップと、前記受信ステップで、前記ドメイン名解決要求パケットを前記ユーザ端末から受信したとき、前記記憶ステップで記憶された前記対応テーブルを参照し、前記受信ステップで受信した前記ドメイン名解決要求パケットの前記問い合わせ先ドメイン名に該当する前記ドメイン名情報を検索する検索ステップと、前記検索ステップで検索されたドメイン名情報に対応する前記ドメインネームサーバの前記IPアドレスと前記論理コネクションを選択する選択ステップと、前記選択ステップで選択された論理コネクションを介して前記ドメインネームサーバの前記IPアドレス宛に前記ドメイン名解決要求パケットを転送する転送ステップとを含む。 The packet transfer method of the present invention includes a connection establishment step for establishing a plurality of logical connections, and an addition of a connection control protocol between the domain name server and the domain name server when the logical connection is established in the connection establishment step. An acquisition step of acquiring an IP address of the domain name server included in the information and domain name information managed by the domain name server, the IP address of the domain name server acquired in the acquisition step, the domain name information, And a storage step of associating and storing the logical connection in a correspondence table, a reception step of receiving a domain name resolution request packet including a query domain name from a user terminal, When the packet is received from the user terminal, the domain name information corresponding to the inquiry destination domain name of the domain name resolution request packet received in the reception step is referred to the correspondence table stored in the storage step. A search step for searching, a selection step for selecting the IP address and the logical connection of the domain name server corresponding to the domain name information searched in the search step, and a logical connection selected in the selection step Transferring the domain name resolution request packet to the IP address of the domain name server.
これにより、複数の論理コネクションの中から適切な問合せ先DNSサーバが存在する論理コネクションを選び出してパケットを転送することができる。 Thereby, it is possible to select a logical connection in which an appropriate inquiry destination DNS server exists from a plurality of logical connections and transfer the packet.
さらに、上記パケット転送方法において、記憶している前記ドメイン名に該当しない前記ドメイン名解決要求を受信した場合に使用するデフォルトの前記ドメインネームサーバの前記IPアドレスと前記論理コネクションを前記対応テーブルに予め記憶するステップと、前記検索ステップで前記記憶手段に記憶された前記対応テーブルを検索したとき、前記問合せ先ドメイン名に該当する前記ドメイン名情報が前記対応テーブルに含まれない場合、前記デフォルトの前記ドメインネームサーバの前記IPアドレスと前記論理コネクションを選択するステップと、をさらに含むことができる。 Further, in the packet transfer method, the IP address and the logical connection of the default domain name server used when the domain name resolution request not corresponding to the stored domain name is received in the correspondence table in advance. And when searching the correspondence table stored in the storage means in the searching step and the domain name information corresponding to the inquiry destination domain name is not included in the correspondence table, the default Selecting the IP address of the domain name server and the logical connection.
この構成により、ドメイン名解決要求パケットが転送されずに廃棄されることがなくなるため、パケットの再送を繰り返したり、ユーザ端末からのドメイン名解決が行えず、ブラウザなどに情報が表示されなかったりするという不具合を減らすことができ、Web情報へのアクセスが快適に行える。 With this configuration, the domain name resolution request packet is not forwarded and discarded, so that packet retransmission is repeated, domain name resolution from the user terminal cannot be performed, and information is not displayed on the browser or the like Can be reduced, and web information can be accessed comfortably.
なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、記録媒体、コンピュータプログラムなどの間で変換したものもまた、本発明の態様として有効である。 It should be noted that any combination of the above-described constituent elements and a conversion of the expression of the present invention between a method, an apparatus, a system, a recording medium, a computer program, etc. are also effective as an aspect of the present invention.
本発明は、ドメイン名を解決しうる適切なDNSサーバ宛にドメイン名解決要求パケットを転送することができ、効率の良いネットワーク接続環境を実現できるという効果を有するパケット転送装置を提供することができるものである。 The present invention can provide a packet transfer apparatus capable of transferring a domain name resolution request packet to an appropriate DNS server capable of resolving a domain name and having an effect of realizing an efficient network connection environment. Is.
以下、本発明の実施の形態のパケット転送装置について、図面を用いて説明する。なお、すべての図面において、同様な構成要素は同様な符号を用いて示してある。
(第1の実施の形態)
図1は、本発明の第1の実施の形態のパケット転送装置を含むネットワーク全体の概略構成ブロック図である。
Hereinafter, a packet transfer apparatus according to an embodiment of the present invention will be described with reference to the drawings. In all the drawings, the same constituent elements are denoted by the same reference numerals.
(First embodiment)
FIG. 1 is a schematic block diagram of the entire network including the packet transfer apparatus according to the first embodiment of this invention.
図1において、本実施の形態のパケット転送装置は、規格の異なるネットワーク間の接続を可能にするゲートウェイ装置22に含まれる。ゲートウェイ装置22は、Webページを閲覧するためのWebブラウザを有する複数台(図1では2台)のユーザ端末23a、23bと接続され、ユーザネットワーク21を構成する。
In FIG. 1, the packet transfer apparatus according to the present embodiment is included in a
ゲートウェイ装置22は、キャリアネットワーク25にあるPPPoEサーバ26を介して、複数のプロバイダのネットワーク31a、31bとの間で複数の論理コネクション27a、27bをそれぞれ確立することができる。本実施の形態において、論理コネクション27a、27bは、PPPoEセッションである。
The
図1では、プロバイダAのネットワーク31aおよびプロバイダBのネットワーク31bの2つのプロバイダのネットワークに対して、それぞれPPPoEセッションAおよびPPPoEセッションBの2つの論理コネクションを確立している。本実施の形態において、ゲートウェイ装置22が論理コネクションを確立しているプロバイダのネットワークは2つであるが、これに限定されるものではなく、複数のネットワークとの間にそれぞれ複数の論理コネクションを同時に確立することができる。
In FIG. 1, two logical connections of a PPPoE session A and a PPPoE session B are established for two provider networks, a
プロバイダAのネットワーク31a内には、プロバイダAが独自に構築したDNSサーバ32aおよびWEBサーバ33aが配置され、プロバイダAのネットワーク31aはインターネット38に接続されている。
In the
プロバイダBのネットワーク31b内には、プロバイダBが独自に構築したDNSサーバ32bおよびWEBサーバ33bが配置され、プロバイダBのネットワーク31bはインターネット38とは接続されない閉域ネットワークを構成している。
In the
図2は、図1のゲートウェイ装置22の概略構成ブロック図である。
FIG. 2 is a block diagram of a schematic configuration of the
図2において、ゲートウェイ装置22は、複数の論理コネクション27a、27bを確立するコネクション確立部41と、ユーザネットワーク21内のユーザ端末からの問い合わせ先ドメイン名を含むドメイン名解決要求パケット(以後、「DNSクエリー」と呼ぶ。)40を中継する中継部45とを備える。
In FIG. 2, the
コネクション確立部41は、図1で示した複数のプロバイダのネットワーク31a、31bに配置されるDNSサーバ32a、32bと、キャリアネットワーク25のPPPoEサーバ26を介して複数の論理コネクション27a、27b(ここでは、PPPoEセッションAおよびPPPoEセッションB)をそれぞれ確立する。
The
コネクション確立部41は、DNSサーバ32a、32bとPPPoEセッションA、Bがそれぞれ確立されたとき、DNSサーバ32a、32bとの接続制御プロトコルの付加情報51にそれぞれ含まれるドメイン名情報48をキャリアネットワーク25のPPPoEサーバ26から取得する。本実施の形態において、DNSサーバとの接続制御プロトコルは、RFC1332で規定されるIPCP(Internet Protocol Control Protocol)である。以後、接続制御プロトコルの付加情報51は、IPCPプロトコル付加情報51と呼ぶ。なお、このドメイン名情報48の取得の詳細については後述する。
When the
ゲートウェイ装置22は、さらにコネクション確立部41により取得されたDNSサーバ32a、32bのドメイン名情報48と、それぞれ対応する宛先論理コネクションとを関連づけて対応テーブルに記憶する記憶装置43を含む。
The
図3に、記憶装置43に記憶される対応テーブルの一例を示す。図3に示すように、対応テーブルには、複数のドメイン名56と、そのドメイン名56の宛先にあたる宛先DNSサーバのIPアドレス57と、宛先論理コネクション59とが関連付けられている。たとえば、対応テーブルの1行目L1には、ドメイン名56が「PPPoE.AAA.NE.JP」である場合、その宛先DNSサーバであるDNSサーバ32aのIPアドレス57「100.100.100.100」と、宛先DNSサーバの宛先論理コネクションを示す「PPPoEセッションA」とが対応付けられている。
FIG. 3 shows an example of the correspondence table stored in the
また、対応テーブルの最終行L4に示されるように、該当するドメイン名56が対応テーブル内に存在しなかった場合に、デフォルトとして使用する宛先DNSサーバのIPアドレス57「000.000.000.100」と宛先論理コネクション59「PPPoEセッションX」を対応テーブルに記憶しておくことができる。このようにすれば、ユーザ端末23a、23bから受け取ったDNSクエリー40に含まれるドメイン名56が、記憶装置43に記憶された対応テーブルに存在しなかった場合に、デフォルトに設定された宛先論理コネクション59を介してデフォルトに設定された宛先DNSサーバのIPアドレス57にDNSクエリー40を転送することができる。
Further, as shown in the last row L4 of the correspondence table, when the
これにより、DNSクエリー40が転送されずに廃棄されることがなくなるため、パケットの再送を繰り返したり、ユーザ端末23a、23bからのドメイン名解決が行えず、ブラウザなどに情報が表示されなかったりするという不具合を減らすことができ、Web情報へのアクセスが快適に行え、効率の良いネットワーク接続環境を実現できる。
As a result, the
図4は、図2のゲートウェイ装置22が論理コネクション確立時に取得するIPCPプロトコル付加情報51のデータ構造の一例を示す図である。IPCPプロトコル付加情報51は、先頭に、その情報の種類(例えば、IPアドレスなど)を示す種別52(図中、「Type」と示される。)と、次いで、パケット長53(図中、「Length」と示される。)と、その後に続く、実際の情報が格納されるペイロード54とを含む。
FIG. 4 is a diagram showing an example of the data structure of the IPCP protocol additional information 51 acquired by the
DNSサーバ32a、32bは、たとえばドメイン名情報48に自身が管理するドメイン名56の情報を含ませ、図4のIPCPプロトコル付加情報51のペイロード54に格納することで、ゲートウェイ装置22に自身が管理するドメイン名56を通知することができる。ゲートウェイ装置22は、IPCPプロトコル付加情報51を受信し、そのペイロード54に格納されているドメイン名情報48を取り出し、ドメイン名情報48に含まれるドメイン名56と、宛先DNSサーバのIPアドレス57(以後、「DNSサーバIPアドレス57」と呼ぶ。)と、宛先論理コネクション59とを関連付けて図3の記憶装置43の対応テーブルに格納する。
The
このように、本実施の形態において、インターネット接続に広く使われているPPPoEの仕組みを利用して、プロバイダが管理するDNSサーバとPPPoEセンターサーバが連携することで、ユーザに適切なドメイン名情報を通知することができるため、より低い導入コストでネットワーク接続環境を実現することができるという効果を有する。 As described above, in this embodiment, the DNS server managed by the provider and the PPPoE center server cooperate with each other using the PPPoE mechanism widely used for Internet connection, so that domain name information appropriate for the user can be obtained. Since the notification can be made, the network connection environment can be realized at a lower introduction cost.
以上のように構成された本実施の形態のパケット転送装置について、図2乃至図7を用いてその動作を説明する。 The operation of the packet transfer apparatus of the present embodiment configured as described above will be described with reference to FIGS.
図5は、図2のゲートウェイ装置22のドメイン情報取得時の動作の一例を示すフロー図である。まず、ゲートウェイ装置22のコネクション確立部41により、各プロバイダとの間に論理コネクションがそれぞれ確立される(ステップS1)。たとえば、図1では、プロバイダAおよびプロバイダBとの間にPPPoEセッションAおよびPPPoEセッションBがそれぞれ確立されている。
FIG. 5 is a flowchart showing an example of the operation of the
次いで、ゲートウェイ装置22のコネクション確立部41により、図4に示したPPPoEセッション接続制御プロトコルであるIPCPプロトコル付加情報51に含まれるDNSサーバ32a、32bの管理するドメイン名情報48がキャリアネットワーク25のPPPoEサーバ26から取得される(ステップS2)。
Next, the
次いで、取得したドメイン名情報48に含まれるドメイン名56と、DNSサーバIPアドレス57と、宛先論理コネクション59とが関連付けられて図3に示す記憶装置43の対応テーブルに記憶される(ステップS3)。
Next, the
以上のようにして、ゲートウェイ装置22において、ドメイン名情報48がPPPoEサーバ26から取得され、ドメイン名56、DNSサーバIPアドレス57、および宛先論理コネクション59を関連付けた対応テーブルが記憶装置43に記憶される。
As described above, in the
図6は、図2のゲートウェイ装置22のDNSクエリー40転送時の動作の一例を示すフロー図である。ゲートウェイ装置22において、中継部45により、DNSクエリー40がユーザ端末23a、23bから受信されると(ステップS11:YES)、中継部45により、DNSクエリー40に含まれる問い合わせ先ドメイン名56に基づいて、記憶装置43に記憶された対応テーブルが参照され、該当するドメイン名56が検索される(ステップS12)。
FIG. 6 is a flowchart showing an example of the operation of the
該当するドメイン名56が見つかった場合(ステップS12:YES)、中継部45により、該当するDNSサーバIPアドレス57と宛先論理コネクション59が選択される(ステップS13)。一方、該当するドメイン名56が見つからなかった場合(ステップS12:NO)、中継部45により、デフォルトに設定されているDNSサーバIPアドレス57と宛先論理コネクション59が選択される(ステップS14)。
When the
ここでは、DNSクエリー40に含まれる問い合わせ先ドメイン名56が「PPPoE.AAA.NE.JP」であったとすると、図3の記憶装置43の対応テーブルに基づいて、DNSサーバIPアドレス57として「100.100.100.100」が得られ、また、その宛先論理コネクションとして「PPPoEセッションA」が得られる。
Here, if the
図6に戻り、中継部45により、得られた宛先論理コネクション59を介してDNSサーバIPアドレス57宛にDNSクエリー40が転送される(ステップS15)。
Returning to FIG. 6, the
以上のようにして、ゲートウェイ装置22により、DNSクエリー40が所望のDNSサーバに転送される。
As described above, the
図7は、DNSサーバにおけるDNSクエリー40応答時の動作の一例を示すフロー図である。ここでは、図1のゲートウェイ装置22によりDNSサーバ32aに対してDNSクエリー40が転送された場合を想定して説明する。
FIG. 7 is a flowchart showing an example of the operation at the time of
図7に示すように、DNSサーバ32aにより、ゲートウェイ装置22から転送されたDNSクエリー40が受信されると(ステップS21:YES)、DNSサーバ32aにより、DNSクエリー40に含まれる問い合わせ先ドメイン名56がWEBサーバ33aのIPアドレスに変換される(ステップS22)。次いで、このIPアドレスを含むDNS応答パケット42がゲートウェイ装置22を介してユーザネットワーク21のユーザ端末23aに返信される(ステップS23)。
As shown in FIG. 7, when the
以上のようにして、ゲートウェイ装置22から転送されたDNSクエリー40を受け取ったDNSサーバ32aは、ユーザ端末23aにWEBサーバ33aのIPアドレスを含むDNS応答パケット42を返信することができ、これにより、ユーザ端末23aはIPアドレスを取得でき、所望のWEBサーバ33aにアクセスすることができることとなる。
As described above, the
以上のように本発明の第1の実施の形態のパケット転送装置によれば、複数の論理コネクション27a、27bをDNSサーバ32a、32bと確立し、DNSサーバ32a、32bとの接続制御プロトコルであるIPCPプロトコル付加情報51に含まれるDNSサーバ32a、32bのIPアドレスおよびDNSサーバ32a、32bが管理するドメイン名情報48を取得するコネクション確立部41と、コネクション確立部41により取得されたDNSサーバ32a、32bのIPアドレスと、ドメイン名情報48と、論理コネクション27a、27bとを関連付けて対応テーブルに記憶する記憶装置43と、ユーザ端末23a、23bからの問い合わせ先ドメイン名を含むDNSクエリー40を中継する中継部45とを備え、中継部45は、DNSクエリー40をユーザ端末から受信したとき、記憶装置43に記憶された対応テーブルを参照し、受信したDNSクエリー40の問い合わせ先ドメイン名に該当するドメイン名情報48を検索し、検索されたドメイン名情報48に対応するDNSサーバのIPアドレスと論理コネクションを選択し、選択された論理コネクションを介してDNSサーバのIPアドレス宛にDNSクエリー40を転送することにより、複数の論理コネクションの中から適切な問合せ先DNSサーバが存在する論理コネクションを選び出してパケットを転送することができ、確実にドメイン名解決を行うことができる。
As described above, according to the packet transfer apparatus of the first exemplary embodiment of the present invention, a plurality of
これにより、たとえば、ルートサーバがあるネットワーク(例えばインターネット網)とは切り離されたネットワーク内のWEBサーバ(図1ではプロバイダBのネットワーク31b内のWEBサーバ33b)宛のDNSクエリー40とインターネット38上のWEBサーバ(図1ではプロバイダAのネットワーク31a内のWEBサーバ33a)宛のDNSクエリー40が混在しても、それらのパケットを適切に振り分けることができる。
Thereby, for example, the
以上説明したように、本実施の形態のパケット転送装置によれば、ドメイン名を解決しうる適切なDNSサーバ宛にドメイン名解決要求パケットを転送することができ、効率の良いネットワーク接続環境を実現できる。
(第2の実施の形態)
次に、本発明の第2の実施の形態のパケット転送装置を含むネットワーク構成の一例を図8に示す。これは図1に示した上記第1の実施の形態とは、ゲートウェイ装置60が企業ネットワーク61にあるIKE接続制御装置63を介して、複数の事業場のネットワークとの間で複数の論理コネクション65a、65bを確立することができる点が相違している。なお、上記第1の実施の形態と同様な構成には同様な符号を付し、詳細な説明は省略する。
As described above, according to the packet transfer apparatus of this embodiment, it is possible to transfer a domain name resolution request packet to an appropriate DNS server that can resolve a domain name, thereby realizing an efficient network connection environment. it can.
(Second Embodiment)
Next, FIG. 8 shows an example of a network configuration including the packet transfer apparatus according to the second embodiment of the present invention. This is different from the first embodiment shown in FIG. 1 in that the
図8において、本実施の形態のパケット転送装置は、ゲートウェイ装置60に含まれる。本実施の形態において、複数の事業上のネットワークとの間で確立される複数の論理コネクション65a、65bは、IPsecコネクションである。
In FIG. 8, the packet transfer apparatus according to the present embodiment is included in the
図8では、事業場Aのネットワーク71aおよび事業場Bのネットワーク71bの2つの事業場のネットワークに対して、それぞれIPsecコネクションAおよびIPsecコネクションBの2つの論理コネクションを確立している。本実施の形態において、ゲートウェイ装置60が論理コネクションを確立している事業場のネットワークは2つであるが、これに限定されるものではなく、複数のネットワークとの間に複数の論理コネクションを同時に確立することができる。
In FIG. 8, two logical connections, that is, an IPsec connection A and an IPsec connection B, are established with respect to the two business site networks, that is, the business
事業場Aのネットワーク71a内には、事業場Aが独自に構築したDNSサーバ72aおよびWEBサーバ73aが配置され、事業場Aのネットワーク71aは事業場Cのネットワーク78に接続されている。事業場Bのネットワーク71b内には、事業場Bが独自に構築したDNSサーバ72bおよびWEBサーバ73bが配置され、事業場Bのネットワーク71bは事業場Cのネットワーク78に接続されている。
A
本実施の形態において、ゲートウェイ装置60は図2に示された上記実施の形態のゲートウェイ装置22と同様の構成を有するが、コネクション確立部41が複数のDNSサーバ32a、32bと複数のPPPoEセッション27a、27bをそれぞれ確立する代わりに、複数のDNSサーバ72a、72bと複数のIPsecコネクション65a、65bをそれぞれ確立する。
In the present embodiment, the
また、コネクション確立部41は、DNSサーバ72a、72bとIPsecコネクション65a、65bが確立されたとき、DNSサーバ72a、72bとの接続制御プロトコルの付加情報にそれぞれ含まれるドメイン名情報48を取得する。本実施の形態において、DNSサーバとの接続制御プロトコルは、IKE(Internet Key Exchange)のISAKMP(Internet Security Association and Key Management Protocol)である。ゲートウェイ装置60は、IPsecコネクション接続制御プロトコルにより、暗号化に必要な情報と、各事業場が独自に管理しているWEBサーバ73a、73bが配置されるドメイン名の情報も付加情報としてIKE接続制御装置63から受け取る。
In addition, when the
図9は、本実施の形態のゲートウェイ装置60のIKE(ISAKMP)プロトコル付加情報のデータ構造の一例を示す図である。IKEプロトコル付加情報81は、次ヘッダ82と、予約83と、ペイロード長84と、その後に続く実際の情報が格納されるペイロード85とを含む。ISAKMPでは、13種類のペイロード85を定義しているが、本実施の形態において、新たにドメイン名情報48を通知するためのペイロード85を定義する。図9に示すように、ペイロード85にドメイン名情報48が格納される。
FIG. 9 is a diagram illustrating an example of the data structure of the IKE (ISAKMP) protocol additional information of the
このように、本実施の形態において、企業間でセキュアな通信路を確保するために構築されるIPsecの仕組みを利用して、企業内の各拠点が管理しているDNSサーバとIKE接続制御装置が連携することで、ユーザに適切なドメイン名を通知することができるため、より効率的に社内ネットワーク接続環境を実現することができるという効果を有する。 As described above, in this embodiment, the DNS server and the IKE connection control device managed by each site in the company using the IPsec mechanism constructed to secure the secure communication path between the companies. By cooperating with each other, it is possible to notify the user of an appropriate domain name, so that an in-house network connection environment can be realized more efficiently.
以上のように構成された本実施の形態のパケット転送装置について、動作を説明する。なお、本実施の形態のパケット転送装置の動作は上記第1の実施の形態の図5乃至図7に示した動作と同様である。 The operation of the packet transfer apparatus of the present embodiment configured as described above will be described. The operation of the packet transfer apparatus according to this embodiment is the same as that shown in FIGS. 5 to 7 of the first embodiment.
本実施の形態のゲートウェイ装置60におけるドメイン情報取得時の動作について、図5を用いて説明する。まず、ゲートウェイ装置60のコネクション確立部41により、各事業場との間に論理コネクション65a、65bがそれぞれ確立される(ステップS1)。たとえば、図8では、事業場Aおよび事業場Bとの間にIPsecコネクションAおよびIPsecコネクションBがそれぞれ確立されている。
The operation at the time of domain information acquisition in the
次いで、ゲートウェイ装置60のコネクション確立部41は、図9に示したIPsecコネクション接続制御プロトコルであるIKEプロトコル付加情報81からDNSサーバ72a、72bが管理するドメイン名情報48が企業ネットワーク61のIKE接続制御装置63から取得される(ステップS2)。
Next, the
次いで、取得したドメイン名情報48に含まれるドメイン名56と、DNSサーバIPアドレス57と、宛先論理コネクション59とが対応付けられて記憶装置43の対応テーブルに記憶される(ステップS3)。ここで、記憶装置43の対応テーブルは、上記第1の実施の形態と同様である。
Next, the
以上のようにして、ゲートウェイ装置60において、ドメイン名情報48がIKE接続制御装置63から取得され、ドメイン名56、DNSサーバIPアドレス57、および宛先論理コネクション59を関連付けた対応テーブルが記憶装置43に記憶される。
As described above, in the
次に、ゲートウェイ装置60のDNSクエリー40転送時の動作について、図6を用いて説明する。ゲートウェイ装置60において、中継部45により、DNSクエリー40がユーザ端末23a、23bから受信されると(ステップS11:YES)、中継部45により、DNSクエリー40に含まれる問い合わせ先ドメイン名56に基づいて、記憶装置43に記憶された対応テーブルが参照され、該当するドメイン名56が検索される(ステップS12)。
Next, the operation of the
該当するドメイン名56が見つかった場合(ステップS12:YES)、中継部45により、該当するDNSサーバIPアドレス57と宛先論理コネクション59が選択される(ステップS13)。一方、該当するドメイン名56が見つからなかった場合(ステップS12:NO)、中継部45により、デフォルトに設定されているDNSサーバIPアドレス57と宛先論理コネクション59が選択される(ステップS14)。
When the
次いで、中継部45により、得られた宛先論理コネクション59を介してDNSサーバIPアドレス57宛にDNSクエリー40が転送される(ステップS15)。
Next, the
以上のようにして、ゲートウェイ装置60により、DNSクエリー40が所望のDNSサーバに転送される。
As described above, the
次に、DNSサーバにおけるDNSクエリー40応答時の動作について、図7を用いて説明する。ここでは、図8のゲートウェイ装置60によりDNSサーバ72bに対してDNSクエリー40が転送された場合を想定して説明する。
Next, the operation at the time of
DNSサーバ72bにより、ゲートウェイ装置60から転送されたDNSクエリー40が受信されると(ステップS21:YES)、DNSサーバ72bにより、DNSクエリー40に含まれる問い合わせ先ドメイン名56がWEBサーバ73bのIPアドレスに変換される(ステップS22)。次いで、このIPアドレスを含むDNS応答パケット42がゲートウェイ装置60を介してユーザネットワーク21のユーザ端末23aに返信される(ステップS23)。
When the DNS query 72 transferred from the
以上のようにして、ゲートウェイ装置60から転送されたDNSクエリー40を受け取ったDNSサーバ72bは、ユーザ端末23aにWEBサーバ73bのIPアドレスを含むDNS応答パケット42を返信することができ、これによりユーザ端末23aはIPアドレスを取得し、所望のWEBサーバ73bにアクセスすることができることとなる。
As described above, the
以上のように本発明の第2の実施の形態のパケット転送装置によれば、複数の論理コネクション65a、65bをDNSサーバ72a、72bと確立し、DNSサーバ72a、72bとの接続制御プロトコルであるIKEプロトコル付加情報81に含まれるDNSサーバ72a、72bのIPアドレスおよびDNSサーバ72a、72bが管理するドメイン名情報48を取得するコネクション確立部41と、コネクション確立部41により取得されたDNSサーバ72a、72bのIPアドレスと、ドメイン名情報48と、論理コネクション65a、65bとを関連付けて対応テーブルに記憶する記憶装置43と、ユーザ端末23a、23bからの問い合わせ先ドメイン名を含むDNSクエリー40を中継する中継部45とを備え、中継部45は、DNSクエリー40をユーザ端末から受信したとき、記憶装置43に記憶された対応テーブルを参照し、受信したDNSクエリー40の問い合わせ先ドメイン名に該当するドメイン名情報48を検索し、検索されたドメイン名情報48に対応するDNSサーバのIPアドレスと論理コネクションを選択し、選択された論理コネクションを介してDNSサーバのIPアドレス宛にDNSクエリー40を転送することにより、複数の論理コネクションの中から適切な問合せ先DNSサーバが存在する論理コネクションを選び出してパケットを転送することができ、企業内での各拠点ネットワークを同時に接続するパケット転送装置などでも確実にドメイン名解決を行うことができる。
As described above, according to the packet transfer apparatus of the second exemplary embodiment of the present invention, a plurality of
なお、以上の説明では、本発明のパケット転送装置をゲートウェイ装置として構成した例について説明したが、パケットを転送する他の装置、たとえば、ブロードバンドルータ、VPN(Virtual Private Network)ルータ、モデム、ソフトウェアルータとして動作するパーソナルコンピュータなどについても同様に実施可能である。 In the above description, an example in which the packet transfer device of the present invention is configured as a gateway device has been described. However, other devices that transfer packets, such as broadband routers, VPN (Virtual Private Network) routers, modems, software routers, etc. The same can be applied to a personal computer or the like that operates as follows.
以上、本発明を実施の形態に基づいて説明した。この実施例はあくまで例示であり、種々の変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。 The present invention has been described based on the embodiments. It is to be understood by those skilled in the art that this embodiment is merely an example, and that various modifications are possible and that such modifications are within the scope of the present invention.
本発明は、当業者に明らかなように、上記実施の形態に記載した技術にしたがってプログラムされた一般的な市販のデジタルコンピュータおよびマイクロプロセッサを使って実施することができる。また、当業者に明らかなように、本発明は上記実施の形態に記載した技術に基づいて当業者により作成されるコンピュータプログラムを包含する。また、本発明を実施するコンピュータをプログラムするために使用する命令を含む記憶媒体であるコンピュータプログラム製品が本発明の範囲に含まれる。 As will be apparent to those skilled in the art, the present invention can be implemented using a typical commercially available digital computer and microprocessor programmed according to the techniques described in the above embodiments. Further, as will be apparent to those skilled in the art, the present invention includes a computer program created by a person skilled in the art based on the technique described in the above embodiment. Also included in the scope of the invention are computer program products that are storage media containing instructions used to program a computer implementing the invention.
以上のように、本発明にかかるパケット転送装置は、ドメイン名を解決しうる適切なDNSサーバ宛にドメイン名解決要求パケットを転送することができ、効率の良いネットワーク接続環境を実現できるという効果を有し、クライアントからのドメイン名解決要求パケットをDNSサーバに転送するパケット転送装置等として有用である。 As described above, the packet transfer apparatus according to the present invention can transfer a domain name resolution request packet to an appropriate DNS server that can resolve a domain name, and can realize an efficient network connection environment. And is useful as a packet transfer device that transfers a domain name resolution request packet from a client to a DNS server.
21 ユーザネットワーク
22 ゲートウェイ装置(パケット転送装置)
23a、23b ユーザ端末
25 キャリアネットワーク
26 PPPoEサーバ
27a、27b PPPoEセッション(論理コネクション)
31a プロバイダAのネットワーク
31b プロバイダBのネットワーク
32a、32b DNSサーバ(ドメインネームサーバ)
33a、33b WEBサーバ
38 インターネット
40 DNSクエリー(ドメイン名解決要求パケット)
41 コネクション確立部(コネクション確立手段、取得手段)
42 DNS応答パケット
43 記憶装置(記憶手段)
45 中継部(中継手段)
48 ドメイン名情報
51 IPCPプロトコル付加情報
56 ドメイン名
57 DNSサーバIPアドレス
59 宛先論理コネクション
60 ゲートウェイ装置(パケット転送装置)
61 企業ネットワーク
63 IKE接続制御装置
65a、65b IPsecコネクション(論理コネクション)
71a 事業場Aのネットワーク
71b 事業場Bのネットワーク
72a、72b DNSサーバ(ドメインネームサーバ)
73a、73b WEBサーバ
78 事業場Cのネットワーク
81 IKEプロトコル付加情報
21
23a,
31a
33a,
41 Connection establishment unit (connection establishment means, acquisition means)
42
45 Relay section (relay means)
48 Domain Name Information 51 IPCP Protocol
61 Corporate network 63
71a Network of business site A 71b Network of
73a,
Claims (5)
前記コネクション確立手段によりドメインネームサーバと前記論理コネクションを確立し、前記ドメインネームサーバとの接続制御プロトコルの付加情報に含まれる前記ドメインネームサーバのIPアドレスおよび前記ドメインネームサーバが管理するドメイン名情報を取得する取得手段と、
前記取得手段により取得された前記ドメインネームサーバの前記IPアドレス、前記ドメイン名情報、および前記論理コネクションを関連付けて対応テーブルに記憶する記憶手段と、
ユーザ端末からの問い合わせ先ドメイン名を含むドメイン名解決要求パケットを中継する中継手段とを備え、
前記中継手段は、前記ドメイン名解決要求パケットを前記ユーザ端末から受信したとき、前記記憶手段に記憶された前記対応テーブルを参照し、前記受信した前記ドメイン名解決要求パケットの前記問い合わせ先ドメイン名に該当する前記ドメイン名情報を検索し、前記検索されたドメイン名情報に対応する前記ドメインネームサーバの前記IPアドレスと前記論理コネクションを選択し、前記選択された論理コネクションを介して前記ドメインネームサーバの前記IPアドレス宛に前記ドメイン名解決要求パケットを転送することを特徴とするパケット転送装置。 A connection establishment means for establishing a plurality of logical connections;
The logical connection is established with a domain name server by the connection establishing means, and the IP address of the domain name server and the domain name information managed by the domain name server are included in the additional information of the connection control protocol with the domain name server. Acquisition means for acquiring;
Storage means for associating and storing the IP address of the domain name server acquired by the acquisition means, the domain name information, and the logical connection in a correspondence table;
A relay means for relaying a domain name resolution request packet including an inquiry destination domain name from a user terminal,
When the relay means receives the domain name resolution request packet from the user terminal, the relay means refers to the correspondence table stored in the storage means, and sets the inquiry destination domain name in the received domain name resolution request packet. The corresponding domain name information is searched, the IP address and the logical connection of the domain name server corresponding to the searched domain name information are selected, and the domain name server of the domain name server is selected through the selected logical connection. A packet transfer apparatus for transferring the domain name resolution request packet to the IP address.
前記中継手段は、前記ユーザ端末から前記ドメイン名解決要求パケットを受信し、前記記憶手段に記憶された前記対応テーブルを検索したとき、前記問合せ先ドメイン名に該当する前記ドメイン名情報が前記対応テーブルに含まれない場合、前記デフォルトの前記ドメインネームサーバの前記IPアドレスと前記論理コネクションを選択することを特徴とする請求項1に記載のパケット転送装置。 The storage means stores in advance in the correspondence table the IP address and the logical connection of the default domain name server used when the domain name resolution request not corresponding to the stored domain name information is received. ,
When the relay means receives the domain name resolution request packet from the user terminal and searches the correspondence table stored in the storage means, the domain name information corresponding to the inquired domain name is the correspondence table. 2. The packet transfer apparatus according to claim 1, wherein the IP address and the logical connection of the default domain name server are selected when the IP address is not included in the domain name server.
前記コネクション確立ステップで、ドメインネームサーバと前記論理コネクションが確立されたとき、前記ドメインネームサーバとの接続制御プロトコルの付加情報に含まれる前記ドメインネームサーバのIPアドレスおよび前記ドメインネームサーバが管理するドメイン名情報を取得する取得ステップと、
前記取得ステップで取得された前記ドメインネームサーバの前記IPアドレス、前記ドメイン名情報、および前記論理コネクションを関連づけて対応テーブルに記憶する記憶ステップと、
問い合わせ先ドメイン名を含むドメイン名解決要求パケットをユーザ端末から受信する受信ステップと、
前記受信ステップで、前記ドメイン名解決要求パケットを前記ユーザ端末から受信したとき、前記記憶ステップで記憶された前記対応テーブルを参照し、前記受信ステップで受信した前記ドメイン名解決要求パケットの前記問い合わせ先ドメイン名に該当する前記ドメイン名情報を検索する検索ステップと、
前記検索ステップで検索されたドメイン名情報に対応する前記ドメインネームサーバの前記IPアドレスと前記論理コネクションを選択する選択ステップと、
前記選択ステップで選択された論理コネクションを介して前記ドメインネームサーバの前記IPアドレス宛に前記ドメイン名解決要求パケットを転送する転送ステップとを含むことを特徴とするパケット転送方法。 A connection establishment step for establishing a plurality of logical connections;
When the logical connection is established with the domain name server in the connection establishing step, the IP address of the domain name server included in the additional information of the connection control protocol with the domain name server and the domain managed by the domain name server An acquisition step for acquiring name information;
A storage step of associating and storing the IP address of the domain name server acquired in the acquisition step, the domain name information, and the logical connection in a correspondence table;
A receiving step of receiving from the user terminal a domain name resolution request packet including the inquired domain name;
When receiving the domain name resolution request packet from the user terminal in the receiving step, refer to the correspondence table stored in the storing step and refer to the inquiry destination of the domain name resolution request packet received in the receiving step A search step of searching for the domain name information corresponding to a domain name;
A selection step of selecting the IP address and the logical connection of the domain name server corresponding to the domain name information searched in the search step;
And a forwarding step of forwarding the domain name resolution request packet to the IP address of the domain name server via the logical connection selected in the selection step.
前記検索ステップで前記記憶手段に記憶された前記対応テーブルを検索したとき、前記問合せ先ドメイン名に該当する前記ドメイン名情報が前記対応テーブルに含まれない場合、前記デフォルトの前記ドメインネームサーバの前記IPアドレスと前記論理コネクションを選択するステップと、をさらに含むことを特徴とする請求項3に記載のパケット転送方法。 Storing in advance in the correspondence table the IP address and the logical connection of the default domain name server used when the domain name resolution request not corresponding to the stored domain name is received;
When searching the correspondence table stored in the storage means in the search step, if the domain name information corresponding to the query domain name is not included in the correspondence table, the default of the domain name server The packet transfer method according to claim 3, further comprising selecting an IP address and the logical connection.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003418303A JP2005184110A (en) | 2003-12-16 | 2003-12-16 | Packet transfer apparatus and packet transfer method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003418303A JP2005184110A (en) | 2003-12-16 | 2003-12-16 | Packet transfer apparatus and packet transfer method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2005184110A true JP2005184110A (en) | 2005-07-07 |
Family
ID=34780549
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003418303A Pending JP2005184110A (en) | 2003-12-16 | 2003-12-16 | Packet transfer apparatus and packet transfer method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2005184110A (en) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007189540A (en) * | 2006-01-13 | 2007-07-26 | Nippon Telegr & Teleph Corp <Ntt> | DNS server selection device, DNS server selection method, DNS server selection program, and name resolution system |
| JP2011135417A (en) * | 2009-12-25 | 2011-07-07 | Nec Corp | Base station device, method of controlling base station, and program |
| JP2012109837A (en) * | 2010-11-18 | 2012-06-07 | Sumitomo Electric Ind Ltd | Network connection apparatus, address information management apparatus, network system, network connection method and network connection program |
| WO2014068373A1 (en) * | 2012-11-05 | 2014-05-08 | Pismo Labs Technology Ltd. | Methods and gateways for processing dns request |
| US10142282B2 (en) | 2012-11-05 | 2018-11-27 | Pismo Labs Technology Limited | Methods and gateways for processing DNS request |
| US10454879B2 (en) | 2014-04-22 | 2019-10-22 | Pismo Labs Technology Limited | Methods and systems for processing a DNS request |
| JP2020136827A (en) * | 2019-02-15 | 2020-08-31 | 株式会社リコー | Information processing system, setting management server, and setting management method |
| JP2020198653A (en) * | 2018-09-20 | 2020-12-10 | エヌ・ティ・ティ・コミュニケーションズ株式会社 | Control device, control method, and program |
| JP2021145219A (en) * | 2020-03-11 | 2021-09-24 | 日本電気株式会社 | Communication device, communication system, communication method, and communication program |
-
2003
- 2003-12-16 JP JP2003418303A patent/JP2005184110A/en active Pending
Cited By (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007189540A (en) * | 2006-01-13 | 2007-07-26 | Nippon Telegr & Teleph Corp <Ntt> | DNS server selection device, DNS server selection method, DNS server selection program, and name resolution system |
| JP2011135417A (en) * | 2009-12-25 | 2011-07-07 | Nec Corp | Base station device, method of controlling base station, and program |
| JP2012109837A (en) * | 2010-11-18 | 2012-06-07 | Sumitomo Electric Ind Ltd | Network connection apparatus, address information management apparatus, network system, network connection method and network connection program |
| US9654439B2 (en) | 2012-11-05 | 2017-05-16 | Pismo Labs Technology Limited | Methods and gateways for processing DNS request |
| GB2513796A (en) * | 2012-11-05 | 2014-11-05 | Pismo Labs Technology Ltd | Methods and gateways for processing DNS request |
| CN104969515A (en) * | 2012-11-05 | 2015-10-07 | 柏思科技有限公司 | Methods and gateways for handling DNS requests |
| WO2014068373A1 (en) * | 2012-11-05 | 2014-05-08 | Pismo Labs Technology Ltd. | Methods and gateways for processing dns request |
| CN104969515B (en) * | 2012-11-05 | 2018-04-27 | 柏思科技有限公司 | Method and gateway for processing DNS request |
| US10142282B2 (en) | 2012-11-05 | 2018-11-27 | Pismo Labs Technology Limited | Methods and gateways for processing DNS request |
| GB2513796B (en) * | 2012-11-05 | 2020-06-17 | Pismo Labs Technology Ltd | Methods and gateways for processing DNS request |
| US10454879B2 (en) | 2014-04-22 | 2019-10-22 | Pismo Labs Technology Limited | Methods and systems for processing a DNS request |
| JP2020198653A (en) * | 2018-09-20 | 2020-12-10 | エヌ・ティ・ティ・コミュニケーションズ株式会社 | Control device, control method, and program |
| JP2020136827A (en) * | 2019-02-15 | 2020-08-31 | 株式会社リコー | Information processing system, setting management server, and setting management method |
| JP7206991B2 (en) | 2019-02-15 | 2023-01-18 | 株式会社リコー | Information processing system, relay device, and transfer method |
| JP2021145219A (en) * | 2020-03-11 | 2021-09-24 | 日本電気株式会社 | Communication device, communication system, communication method, and communication program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8499083B2 (en) | Relay device and communication system | |
| JP5301571B2 (en) | Method and system for providing connectivity between clients connected to the Internet | |
| JP4852502B2 (en) | Access server and connection restriction method | |
| US6591306B1 (en) | IP network access for portable devices | |
| JP4303600B2 (en) | Connection setting mechanism between networks with different address areas | |
| JP4435088B2 (en) | Network selection method in communication network, related network and computer program product therefor | |
| EP1234246B1 (en) | System and method for network access without reconfiguration | |
| US20050229243A1 (en) | Method and system for providing Web browsing through a firewall in a peer to peer network | |
| US9002923B2 (en) | Transparent web proxy | |
| US20020196793A1 (en) | End-user communication systems access network | |
| US8978126B2 (en) | Method and system for TCP turn operation behind a restrictive firewall | |
| JP2006180295A (en) | Address translation device and address translation method | |
| JP2003110596A (en) | Data communication service provision method | |
| JP2004120534A (en) | Router and relay device, forwarding method | |
| JP2005184110A (en) | Packet transfer apparatus and packet transfer method | |
| JP4600394B2 (en) | Network access router, network access method, program, and recording medium | |
| CA2884382C (en) | Method and system for tcp turn operation behind a restrictive firewall | |
| JP2002305531A (en) | Information processing unit, dns server system, information processing system and method, and information processing program | |
| US20100257274A1 (en) | Communication system, communication method, and shared-authentication apparatus | |
| JP3655575B2 (en) | Gateway device | |
| JP3864397B2 (en) | User edge router, gateway router, multihoming communication system, multihoming communication method, and multihoming communication program | |
| US20100268833A1 (en) | Communication system, communication method, and communication session centralizing apparatus | |
| JP6898120B2 (en) | Network system, network system address resolution method, and base-side connection device | |
| Crutcher et al. | Computer Networks and Distributed Systems | |
| Louati et al. | UPnP extension for wide-area service discovery using the INS/Twine Framework |