[go: up one dir, main page]

JP2005184110A - Packet transfer apparatus and packet transfer method - Google Patents

Packet transfer apparatus and packet transfer method Download PDF

Info

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
Application number
JP2003418303A
Other languages
Japanese (ja)
Inventor
Akihito Inoshita
明史 井ノ下
Ryuken Ishi
竜権 石
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2003418303A priority Critical patent/JP2005184110A/en
Publication of JP2005184110A publication Critical patent/JP2005184110A/en
Pending legal-status Critical Current

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を転送する。
【選択図】 図2
PROBLEM 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 conventional gateway device 2 is connected to user terminals 3 a and 3 b having web browsers for browsing web pages, and constitutes a user network 1.

ゲートウェイ装置2は、キャリアネットワーク5にあるPPPoEサーバ6を介して、プロバイダAとの間で論理コネクション7a、ここではPPPoEセッションAを確立している。図10では、ゲートウェイ装置2は、プロバイダAのネットワーク11aとの間のPPPoEセッションAのみを確立しており、プロバイダBのネットワーク11bとの間とは、論理コネクションを確立していない。   The gateway device 2 establishes a logical connection 7 a, here a PPPoE session A, with the provider A via the PPPoE server 6 in the carrier network 5. In FIG. 10, the gateway apparatus 2 has established only the PPPoE session A with the network 11a of the provider A, and has not established a logical connection with the network 11b of the provider B.

プロバイダ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 network 11 a, a DNS server 12 a and a WEB server 13 a independently constructed by the provider A are arranged, and the provider A network 11 a is connected to the Internet 18. In the provider B network 11 b, a DNS server 12 b and a WEB server 13 b that are independently constructed by the provider B are arranged, and the provider B network 11 b is connected to the Internet 18. That is, the provider A network 11 a and the provider B network 11 b are connected to each other via the Internet 18.

ゲートウェイ装置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 DNS query 20 that can be managed by the gateway device 2. Here, only the DNS server 12 a that is managed by the provider A, and the DNS server 12 b that is managed by the provider B cannot be managed. .

図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 user terminal 3a accesses the WEB server 13b managed by the provider B is considered. The user is a member of provider A, and normally registers DNS server 12 a managed by provider A as an inquiry DNS server of gateway device 2. When the DNS query 20 from the user terminal 3a is transmitted to the gateway device 2, it is relayed to the DNS server 12a managed by the gateway device 2. Since the DNS server 12a basically knows only the information in the domain managed by itself and the DNS server name of the subdomain, the DNS server 12a has no information on the WEB server 13b in the zone information managed by the DNS server 12a. An inquiry is made to the other DNS server 12d and the highest DNS server (not shown) called a route server, and DNS resolution is performed to the end.

図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 network 11 a and the provider B network 11 b are connected via the Internet 18. Therefore, when accessing the WEB server 13b managed by the provider B from the user terminal 3a, the domain name inquiry is repeated until the DNS server 12b is finally reached. Then, the DNS server 12b resolves the domain name of the WEB server 13b, and a DNS response packet notifying the corresponding IP address is returned to the user terminal 3a. Thereby, the user terminal 3a can see the information of the WEB server 13b.

一方、近年ブロードバンドネットワークが普及し、映像などの大容量コンテンツをパソコンなどのネットワーク端末で視聴したいというユーザの要求が増えてきた。映像情報を持つパケットを映像受信端末に対して途切れることなく送るため、インターネットなど通信品質の保証もないネットワークとは切り離したプロバイダ独自の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 gateway apparatus 2 can establish a plurality of logical connections 7a and 7b (in FIG. 11, PPPoE session A and PPPoE session B) simultaneously with networks 11a and 11c of a plurality of providers (in FIG. 11, two providers A and C). Here, it is assumed that provider C constructs the above-described CDN. Since the CDN is a closed network separated from the Internet 18, the domain name of the WEB server 13c in the CDN of the provider C is managed only by the DNS server 12c in the CDN. Therefore, when accessing the WEB server 13c in the CDN managed by the provider C by using a domain name, the user terminals 3a and 3b as DNS clients can make a DNS query to the DNS server 12c in the CDN. 20 need to be transmitted.

しかし、従来の技術ではゲートウェイ装置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 gateway device 2 in the conventional technology, either the DNS server 12a of provider A or the DNS server 12c of provider C can be set as a DNS server that relays the DNS query 20. Only one of them.

たとえば、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 DNS server 12a of the provider A is set as a DNS server that relays the DNS query 20, even if an inquiry is made to the upper DNS server 12d, the DNS query 20 cannot be transferred to the DNS server 12c and the domain name cannot be resolved. When the gateway device 2 sets the DNS server 12c of the provider C as a DNS server that relays the DNS query 20, the domain name managed by the DNS server 12a or the DNS server 12d cannot be resolved.

特許文献1では、ドメイン名により問い合わせをするDNSサーバを適切に振り分けることで検索の効率を向上させる方法が提案されている。
特開2001−175561号公報
Patent Document 1 proposes a method for improving search efficiency by appropriately allocating DNS servers that make inquiries based on domain names.
JP 2001-175561 A

しかし、このような従来のパケット転送装置では、ドメイン名により問い合わせをする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 gateway apparatus 22 that enables connection between networks of different standards. The gateway device 22 is connected to a plurality of (two in FIG. 1) user terminals 23 a and 23 b having web browsers for browsing web pages, and constitutes a user network 21.

ゲートウェイ装置22は、キャリアネットワーク25にあるPPPoEサーバ26を介して、複数のプロバイダのネットワーク31a、31bとの間で複数の論理コネクション27a、27bをそれぞれ確立することができる。本実施の形態において、論理コネクション27a、27bは、PPPoEセッションである。   The gateway device 22 can establish a plurality of logical connections 27a and 27b with a plurality of providers' networks 31a and 31b via the PPPoE server 26 in the carrier network 25, respectively. In the present embodiment, the logical connections 27a and 27b are PPPoE sessions.

図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 provider A network 31a and a provider B network 31b, respectively. In the present embodiment, there are two provider networks with which the gateway device 22 has established logical connections. However, the present invention is not limited to this, and a plurality of logical connections are simultaneously made between a plurality of networks. Can be established.

プロバイダAのネットワーク31a内には、プロバイダAが独自に構築したDNSサーバ32aおよびWEBサーバ33aが配置され、プロバイダAのネットワーク31aはインターネット38に接続されている。   In the provider A network 31 a, a DNS server 32 a and a WEB server 33 a independently constructed by the provider A are arranged, and the provider A network 31 a is connected to the Internet 38.

プロバイダBのネットワーク31b内には、プロバイダBが独自に構築したDNSサーバ32bおよびWEBサーバ33bが配置され、プロバイダBのネットワーク31bはインターネット38とは接続されない閉域ネットワークを構成している。   In the network 31b of the provider B, a DNS server 32b and a WEB server 33b that are independently constructed by the provider B are arranged, and the network 31b of the provider B constitutes a closed network that is not connected to the Internet 38.

図2は、図1のゲートウェイ装置22の概略構成ブロック図である。   FIG. 2 is a block diagram of a schematic configuration of the gateway device 22 of FIG.

図2において、ゲートウェイ装置22は、複数の論理コネクション27a、27bを確立するコネクション確立部41と、ユーザネットワーク21内のユーザ端末からの問い合わせ先ドメイン名を含むドメイン名解決要求パケット(以後、「DNSクエリー」と呼ぶ。)40を中継する中継部45とを備える。   In FIG. 2, the gateway device 22 includes a connection establishment unit 41 that establishes a plurality of logical connections 27 a and 27 b, and a domain name resolution request packet (hereinafter referred to as “DNS”) including an inquiry domain name from a user terminal in the user network 21. It is called a “query”.) A relay unit 45 that relays 40 is provided.

コネクション確立部41は、図1で示した複数のプロバイダのネットワーク31a、31bに配置されるDNSサーバ32a、32bと、キャリアネットワーク25のPPPoEサーバ26を介して複数の論理コネクション27a、27b(ここでは、PPPoEセッションAおよびPPPoEセッションB)をそれぞれ確立する。   The connection establishment unit 41 includes a plurality of logical connections 27a and 27b (here, the DNS servers 32a and 32b arranged in the networks 31a and 31b of the plurality of providers shown in FIG. 1 and the PPPoE server 26 of the carrier network 25). , PPPoE session A and PPPoE session B) are established respectively.

コネクション確立部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 DNS servers 32a and 32b and the PPPoE sessions A and B are established, the connection establishment unit 41 uses the domain name information 48 included in the additional information 51 of the connection control protocol with the DNS servers 32a and 32b, respectively, in the carrier network 25. Obtained from the PPPoE server 26. In this embodiment, the connection control protocol with the DNS server is IPCP (Internet Protocol Control Protocol) defined by RFC1332. Hereinafter, the connection control protocol additional information 51 is referred to as IPCP protocol additional information 51. Details of the acquisition of the domain name information 48 will be described later.

ゲートウェイ装置22は、さらにコネクション確立部41により取得されたDNSサーバ32a、32bのドメイン名情報48と、それぞれ対応する宛先論理コネクションとを関連づけて対応テーブルに記憶する記憶装置43を含む。   The gateway device 22 further includes a storage device 43 that associates the domain name information 48 of the DNS servers 32a and 32b acquired by the connection establishment unit 41 with the corresponding destination logical connection and stores them in the correspondence table.

図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 storage device 43. As shown in FIG. 3, in the correspondence table, a plurality of domain names 56, an IP address 57 of a destination DNS server corresponding to the destination of the domain name 56, and a destination logical connection 59 are associated. For example, if the domain name 56 is “PPPoE.AAA.NE.JP” in the first row L1 of the correspondence table, the IP address 57 “100.100.100.100” of the DNS server 32a that is the destination DNS server. ”And“ PPPoE session A ”indicating the destination logical connection of the destination DNS server.

また、対応テーブルの最終行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 corresponding domain name 56 does not exist in the correspondence table, the IP address 57 “000.000.000.100” of the destination DNS server used as a default is used. ”And the destination logical connection 59“ PPPPE session X ”can be stored in the correspondence table. In this way, when the domain name 56 included in the DNS query 40 received from the user terminals 23a and 23b does not exist in the correspondence table stored in the storage device 43, the destination logical connection set as default is set. The DNS query 40 can be forwarded to the destination DNS server IP address 57 set as a default via 59.

これにより、DNSクエリー40が転送されずに廃棄されることがなくなるため、パケットの再送を繰り返したり、ユーザ端末23a、23bからのドメイン名解決が行えず、ブラウザなどに情報が表示されなかったりするという不具合を減らすことができ、Web情報へのアクセスが快適に行え、効率の良いネットワーク接続環境を実現できる。   As a result, the DNS query 40 is not transferred and discarded, so that retransmission of the packet is repeated, domain name resolution from the user terminals 23a and 23b cannot be performed, and information is not displayed on the browser or the like. Can be reduced, the Web information can be accessed comfortably, and an efficient network connection environment can be realized.

図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 gateway device 22 of FIG. 2 when the logical connection is established. The IPCP protocol additional information 51 is preceded by a type 52 (shown as “Type” in the figure) indicating the type of the information (for example, IP address), and then a packet length 53 (“Length” in the figure). Followed by a payload 54 where the actual information is stored.

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 DNS servers 32a and 32b include, for example, the domain name information 48 managed by the DNS server 32a and 32b and store it in the payload 54 of the IPCP protocol additional information 51 shown in FIG. The domain name 56 to be notified can be notified. The gateway device 22 receives the IPCP protocol additional information 51, extracts the domain name information 48 stored in the payload 54, and acquires the domain name 56 included in the domain name information 48 and the IP address 57 of the destination DNS server (hereinafter referred to as the DNS information). , Called “DNS server IP address 57”) and the destination logical connection 59 are stored in the correspondence table of the storage device 43 in FIG.

このように、本実施の形態において、インターネット接続に広く使われている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 gateway device 22 of FIG. 2 when acquiring domain information. First, the connection establishment unit 41 of the gateway device 22 establishes a logical connection with each provider (step S1). For example, in FIG. 1, PPPoE session A and PPPoE session B are established between provider A and provider B, respectively.

次いで、ゲートウェイ装置22のコネクション確立部41により、図4に示したPPPoEセッション接続制御プロトコルであるIPCPプロトコル付加情報51に含まれるDNSサーバ32a、32bの管理するドメイン名情報48がキャリアネットワーク25のPPPoEサーバ26から取得される(ステップS2)。   Next, the domain name information 48 managed by the DNS servers 32a and 32b included in the IPCP protocol additional information 51, which is the PPPoE session connection control protocol shown in FIG. Obtained from the server 26 (step S2).

次いで、取得したドメイン名情報48に含まれるドメイン名56と、DNSサーバIPアドレス57と、宛先論理コネクション59とが関連付けられて図3に示す記憶装置43の対応テーブルに記憶される(ステップS3)。   Next, the domain name 56, DNS server IP address 57, and destination logical connection 59 included in the acquired domain name information 48 are associated and stored in the correspondence table of the storage device 43 shown in FIG. 3 (step S3). .

以上のようにして、ゲートウェイ装置22において、ドメイン名情報48がPPPoEサーバ26から取得され、ドメイン名56、DNSサーバIPアドレス57、および宛先論理コネクション59を関連付けた対応テーブルが記憶装置43に記憶される。   As described above, in the gateway device 22, the domain name information 48 is acquired from the PPPoE server 26, and a correspondence table in which the domain name 56, the DNS server IP address 57, and the destination logical connection 59 are associated is stored in the storage device 43. 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 gateway device 22 of FIG. 2 when the DNS query 40 is transferred. In the gateway device 22, when the DNS query 40 is received from the user terminals 23 a and 23 b by the relay unit 45 (step S 11: YES), the relay unit 45 uses the inquiry domain name 56 included in the DNS query 40. Then, the corresponding table stored in the storage device 43 is referred to and the corresponding domain name 56 is searched (step S12).

該当するドメイン名56が見つかった場合(ステップS12:YES)、中継部45により、該当するDNSサーバIPアドレス57と宛先論理コネクション59が選択される(ステップS13)。一方、該当するドメイン名56が見つからなかった場合(ステップS12:NO)、中継部45により、デフォルトに設定されているDNSサーバIPアドレス57と宛先論理コネクション59が選択される(ステップS14)。   When the corresponding domain name 56 is found (step S12: YES), the corresponding DNS server IP address 57 and the destination logical connection 59 are selected by the relay unit 45 (step S13). On the other hand, when the corresponding domain name 56 is not found (step S12: NO), the DNS server IP address 57 and the destination logical connection 59 set as default are selected by the relay unit 45 (step S14).

ここでは、DNSクエリー40に含まれる問い合わせ先ドメイン名56が「PPPoE.AAA.NE.JP」であったとすると、図3の記憶装置43の対応テーブルに基づいて、DNSサーバIPアドレス57として「100.100.100.100」が得られ、また、その宛先論理コネクションとして「PPPoEセッションA」が得られる。   Here, if the inquiry domain name 56 included in the DNS query 40 is “PPPoE.AAA.NE.JP”, “100” is set as the DNS server IP address 57 based on the correspondence table of the storage device 43 in FIG. .100.100.100 "and" PPPoE session A "is obtained as its destination logical connection.

図6に戻り、中継部45により、得られた宛先論理コネクション59を介してDNSサーバIPアドレス57宛にDNSクエリー40が転送される(ステップS15)。   Returning to FIG. 6, the DNS query 40 is forwarded to the DNS server IP address 57 via the destination logical connection 59 obtained by the relay unit 45 (step S <b> 15).

以上のようにして、ゲートウェイ装置22により、DNSクエリー40が所望のDNSサーバに転送される。   As described above, the DNS query 40 is transferred to the desired DNS server by the gateway device 22.

図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 DNS query 40 response in the DNS server. Here, the case where the DNS query 40 is transferred to the DNS server 32a by the gateway device 22 in FIG. 1 will be described.

図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 DNS query 40 transferred from the gateway device 22 is received by the DNS server 32a (step S21: YES), the query server domain name 56 included in the DNS query 40 is received by the DNS server 32a. Is converted into the IP address of the WEB server 33a (step S22). Next, a DNS response packet 42 including this IP address is returned to the user terminal 23a of the user network 21 via the gateway device 22 (step S23).

以上のようにして、ゲートウェイ装置22から転送されたDNSクエリー40を受け取ったDNSサーバ32aは、ユーザ端末23aにWEBサーバ33aのIPアドレスを含むDNS応答パケット42を返信することができ、これにより、ユーザ端末23aはIPアドレスを取得でき、所望のWEBサーバ33aにアクセスすることができることとなる。   As described above, the DNS server 32a that has received the DNS query 40 transferred from the gateway device 22 can return the DNS response packet 42 including the IP address of the WEB server 33a to the user terminal 23a. The user terminal 23a can acquire an IP address and can access a desired WEB server 33a.

以上のように本発明の第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 logical connections 27a and 27b are established with the DNS servers 32a and 32b, and are connection control protocols with the DNS servers 32a and 32b. A connection establishment unit 41 for obtaining the IP addresses of the DNS servers 32a and 32b included in the IPCP protocol additional information 51 and the domain name information 48 managed by the DNS servers 32a and 32b, and the DNS server 32a obtained by the connection establishment unit 41, The storage device 43 that associates the IP address of 32b, the domain name information 48, and the logical connections 27a and 27b and stores them in the correspondence table, and the DNS query 40 including the inquiry destination domain name from the user terminals 23a and 23b are relayed. A relay unit 45, and a relay unit 5, when the DNS query 40 is received from the user terminal, the correspondence table stored in the storage device 43 is referred to, and the domain name information 48 corresponding to the inquiry domain name of the received DNS query 40 is searched and searched. By selecting the DNS server IP address and logical connection corresponding to the domain name information 48 and transferring the DNS query 40 to the DNS server IP address via the selected logical connection, Thus, it is possible to select a logical connection in which an appropriate inquiry destination DNS server exists and transfer the packet, and to reliably perform domain name resolution.

これにより、たとえば、ルートサーバがあるネットワーク(例えばインターネット網)とは切り離されたネットワーク内のWEBサーバ(図1ではプロバイダBのネットワーク31b内のWEBサーバ33b)宛のDNSクエリー40とインターネット38上のWEBサーバ(図1ではプロバイダAのネットワーク31a内のWEBサーバ33a)宛のDNSクエリー40が混在しても、それらのパケットを適切に振り分けることができる。   Thereby, for example, the DNS query 40 addressed to the WEB server (WEB server 33b in the network 31b of the provider B in FIG. 1) and the Internet 38 on the Internet 38 are separated from the network where the route server is located (for example, the Internet network). Even if the DNS query 40 addressed to the WEB server (the WEB server 33a in the network 31a of the provider A in FIG. 1) is mixed, the packets can be appropriately distributed.

以上説明したように、本実施の形態のパケット転送装置によれば、ドメイン名を解決しうる適切な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 gateway device 60 has a plurality of logical connections 65a with a plurality of business office networks via the IKE connection control device 63 in the corporate network 61. , 65b can be established. In addition, the same code | symbol is attached | subjected to the structure similar to the said 1st Embodiment, and detailed description is abbreviate | omitted.

図8において、本実施の形態のパケット転送装置は、ゲートウェイ装置60に含まれる。本実施の形態において、複数の事業上のネットワークとの間で確立される複数の論理コネクション65a、65bは、IPsecコネクションである。   In FIG. 8, the packet transfer apparatus according to the present embodiment is included in the gateway apparatus 60. In the present embodiment, the plurality of logical connections 65a and 65b established with a plurality of business networks are IPsec connections.

図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 site A network 71a and the business site B network 71b. In the present embodiment, there are two office networks in which the gateway device 60 has established logical connections. However, the present invention is not limited to this, and a plurality of logical connections are simultaneously made between a plurality of networks. Can be established.

事業場Aのネットワーク71a内には、事業場Aが独自に構築したDNSサーバ72aおよびWEBサーバ73aが配置され、事業場Aのネットワーク71aは事業場Cのネットワーク78に接続されている。事業場Bのネットワーク71b内には、事業場Bが独自に構築したDNSサーバ72bおよびWEBサーバ73bが配置され、事業場Bのネットワーク71bは事業場Cのネットワーク78に接続されている。   A DNS server 72 a and a WEB server 73 a that are independently constructed by the business site A are arranged in the network 71 a of the business site A, and the network 71 a of the business site A is connected to the network 78 of the business site C. A DNS server 72b and a WEB server 73b independently constructed by the business site B are arranged in the network 71b of the business site B, and the network 71b of the business site B is connected to the network 78 of the business site C.

本実施の形態において、ゲートウェイ装置60は図2に示された上記実施の形態のゲートウェイ装置22と同様の構成を有するが、コネクション確立部41が複数のDNSサーバ32a、32bと複数のPPPoEセッション27a、27bをそれぞれ確立する代わりに、複数のDNSサーバ72a、72bと複数のIPsecコネクション65a、65bをそれぞれ確立する。   In the present embodiment, the gateway device 60 has the same configuration as the gateway device 22 of the above-described embodiment shown in FIG. 2, but the connection establishment unit 41 includes a plurality of DNS servers 32a and 32b and a plurality of PPPoE sessions 27a. , 27b, and a plurality of DNS servers 72a, 72b and a plurality of IPsec connections 65a, 65b, respectively.

また、コネクション確立部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 DNS servers 72a and 72b and the IPsec connections 65a and 65b are established, the connection establishment unit 41 acquires the domain name information 48 included in the additional information of the connection control protocol with the DNS servers 72a and 72b. In this embodiment, the connection control protocol with the DNS server is IKE (Internet Key Exchange) ISAKMP (Internet Security Association and Key Management Protocol). The gateway device 60 uses the IPsec connection connection control protocol to provide information necessary for encryption and information on the domain name where the WEB servers 73a and 73b managed independently by each business site are also added as IKE connection control. Receive from device 63.

図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 gateway device 60 according to the present embodiment. The IKE protocol additional information 81 includes a next header 82, a reservation 83, a payload length 84, and a payload 85 in which actual information subsequent thereto is stored. In ISAKMP, 13 types of payloads 85 are defined. In the present embodiment, a payload 85 for newly notifying the domain name information 48 is defined. As shown in FIG. 9, domain name information 48 is stored in the payload 85.

このように、本実施の形態において、企業間でセキュアな通信路を確保するために構築される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 gateway device 60 of the present embodiment will be described with reference to FIG. First, the connection establishment unit 41 of the gateway device 60 establishes logical connections 65a and 65b with each business site (step S1). For example, in FIG. 8, an IPsec connection A and an IPsec connection B are established between the business place A and the business place B, respectively.

次いで、ゲートウェイ装置60のコネクション確立部41は、図9に示したIPsecコネクション接続制御プロトコルであるIKEプロトコル付加情報81からDNSサーバ72a、72bが管理するドメイン名情報48が企業ネットワーク61のIKE接続制御装置63から取得される(ステップS2)。   Next, the connection establishing unit 41 of the gateway device 60 uses the IKE protocol additional information 81 which is the IPsec connection connection control protocol shown in FIG. 9 to obtain the IKE connection control of the corporate network 61 from the domain name information 48 managed by the DNS servers 72a and 72b. Obtained from the device 63 (step S2).

次いで、取得したドメイン名情報48に含まれるドメイン名56と、DNSサーバIPアドレス57と、宛先論理コネクション59とが対応付けられて記憶装置43の対応テーブルに記憶される(ステップS3)。ここで、記憶装置43の対応テーブルは、上記第1の実施の形態と同様である。   Next, the domain name 56, DNS server IP address 57, and destination logical connection 59 included in the acquired domain name information 48 are associated and stored in the correspondence table of the storage device 43 (step S3). Here, the correspondence table of the storage device 43 is the same as that in the first embodiment.

以上のようにして、ゲートウェイ装置60において、ドメイン名情報48がIKE接続制御装置63から取得され、ドメイン名56、DNSサーバIPアドレス57、および宛先論理コネクション59を関連付けた対応テーブルが記憶装置43に記憶される。   As described above, in the gateway device 60, the domain name information 48 is acquired from the IKE connection control device 63, and a correspondence table in which the domain name 56, the DNS server IP address 57, and the destination logical connection 59 are associated is stored in the storage device 43. Remembered.

次に、ゲートウェイ装置60のDNSクエリー40転送時の動作について、図6を用いて説明する。ゲートウェイ装置60において、中継部45により、DNSクエリー40がユーザ端末23a、23bから受信されると(ステップS11:YES)、中継部45により、DNSクエリー40に含まれる問い合わせ先ドメイン名56に基づいて、記憶装置43に記憶された対応テーブルが参照され、該当するドメイン名56が検索される(ステップS12)。   Next, the operation of the gateway device 60 when the DNS query 40 is transferred will be described with reference to FIG. In the gateway device 60, when the DNS query 40 is received from the user terminals 23a and 23b by the relay unit 45 (step S11: YES), the relay unit 45 uses the inquiry domain name 56 included in the DNS query 40. Then, the corresponding table stored in the storage device 43 is referred to and the corresponding domain name 56 is searched (step S12).

該当するドメイン名56が見つかった場合(ステップS12:YES)、中継部45により、該当するDNSサーバIPアドレス57と宛先論理コネクション59が選択される(ステップS13)。一方、該当するドメイン名56が見つからなかった場合(ステップS12:NO)、中継部45により、デフォルトに設定されているDNSサーバIPアドレス57と宛先論理コネクション59が選択される(ステップS14)。   When the corresponding domain name 56 is found (step S12: YES), the corresponding DNS server IP address 57 and the destination logical connection 59 are selected by the relay unit 45 (step S13). On the other hand, when the corresponding domain name 56 is not found (step S12: NO), the DNS server IP address 57 and the destination logical connection 59 set as default are selected by the relay unit 45 (step S14).

次いで、中継部45により、得られた宛先論理コネクション59を介してDNSサーバIPアドレス57宛にDNSクエリー40が転送される(ステップS15)。   Next, the DNS query 40 is forwarded to the DNS server IP address 57 by the relay unit 45 via the obtained destination logical connection 59 (step S15).

以上のようにして、ゲートウェイ装置60により、DNSクエリー40が所望のDNSサーバに転送される。   As described above, the DNS query 40 is transferred to the desired DNS server by the gateway device 60.

次に、DNSサーバにおけるDNSクエリー40応答時の動作について、図7を用いて説明する。ここでは、図8のゲートウェイ装置60によりDNSサーバ72bに対してDNSクエリー40が転送された場合を想定して説明する。   Next, the operation at the time of DNS query 40 response in the DNS server will be described with reference to FIG. Here, a description will be given assuming that the DNS query 40 is transferred to the DNS server 72b by the gateway device 60 of FIG.

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 gateway device 60 is received by the DNS server 72b (step S21: YES), the DNS server 72b sets the inquiry destination domain name 56 included in the DNS query 40 to the IP address of the WEB server 73b. (Step S22). Next, a DNS response packet 42 including this IP address is returned to the user terminal 23a of the user network 21 via the gateway device 60 (step S23).

以上のようにして、ゲートウェイ装置60から転送されたDNSクエリー40を受け取ったDNSサーバ72bは、ユーザ端末23aにWEBサーバ73bのIPアドレスを含むDNS応答パケット42を返信することができ、これによりユーザ端末23aはIPアドレスを取得し、所望のWEBサーバ73bにアクセスすることができることとなる。   As described above, the DNS server 72b that has received the DNS query 40 transferred from the gateway device 60 can return the DNS response packet 42 including the IP address of the WEB server 73b to the user terminal 23a. The terminal 23a acquires the IP address and can access the desired WEB server 73b.

以上のように本発明の第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 logical connections 65a and 65b are established with the DNS servers 72a and 72b, and are connection control protocols with the DNS servers 72a and 72b. A connection establishment unit 41 for obtaining the IP addresses of the DNS servers 72a and 72b and the domain name information 48 managed by the DNS servers 72a and 72b included in the IKE protocol additional information 81, and the DNS server 72a obtained by the connection establishment unit 41, The storage device 43 that associates the IP address 72b, the domain name information 48, and the logical connections 65a and 65b and stores them in the correspondence table, and the DNS query 40 including the inquiry destination domain names from the user terminals 23a and 23b are relayed. A relay unit 45, and a relay unit 4 When the DNS query 40 is received from the user terminal, the correspondence table stored in the storage device 43 is referred to, and the domain name information 48 corresponding to the inquiry domain name of the received DNS query 40 is retrieved and retrieved. By selecting the DNS server IP address and logical connection corresponding to the domain name information 48 and transferring the DNS query 40 to the DNS server IP address via the selected logical connection, a plurality of logical connections are selected. It is possible to select a logical connection having an appropriate inquiry destination DNS server and transfer the packet, and it is possible to reliably perform domain name resolution even in a packet transfer apparatus or the like that simultaneously connects each base network in the company.

なお、以上の説明では、本発明のパケット転送装置をゲートウェイ装置として構成した例について説明したが、パケットを転送する他の装置、たとえば、ブロードバンドルータ、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.

本発明の第1の実施の形態のパケット転送装置を含むネットワーク構成の一例を示す概略構成ブロック図1 is a schematic configuration block diagram showing an example of a network configuration including a packet transfer apparatus according to a first embodiment of this invention. 図1のゲートウェイ装置の概略構成ブロック図Schematic configuration block diagram of the gateway device of FIG. 図2のゲートウェイ装置の記憶装置に記憶される対応テーブルの一例を示す構成図Configuration diagram showing an example of a correspondence table stored in the storage device of the gateway device of FIG. 図2のゲートウェイ装置のIPCPプロトコル付加情報のデータ構造の一例を示す図The figure which shows an example of the data structure of the IPCP protocol additional information of the gateway apparatus of FIG. 図1のゲートウェイ装置のドメイン情報取得時の動作の一例を示すフロー図The flowchart which shows an example of the operation | movement at the time of the domain information acquisition of the gateway apparatus of FIG. 図1のゲートウェイ装置のドメイン名解決要求パケット転送時の動作の一例を示すフロー図The flowchart which shows an example of the operation | movement at the time of the domain name resolution request packet transfer of the gateway apparatus of FIG. 図1のドメインネームサーバのDNS応答時の動作の一例を示すフロー図The flowchart which shows an example of the operation | movement at the time of the DNS response of the domain name server of FIG. 本発明の第2の実施の形態のパケット転送装置を含むネットワーク構成の一例を示す概略構成ブロック図Schematic configuration block diagram showing an example of a network configuration including a packet transfer apparatus according to a second embodiment of the present invention 図8のゲートウェイ装置のIKEプロトコル付加情報のデータ構造の一例を示す図The figure which shows an example of the data structure of the IKE protocol additional information of the gateway apparatus of FIG. 従来のパケット転送装置を含むネットワーク構成の一例を示す概略構成ブロック図Schematic configuration block diagram showing an example of a network configuration including a conventional packet transfer device 従来のパケット転送装置を含むネットワーク構成の他の例を示す概略構成ブロック図Schematic configuration block diagram showing another example of a network configuration including a conventional packet transfer apparatus

符号の説明Explanation of symbols

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 User network 22 Gateway device (packet transfer device)
23a, 23b User terminal 25 Carrier network 26 PPPoE server 27a, 27b PPPoE session (logical connection)
31a Provider A network 31b Provider B network 32a, 32b DNS server (domain name server)
33a, 33b WEB server 38 Internet 40 DNS query (domain name resolution request packet)
41 Connection establishment unit (connection establishment means, acquisition means)
42 DNS response packet 43 Storage device (storage means)
45 Relay section (relay means)
48 Domain Name Information 51 IPCP Protocol Additional Information 56 Domain Name 57 DNS Server IP Address 59 Destination Logical Connection 60 Gateway Device (Packet Transfer Device)
61 Corporate network 63 IKE connection controller 65a, 65b IPsec connection (logical connection)
71a Network of business site A 71b Network of business site B 72a, 72b DNS server (domain name server)
73a, 73b WEB server 78 Network of business office C 81 IKE protocol additional information

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アドレスと前記論理コネクションを前記対応テーブルに予め記憶し、
前記中継手段は、前記ユーザ端末から前記ドメイン名解決要求パケットを受信し、前記記憶手段に記憶された前記対応テーブルを検索したとき、前記問合せ先ドメイン名に該当する前記ドメイン名情報が前記対応テーブルに含まれない場合、前記デフォルトの前記ドメインネームサーバの前記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アドレスと前記論理コネクションを前記対応テーブルに予め記憶するステップと、
前記検索ステップで前記記憶手段に記憶された前記対応テーブルを検索したとき、前記問合せ先ドメイン名に該当する前記ドメイン名情報が前記対応テーブルに含まれない場合、前記デフォルトの前記ドメインネームサーバの前記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.
請求項3または請求項4に記載のパケット転送方法の前記ステップをコンピュータに実行させることを特徴とするパケット転送制御プログラム。 A packet transfer control program that causes a computer to execute the steps of the packet transfer method according to claim 3 or 4.
JP2003418303A 2003-12-16 2003-12-16 Packet transfer apparatus and packet transfer method Pending JP2005184110A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (15)

* Cited by examiner, † Cited by third party
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