JP5231513B2 - Resource record control system, resource record control method, application determination method and program - Google Patents

Resource record control system, resource record control method, application determination method and program Download PDF

Info

Publication number
JP5231513B2
JP5231513B2 JP2010258529A JP2010258529A JP5231513B2 JP 5231513 B2 JP5231513 B2 JP 5231513B2 JP 2010258529 A JP2010258529 A JP 2010258529A JP 2010258529 A JP2010258529 A JP 2010258529A JP 5231513 B2 JP5231513 B2 JP 5231513B2
Authority
JP
Japan
Prior art keywords
resource record
communication
ipv6
name resolution
dns
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010258529A
Other languages
Japanese (ja)
Other versions
JP2012109887A (en
Inventor
正伸 川島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Platforms Ltd
Original Assignee
NEC AccessTechnica 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 NEC AccessTechnica Ltd filed Critical NEC AccessTechnica Ltd
Priority to JP2010258529A priority Critical patent/JP5231513B2/en
Publication of JP2012109887A publication Critical patent/JP2012109887A/en
Application granted granted Critical
Publication of JP5231513B2 publication Critical patent/JP5231513B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、通信端末がインターネットプロトコルを用いて通信を開始する際に相手装置と通信不能となる状態を回避するようにしたリソースレコード制御システム、リソースレコード制御方法およびリソースレコード制御プログラムならびに端末装置のアプリケーション判別方法およびアプリケーション判別プログラムに関する。   The present invention relates to a resource record control system, a resource record control method, a resource record control program, and a terminal device that avoids a state in which communication with a counterpart device cannot be performed when a communication terminal starts communication using the Internet protocol. The present invention relates to an application determination method and an application determination program.

インターネットプロトコルとしてのIPv4(Internet Protocol version 4)プロトコルとIPv6(Internet Protocol version 6)プロトコルの双方を実装したパーソナルコンピュータや情報家電等のデュアルスタック端末が数多く存在している。このような端末のOS(Operating System)におけるDNSリゾルバ(Domain Name System resolver)は、名前からアドレスを割り出す際にDNSサーバに対してAリソースレコードとAAAAリソースレコードを問合せることが一般的である。   There are a large number of dual stack terminals such as personal computers and information appliances that implement both the Internet Protocol version 4 (IPv4) protocol and the Internet Protocol version 6 (IPv6) protocol as Internet protocols. Such a DNS resolver (Domain Name System resolver) in an OS (Operating System) of such a terminal generally inquires the DNS server for an A resource record and an AAAA resource record when determining an address from a name.

ここでAリソースレコードは完全修飾ドメイン名に対するIPv4アドレスを指定するDNSレコードである。また、AAAAリソースレコードは、128ビット長のIPv6アドレスをサポートする点で、Aリソースレコードと異なる。   Here, the A resource record is a DNS record that designates an IPv4 address for a fully qualified domain name. The AAAA resource record is different from the A resource record in that it supports a 128-bit IPv6 address.

AリソースレコードとAAAAリソースレコードの問合せに対してDNSサーバからこれら両方の応答が得られた場合、その端末はAAAAリソースレコードを自身の稼働中のアプリケーションプログラムに優先して応答するのが通常である。ところが、その端末の稼働中のアプリケーションプログラムがIPv6に対応していないという場合がある。この場合には、そのアプリケーションプログラムが、名前解決を行った相手装置と通信を開始しようとしてもAAAAリソースレコードを解釈することができない。この結果、通信を開始することができずにアプリケーションプログラムが使用不可能となる問題が発生する。   When both of these responses are obtained from the DNS server in response to the query of the A resource record and the AAAA resource record, the terminal normally responds by giving priority to the AAAA resource record over its running application program. . However, there are cases where the application program in operation of the terminal does not support IPv6. In this case, the AAAA resource record cannot be interpreted even if the application program attempts to start communication with the partner apparatus that has performed name resolution. As a result, there is a problem that communication cannot be started and the application program cannot be used.

また、このような問題発生を回避するために通信端末によってはIPv4への通信にフォールバック(fallback)して通信を試みるようにしている。しかしながら、この手法を採用するためには、まずIPv6による通信ができないことをタイムアウトになるまで待って確認する必要がある。このため、IPv4による通信が開始するまでにタイムアウト待ちによる通信遅延が発生するという問題が生じる。   Further, in order to avoid such a problem, some communication terminals fall back to communication with IPv4 and attempt communication. However, in order to employ this method, it is necessary to first wait until time-out to confirm that communication by IPv6 cannot be performed. For this reason, there arises a problem that a communication delay occurs due to timeout waiting before communication by IPv4 starts.

そこで、本発明に関連する関連技術として、IPv4アドレスからIPv6アドレス、またはIPv6アドレスからIPv4アドレスへの変換を行うトランスレータ装置をネットワーク上に設けることが提案されている(たとえば特許文献1参照)。この関連技術で、IPv4−IPv6トランスレータ装置は通信端末(ユーザ端末)から所定のFQDN(Fully Qualified Domain Name:完全修飾ドメイン名)に対するIPv6アドレス解決の問合せを受け、DNSサーバに当該FQDNのIPv4アドレスとIPv6アドレスの名前解決について問合せを行う。   Therefore, as a related technique related to the present invention, it has been proposed to provide a translator device on the network that performs conversion from an IPv4 address to an IPv6 address or from an IPv6 address to an IPv4 address (for example, see Patent Document 1). With this related technology, the IPv4-IPv6 translator device receives an inquiry of IPv6 address resolution for a predetermined FQDN (Fully Qualified Domain Name) from a communication terminal (user terminal), and sends the IPv4 address of the FQDN to the DNS server. Queries for name resolution of IPv6 addresses.

名前解決の結果、IPv6アドレスとIPv4アドレスが取得できた場合に、取得したIPv6アドレスと併せて、予め設定されたダミープレフィックスに当該IPv4アドレスを埋め込んだダミーIPv6アドレスを通信端末側に返答する。そして、通信端末と通信相手との間の通信に使用するアドレスとしてIPv4アドレス、あるいは、IPv6アドレスのいずれを優先するか判断する。この結果、通信端末と通信相手との間の通信に使用するアドレスとしてIPv4アドレスを優先する場合にはグローバルIPv6アドレスを、また、IPv6アドレスを優先する場合はユニークローカルIPv6ユニキャストアドレスを、ダミープレフィックスとして使用する。   When the IPv6 address and the IPv4 address can be acquired as a result of the name resolution, a dummy IPv6 address in which the IPv4 address is embedded in a preset dummy prefix is returned to the communication terminal side together with the acquired IPv6 address. Then, it is determined which of the IPv4 address and the IPv6 address is prioritized as an address used for communication between the communication terminal and the communication partner. As a result, the global IPv6 address is given priority when the IPv4 address is given priority as an address used for communication between the communication terminal and the communication partner, and the unique local IPv6 unicast address is given when the IPv6 address is given priority. Use as

特開2009−206562号公報(第0005段落、第0021段落、図1)JP 2009-206562 A (paragraphs 0005 and 0021, FIG. 1)

この関連技術によれば、通信端末がIPv4アドレスとIPv6アドレスの両方に対応したデュアルスタックホストと通信を行う際に、IPv4アドレスでの通信を優先するか、あるいは、IPv6アドレスでの通信を優先するかを、IPv4−IPv6トランスレータにおいて制卸が可能である。したがって、IPv4−IPv6トランスレータ装置の負荷を軽減し、かつ、通信の冗長性を保つことが可能となる。   According to this related technology, when a communication terminal communicates with a dual stack host that supports both IPv4 address and IPv6 address, priority is given to communication using an IPv4 address, or priority is given to communication using an IPv6 address. This can be controlled by an IPv4-IPv6 translator. Therefore, it is possible to reduce the load on the IPv4-IPv6 translator device and maintain communication redundancy.

しかしながら、この関連技術では、DNSサーバの他にIPv4−IPv6トランスレータ装置という特別の装置をネットワーク上に必要とする。また、通信端末はIPv4−IPv6トランスレータ装置からIPv6に関する2種類のアドレスを受け取り、ロンゲストマッチ方式でこれらのうちの1つを選択する処理が必要となる。このため、通信端末側の処理も複雑化する。   However, this related technique requires a special device called an IPv4-IPv6 translator device on the network in addition to the DNS server. In addition, the communication terminal needs to receive two types of addresses related to IPv6 from the IPv4-IPv6 translator and select one of them using the longest match method. This complicates the processing on the communication terminal side.

また、デュアルスタック端末であっても、通信相手との関係で適用されるアプリケーションプログラムがIPv6に対応していない場合がある。このような場合、前記した関連技術では、通信端末のアプリケーションプログラム側でAAAAリソースレコードを取り扱うことができないという問題を解決することができない。   Even in a dual stack terminal, an application program applied in relation to a communication partner may not support IPv6. In such a case, the related technology described above cannot solve the problem that the AAAA resource record cannot be handled on the application program side of the communication terminal.

そこで本発明の目的は、IPv6に対応していないアプリケーションプログラムが内在する端末に対して、DNSサーバがDNS応答に際して適切なリソースレコードで応答することのできるリソースレコード制御システム、方法およびプログラムを提供することにある。   Therefore, an object of the present invention is to provide a resource record control system, method, and program that allow a DNS server to respond with an appropriate resource record when a DNS response is made to a terminal in which an application program that does not support IPv6 is present. There is.

本発明の他の目的は、端末側のアプリケーションプログラムがIPv6に対応しているかどうかを判別することのできるアプリケーション判別方法およびプログラムを提供することにある。   Another object of the present invention is to provide an application determination method and program capable of determining whether an application program on the terminal side is compatible with IPv6.

本発明では、(イ)IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末と、(ロ)所定のネットワークを介して送られてくる名前解決要求を受信して該当する通信相手のドメイン名に対するリソースレコードを要求先に応答するDNS(Domain Name System)サーバと、(ハ)前記したデュアルスタック端末から名前解決要求が送られてきたときこれを受信して前記したDNSサーバに送信する名前解決要求送信手段と、この名前解決要求送信手段の送信した名前解決要求に対して前記したDNSサーバから返答として送られてくるリソースレコードを受信するリソースレコード受信手段と、通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードをポリシとして定めたリソースレコード制御ポリシテーブルと、前記したリソースレコード受信手段の受信したリソースレコードを基にしてこのリソースレコード制御ポリシテーブルを参照し前記した名前解決要求を行ったデュアルスタック端末に対して通信相手のドメインと通信するためのDNS応答を行うDNS応答手段とを備えたゲートウェイとをリソースレコード制御システムが具備する。   In the present invention, (a) a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, and (b) a name sent via a predetermined network. A DNS (Domain Name System) server that receives a resolution request and responds to the request destination with a resource record for the domain name of the corresponding communication partner, and (c) when a name resolution request is sent from the dual stack terminal described above And a resource for receiving a resource record sent as a response from the DNS server in response to the name resolution request sent by the name resolution request sending means. Record receiving means and resource records that are allowed to be used for each domain name of the communication partner The resource record control policy table in which resource records that are prohibited from being used or used are set as policies, and the resource record control policy table based on the resource records received by the resource record receiving means described above, The resource record control system includes a gateway including DNS response means for performing a DNS response for communicating with the communication partner domain to the performed dual stack terminal.

また、本発明では、(イ)IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれを受信してDNS(Domain Name System)サーバに送信する名前解決要求送信ステップと、(ロ)この名前解決要求送信ステップで送信した名前解決要求の返答として前記したDNSサーバから送られてくるリソースレコードを受信するリソースレコード受信ステップと、(ハ)このリソースレコード受信ステップで受信したリソースレコードを基にして、通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードをポリシとして定めたリソースレコード制御ポリシテーブルを参照して前記した名前解決要求を行ったデュアルスタック端末に対して通信相手のドメインと通信するためのDNS応答を行うDNS応答ステップとをリソースレコード制御方法が具備する。   In the present invention, (a) when a name resolution request is sent from a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, it is received. And (b) receiving a resource record sent from the DNS server as a response to the name resolution request sent in the name resolution request sending step. A resource record receiving step and (c) a resource based on the resource record received in this resource record receiving step and a resource record that is permitted for each domain name of a communication partner or a resource record that is prohibited to be used as a policy Refer to the record control policy table. Wherein the name resolution request resource record control method and a DNS response step of DNS responses to communicate with the domain of the communication partner with respect to a dual-stack terminal done by comprising.

更に本発明では、(イ)IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれをゲートウェイとして受信してDNS(Domain Name System)サーバに送信する名前解決要求送信ステップと、(ロ)この名前解決要求送信ステップで送信した名前解決要求に対して前記したDNSサーバからAAAAリソースレコードがDNS応答として送られてきたときこれを前記したデュアルスタック端末にDNS応答として返信するDNS応答返信ステップと、(ハ)このDNS応答返信ステップで返信した前記したデュアルスタック端末がこの返信に基づいて所定時間内に仮想AAAAリソースレコード宛の通信を行ってくるかを判別する通信有無判別ステップと、(ニ)この通信有無判別ステップで前記した所定時間内に仮想AAAAリソースレコード宛の通信を行ってこないとき前記したデュアルスタック端末内にIPv6未対応アプリケーションプログラムが存在していると判断する未対応プログラム存在判別ステップと、(ホ)前記した通信有無判別ステップで前記した所定時間内に仮想AAAAリソースレコード宛の通信があった場合、これがIPv6からIPv4へのフォールバック事象の発生によるものであるかを判別するフォールバック事象発生有無判別ステップと、(へ)このフォールバック事象発生有無判別ステップでフォールバック事象が発生していないと判別されたとき前記したデュアルスタック端末にIPv6対応のアプリケーションプログラムが存在していると判断する対応プログラム存在判別ステップとをアプリケーション判別方法が具備する。   In the present invention, (i) when a name resolution request is sent from a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, it is received as a gateway. A name resolution request transmission step transmitted to a DNS (Domain Name System) server, and (b) an AAA resource record is sent as a DNS response from the DNS server in response to the name resolution request transmitted in the name resolution request transmission step. A DNS response reply step of returning this as a DNS response to the dual stack terminal when received, and (c) the dual stack terminal returning in the DNS response reply step Communicate to the AAAA resource record A communication presence / absence determination step for determining whether or not the communication addressed to the virtual AAAA resource record is not performed within the predetermined time in the communication presence / absence determination step; And (e) if there is communication addressed to the virtual AAAA resource record within the predetermined time in the communication presence / absence determination step described above, this is determined from IPv6 to IPv4. A fallback event occurrence determination step for determining whether or not a fallback event has occurred, and (f) the dual operation described above when it is determined in this fallback event occurrence determination step that no fallback event has occurred. IPv6-compatible applications on stack terminals Corresponding program exists determination step and an application determination method for determining a program exists is provided.

更にまた本発明では、ゲートウェイのコンピュータに、リソースレコード制御プログラムとして、(イ)IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれを受信してDNS(Domain Name System)サーバに送信する名前解決要求送信処理と、(ロ)この名前解決要求送信処理で送信した名前解決要求の返答としてDNSサーバから送られてくるリソースレコードを受信するリソースレコード受信処理と、(ハ)このリソースレコード受信処理で受信したリソースレコードを基にして、通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードをポリシとして定めたリソースレコード制御ポリシテーブルを参照して前記した名前解決要求を行ったデュアルスタック端末に対して通信相手のドメインと通信するためのDNS応答を行うDNS応答処理とを実行させることを特徴としている。   Furthermore, in the present invention, name resolution is performed from a dual stack terminal in which both (i) IPv4 (Internet Protocol version 4) protocol stack and IPv6 (Internet Protocol version 6) protocol stack are installed in the gateway computer as a resource record control program. A name resolution request transmission process for receiving a request and sending it to a DNS (Domain Name System) server; and (b) a response from the DNS server as a response to the name resolution request transmitted in the name resolution request transmission process. Resource record receiving process that receives incoming resource records, and (c) Resource records that are permitted to be used for each domain name of the communication partner based on the resource records received in this resource record receiving process or prohibited from being used Resource record to be defined as a policy Was with reference to the resource record control policy table is characterized by executing a DNS response process for DNS response for communicating with the domain of the communication partner with respect to a dual-stack terminal performing the name resolution request described above.

また、本発明では、ゲートウェイのコンピュータに、アプリケーション判別プログラムとして、(イ)IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれを受信してDNS(Domain Name System)サーバに送信する名前解決要求送信処理と、(ロ)この名前解決要求送信処理で送信した名前解決要求に対して前記したDNSサーバからAAAAリソースレコードがDNS応答として送られてきたときこれを前記したデュアルスタック端末にDNS応答として返信するDNS応答返信処理と、(ハ)このDNS応答返信処理で返信した前記したデュアルスタック端末がこの返信に基づいて所定時間内に仮想AAAAリソースレコード宛の通信を行ってくるかを判別する通信有無判別処理と、(ニ)この通信有無判別処理で前記した所定時間内に仮想AAAAリソースレコード宛の通信を行ってこないとき前記したデュアルスタック端末内にIPv6未対応アプリケーションプログラムが存在していると判断する未対応プログラム存在判別処理と、(ホ)前記した通信有無判別処理で前記した所定時間内に仮想AAAAリソースレコード宛の通信があった場合、これがIPv6からIPv4へのフォールバック事象の発生によるものであるかを判別するフォールバック事象発生有無判別処理と、(へ)このフォールバック事象発生有無判別処理でフォールバック事象が発生していないと判別されたとき前記したデュアルスタック端末にIPv6対応のアプリケーションプログラムが存在していると判断する対応プログラム存在判別処理とを実行させることを特徴としている。   Further, in the present invention, a name resolution request is issued from a dual stack terminal in which both (i) IPv4 (Internet Protocol version 4) protocol stack and IPv6 (Internet Protocol version 6) protocol stack are installed in the gateway computer as an application determination program. And (b) the DNS server described above in response to the name resolution request transmitted in the name resolution request transmission process. When the AAAA resource record is sent as a DNS response from the DNS response reply process for returning the AAA resource record as a DNS response to the dual stack terminal, and (c) the dual stack terminal returned by the DNS response reply process Virtual AA within a predetermined time based on the reply A communication presence / absence determination process for determining whether or not a communication addressed to the A resource record is performed; and (d) when the communication addressed to the virtual AAAA resource record is not performed within the predetermined time in the communication presence / absence determination process. There is an unsupported program existence determination process for determining that an IPv6 unsupported application program exists in the stack terminal, and (e) the communication addressed to the virtual AAAA resource record within the predetermined time in the communication presence / absence determination process described above. Fallback event occurrence determination processing for determining whether this is due to the occurrence of a fallback event from IPv6 to IPv4, and (f) a fallback event has occurred in this fallback event occurrence determination processing If it is determined that there is no IPv6 compatible Publication program is characterized in that to execute a corresponding program exists determination process to determine that there.

以上説明したように本発明によれば、IPv4プロトコルスタックとIPv6プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたとき、これを受信したゲートウェイがリソースレコード制御ポリシテーブルを参照して、DNSサーバの応答結果を必要により限定してデュアルスタック端末に返答することにした。これにより、該当するデュアルスタック端末にIPv6に対応していないアプリケーションが内在していた場合でも、適切なリソースレコードを応答することで通信不能となる状態を回避することが可能になる。   As described above, according to the present invention, when a name resolution request is sent from a dual stack terminal equipped with both the IPv4 protocol stack and the IPv6 protocol stack, the gateway that has received the name refers to the resource record control policy table. Then, the response result of the DNS server is limited as necessary and returned to the dual stack terminal. As a result, even when an application that does not support IPv6 is inherent in the corresponding dual stack terminal, it is possible to avoid a state in which communication is disabled by responding an appropriate resource record.

また、本発明によれば、デュアルスタック端末がIPv6からIPv4へのフォールバック事象を発生させることで、見かけ上、IPv6プロトコルに対応する場合であっても、ゲートウェイ側がフォールバック事象の発生の有無を判別することにした。これにより、デュアルスタック端末にIPv6対応のアプリケーションプログラムが存在していないと判別される場合には、IPv4通信の対象となる通信相手の選択が可能になる。   In addition, according to the present invention, the dual stack terminal generates a fallback event from IPv6 to IPv4, so that even if it is apparently compatible with the IPv6 protocol, the gateway side determines whether or not a fallback event has occurred. Decided to determine. As a result, when it is determined that there is no IPv6-compatible application program in the dual stack terminal, it becomes possible to select a communication partner to be the target of IPv4 communication.

本発明のリソースレコード制御システムのクレーム対応図である。It is a claim correspondence diagram of the resource record control system of the present invention. 本発明のリソースレコード制御方法のクレーム対応図である。It is a claim corresponding | compatible figure of the resource record control method of this invention. 本発明のアプリケーション判別方法のクレーム対応図である。It is a claim corresponding | compatible figure of the application discrimination | determination method of this invention. 本発明のリソースレコード制御プログラムのクレーム対応図である。It is a claim corresponding | compatible figure of the resource record control program of this invention. 本発明のアプリケーション判別プログラムのクレーム対応図である。It is a claim corresponding | compatible figure of the application determination program of this invention. 本発明の実施の形態のDNSにおけるリソースレコード制御システムの構成を表わしたシステム構成図である。It is a system configuration figure showing composition of a resource record control system in DNS of an embodiment of the invention. 本実施の形態におけるゲートウェイの原理的な構成を表わしたブロック図である。It is a block diagram showing the fundamental structure of the gateway in this Embodiment. 本実施の形態のリソースレコード制御システムでDNSにおけるリソースレコード制御の様子を示した説明図である。It is explanatory drawing which showed the mode of the resource record control in DNS in the resource record control system of this Embodiment. 本実施の形態におけるRR制御ポリシテーブルの一例を表わした説明図である。It is explanatory drawing showing an example of the RR control policy table in this Embodiment. 本発明の第1の変形例におけるRR制御ポリシテーブルの構成を表わした説明図である。It is explanatory drawing showing the structure of the RR control policy table in the 1st modification of this invention. 第1の変形例のリソースレコード制御システムでDNSにおけるリソースレコード制御の様子を示した説明図である。It is explanatory drawing which showed the mode of the resource record control in DNS in the resource record control system of a 1st modification. 本発明の第2の変形例におけるゲートウェイで行われるRR制御ポリシテーブルについての登録処理の様子を表わした流れ図である。It is a flowchart showing the mode of the registration process about the RR control policy table performed in the gateway in the 2nd modification of this invention. 第2の変形例で使用されるIPv6通信不能検出テーブルの一例を示した説明図である。It is explanatory drawing which showed an example of the IPv6 communication impossibility detection table used by the 2nd modification.

図1は、本発明のリソースレコード制御システムのクレーム対応図を示したものである。本発明のリソースレコード制御システム10は、デュアルスタック端末11と、DNS(Domain Name System)サーバ12と、ゲートウェイ13を備えている。ここで、デュアルスタック端末11は、IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載した端末である。DNS(Domain Name System)サーバ12は、所定のネットワークを介して送られてくる名前解決要求を受信して該当する通信相手のドメイン名に対するリソースレコードを要求先に応答する。ゲートウェイ13は、名前解決要求送信手段13aと、リソースレコード受信手段13bと、リソースレコード制御ポリシテーブル13cと、DNS応答手段13dを備えている。ここで名前解決要求送信手段13aは、デュアルスタック端末11から名前解決要求が送られてきたときこれを受信してDNSサーバ12に送信する。リソースレコード受信手段13bは、名前解決要求送信手段13aの送信した名前解決要求に対してDNSサーバ12から返答として送られてくるリソースレコードを受信する。リソースレコード制御ポリシテーブル13cは、通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードをポリシとして定めたテーブルである。DNS応答手段13dは、リソースレコード受信手段13bの受信したリソースレコードを基にしてこのリソースレコード制御ポリシテーブル13cを参照し前記した名前解決要求を行ったデュアルスタック端末に対して通信相手のドメインと通信するためのDNS応答を行う。   FIG. 1 shows a claim correspondence diagram of the resource record control system of the present invention. The resource record control system 10 of the present invention includes a dual stack terminal 11, a DNS (Domain Name System) server 12, and a gateway 13. Here, the dual stack terminal 11 is a terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack. A DNS (Domain Name System) server 12 receives a name resolution request sent via a predetermined network, and responds to the request destination with a resource record for the domain name of the corresponding communication partner. The gateway 13 includes a name resolution request transmission unit 13a, a resource record reception unit 13b, a resource record control policy table 13c, and a DNS response unit 13d. Here, when the name resolution request is sent from the dual stack terminal 11, the name resolution request transmission unit 13 a receives the name resolution request and transmits it to the DNS server 12. The resource record receiving unit 13b receives a resource record sent as a reply from the DNS server 12 in response to the name resolution request transmitted by the name resolution request transmitting unit 13a. The resource record control policy table 13c is a table in which a resource record that permits use or a resource record that prohibits use is defined as a policy for each domain name of a communication partner. The DNS response means 13d communicates with the communication partner's domain with respect to the dual stack terminal that has made the name resolution request with reference to the resource record control policy table 13c based on the resource record received by the resource record receiving means 13b. A DNS response is sent to

図2は、本発明のリソースレコード制御方法のクレーム対応図を示したものである。本発明のリソースレコード制御方法20は、名前解決要求送信ステップ21と、リソースレコード受信ステップ22と、DNS応答ステップ23を備えている。ここで、名前解決要求送信ステップ21では、IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれを受信してDNS(Domain Name System)サーバに送信する。リソースレコード受信ステップ22では、名前解決要求送信ステップ21で送信した名前解決要求の返答として前記したDNSサーバから送られてくるリソースレコードを受信する。DNS応答ステップ23では、リソースレコード受信ステップ22で受信したリソースレコードを基にして、通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードをポリシとして定めたリソースレコード制御ポリシテーブルを参照して前記した名前解決要求を行ったデュアルスタック端末に対して通信相手のドメインと通信するためのDNS応答を行う。   FIG. 2 shows a claim correspondence diagram of the resource record control method of the present invention. The resource record control method 20 of the present invention includes a name resolution request transmission step 21, a resource record reception step 22, and a DNS response step 23. Here, in the name resolution request transmission step 21, when a name resolution request is sent from a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, the name resolution request is sent. Receive and send to DNS (Domain Name System) server. In the resource record reception step 22, the resource record sent from the DNS server is received as a response to the name resolution request transmitted in the name resolution request transmission step 21. In the DNS response step 23, based on the resource record received in the resource record receiving step 22, a resource record control policy in which a resource record that permits use or a resource record that prohibits use is defined as a policy for each domain name of the communication partner. A DNS response for communicating with the communication partner domain is sent to the dual stack terminal that has made the name resolution request with reference to the table.

図3は、本発明のアプリケーション判別方法のクレーム対応図を示したものである。本発明のアプリケーション判別方法30は、名前解決要求送信ステップ31と、DNS応答返信ステップ32と、通信有無判別ステップ33と、未対応プログラム存在判別ステップ34と、フォールバック事象発生有無判別ステップ35と、対応プログラム存在判別ステップ36を備えている。ここで、名前解決要求送信ステップ31では、IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれをゲートウェイとして受信してDNS(Domain Name System)サーバに送信する。DNS応答返信ステップ32では、名前解決要求送信ステップ31で送信した名前解決要求に対して前記したDNSサーバからAAAAリソースレコードがDNS応答として送られてきたときこれを前記したデュアルスタック端末にDNS応答として返信する。通信有無判別ステップ33では、DNS応答返信ステップ32で返信した前記したデュアルスタック端末がこの返信に基づいて所定時間内に仮想AAAAリソースレコード宛の通信を行ってくるかを判別する。未対応プログラム存在判別ステップ34では、通信有無判別ステップ33で前記した所定時間内に仮想AAAAリソースレコード宛の通信を行ってこないとき前記したデュアルスタック端末内にIPv6未対応アプリケーションプログラムが存在していると判断する。フォールバック事象発生有無判別ステップ35では、通信有無判別ステップ33で前記した所定時間内に仮想AAAAリソースレコード宛の通信があった場合、これがIPv6からIPv4へのフォールバック事象の発生によるものであるかを判別する。対応プログラム存在判別ステップ36では、フォールバック事象発生有無判別ステップ35でフォールバック事象が発生していないと判別されたとき前記したデュアルスタック端末にIPv6対応のアプリケーションプログラムが存在していると判断する。   FIG. 3 shows a claim correspondence diagram of the application determination method of the present invention. The application determination method 30 of the present invention includes a name resolution request transmission step 31, a DNS response return step 32, a communication presence / absence determination step 33, an unsupported program presence determination step 34, a fallback event occurrence determination step 35, A corresponding program existence determination step 36 is provided. Here, in the name resolution request transmission step 31, when a name resolution request is sent from a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, the name resolution request is sent. It is received as a gateway and transmitted to a DNS (Domain Name System) server. In a DNS response reply step 32, when an AAAA resource record is sent as a DNS response from the DNS server in response to the name resolution request transmitted in the name resolution request transmission step 31, this is sent as a DNS response to the dual stack terminal described above. Send back. In the communication presence / absence determination step 33, it is determined whether or not the dual stack terminal returned in the DNS response return step 32 performs communication addressed to the virtual AAAA resource record within a predetermined time based on this response. In the unsupported program existence determination step 34, when the communication addressed to the virtual AAAA resource record is not performed within the predetermined time described in the communication presence / absence determination step 33, the IPv6 unsupported application program exists in the dual stack terminal. Judge. In the fallback event occurrence determination step 35, if there is communication addressed to the virtual AAAA resource record within the predetermined time described in the communication presence determination step 33, is this due to the occurrence of a fallback event from IPv6 to IPv4? Is determined. In the corresponding program existence determination step 36, when it is determined in the fallback event occurrence determination step 35 that no fallback event has occurred, it is determined that an IPv6-compatible application program exists in the dual stack terminal.

図4は、本発明のリソースレコード制御プログラムのクレーム対応図を示したものである。本発明のリソースレコード制御プログラム40は、ゲートウェイのコンピュータに、名前解決要求送信処理41と、リソースレコード受信処理42と、DNS応答処理43を実行させるようにしている。ここで、名前解決要求送信処理41では、IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれを受信してDNS(Domain Name System)サーバに送信する。リソースレコード受信処理42では、名前解決要求送信処理41で送信した名前解決要求の返答として前記したDNSサーバから送られてくるリソースレコードを受信する。DNS応答処理43では、リソースレコード受信処理42で受信したリソースレコードを基にして、通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードをポリシとして定めたリソースレコード制御ポリシテーブルを参照して前記した名前解決要求を行ったデュアルスタック端末に対して通信相手のドメインと通信するためのDNS応答を行う。   FIG. 4 shows a claim correspondence diagram of the resource record control program of the present invention. The resource record control program 40 of the present invention causes the gateway computer to execute a name resolution request transmission process 41, a resource record reception process 42, and a DNS response process 43. Here, in the name resolution request transmission processing 41, when a name resolution request is sent from a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, this is processed. Receive and send to DNS (Domain Name System) server. In the resource record reception process 42, the resource record sent from the DNS server as a response to the name resolution request transmitted in the name resolution request transmission process 41 is received. In the DNS response process 43, based on the resource record received in the resource record reception process 42, a resource record control policy in which a resource record that is permitted to be used or a resource record that is prohibited to be used is defined as a policy for each domain name of the communication partner. A DNS response for communicating with the communication partner domain is sent to the dual stack terminal that has made the name resolution request with reference to the table.

図5は、本発明のアプリケーション判別プログラムのクレーム対応図を示したものである。本発明のアプリケーション判別プログラム50は、ゲートウェイのコンピュータに、名前解決要求送信処理51と、DNS応答返信処理52と、通信有無判別処理53と、未対応プログラム存在判別処理54と、フォールバック事象発生有無判別処理55と、対応プログラム存在判別処理56を実行させるようにしている。ここで、名前解決要求送信処理51では、IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれを受信してDNS(Domain Name System)サーバに送信する。DNS応答返信処理52では、名前解決要求送信処理51で送信した名前解決要求に対して前記したDNSサーバからAAAAリソースレコードがDNS応答として送られてきたときこれを前記したデュアルスタック端末にDNS応答として返信する。通信有無判別処理53では、DNS応答返信処理52で返信した前記したデュアルスタック端末がこの返信に基づいて所定時間内に仮想AAAAリソースレコード宛の通信を行ってくるかを判別する。未対応プログラム存在判別処理54では、通信有無判別処理53で前記した所定時間内に仮想AAAAリソースレコード宛の通信を行ってこないとき前記したデュアルスタック端末内にIPv6未対応アプリケーションプログラムが存在していると判断する。フォールバック事象発生有無判別処理55では、通信有無判別処理53で前記した所定時間内に仮想AAAAリソースレコード宛の通信があった場合、これがIPv6からIPv4へのフォールバック事象の発生によるものであるかを判別する。対応プログラム存在判別処理56では、フォールバック事象発生有無判別処理55でフォールバック事象が発生していないと判別されたとき前記したデュアルスタック端末にIPv6対応のアプリケーションプログラムが存在していると判断する。   FIG. 5 shows a claim correspondence diagram of the application determination program of the present invention. The application determination program 50 of the present invention includes a name resolution request transmission process 51, a DNS response return process 52, a communication presence / absence determination process 53, an unsupported program presence determination process 54, and a fallback event occurrence presence / absence in a gateway computer. A determination process 55 and a corresponding program presence determination process 56 are executed. Here, in the name resolution request transmission process 51, when a name resolution request is sent from a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, this is processed. Receive and send to DNS (Domain Name System) server. In the DNS response reply process 52, when an AAAA resource record is sent as a DNS response from the DNS server in response to the name resolution request transmitted in the name resolution request transmission process 51, this is sent as a DNS response to the dual stack terminal described above. Send back. In the communication presence / absence determination processing 53, it is determined whether or not the dual stack terminal returned in the DNS response return processing 52 performs communication addressed to the virtual AAAA resource record within a predetermined time based on this response. In the unsupported program existence determination process 54, when the communication addressed to the virtual AAAA resource record is not performed within the predetermined time described in the communication presence / absence determination process 53, the IPv6 unsupported application program exists in the dual stack terminal. Judge. In the fallback event occurrence determination processing 55, if there is communication addressed to the virtual AAAA resource record within the predetermined time described in the communication presence determination processing 53, is this due to the occurrence of a fallback event from IPv6 to IPv4? Is determined. In the corresponding program presence determination processing 56, when it is determined in the fallback event occurrence determination processing 55 that no fallback event has occurred, it is determined that an IPv6-compatible application program exists in the dual stack terminal.

<発明の実施の形態>   <Embodiment of the Invention>

次に本発明の実施の形態を説明する。   Next, an embodiment of the present invention will be described.

図6は、本発明の実施の形態によるDNSにおけるリソースレコード制御システムの構成を表わしたものである。このリソースレコード制御システム100は、インターネット101にゲートウェイ102を介して接続されたローカルネットワーク上の第1および第2の端末104、105によって構成されている。インターネット101上には、IPv6(Internet Protocol version 6)用の第1のWWW(World Wide Web)サーバ106と、IPv4(Internet Protocol version 4)用の第2のWWWサーバ107と、DNS(Domain Name System)サーバ108が配置されている。   FIG. 6 shows the configuration of the resource record control system in the DNS according to the embodiment of the present invention. The resource record control system 100 includes first and second terminals 104 and 105 on a local network connected to the Internet 101 via a gateway 102. On the Internet 101, there are a first WWW (World Wide Web) server 106 for IPv6 (Internet Protocol version 6), a second WWW server 107 for IPv4 (Internet Protocol version 4), and a DNS (Domain Name System). ) A server 108 is arranged.

第1の端末104および第2の端末105は、IPv4プロトコルスタックとIPv6プロトコルスタックの両方を搭載した、いわゆるデュアルスタック端末である。これら第1および第2の端末104および105は、たとえばWWW(World Wide Web)サーバへのアクセスを行うパーソナルコンピュータや情報家電として実現される。   The first terminal 104 and the second terminal 105 are so-called dual stack terminals equipped with both an IPv4 protocol stack and an IPv6 protocol stack. These first and second terminals 104 and 105 are realized, for example, as personal computers or information appliances that access a WWW (World Wide Web) server.

ゲートウェイ102は、ローカルネットワーク環境に設置されており、異なるインタフェース間でパケット転送処理を行うルータやファイアウォール(FireWall)で構成されている。   The gateway 102 is installed in a local network environment and includes a router and a firewall (FireWall) that perform packet transfer processing between different interfaces.

図7は、ゲートウェイの原理的な構成を表わしたものである。図6と共に説明する。ゲートウェイ102は、DNSリゾルバ111、DNSキャッシュテーブル112、DNSサーバモジュール113、RR(Resource Record:リソースレコード)制御ポリシテーブル114、およびIPv6通信不能検出テーブル115およびIPv6通信不能検出モジュール117の各構成要素を備えている。   FIG. 7 shows the basic configuration of the gateway. This will be described with reference to FIG. The gateway 102 includes each component of a DNS resolver 111, a DNS cache table 112, a DNS server module 113, an RR (Resource Record) control policy table 114, an IPv6 communication failure detection table 115, and an IPv6 communication failure detection module 117. I have.

ここでDNSリゾルバ111は、DNSサーバモジュール113またはIPv6通信不能検出モジュール117からの名前解決要求に応じて、図6に示したDNSサーバ108に対して正引き処理(ドメイン名に対するIPアドレス応答)や逆引き処理(IPアドレスに対するドメイン名応答)等の処理を行う機能を有する。また、DNSリゾルバ111は、DNSキャッシュテーブル112を参照して、過去に名前解決した情報が保持されている場合にはDNSサーバ108に問合せを行わず、DNSキャッシュテーブル112に保持されている情報を応答する。   Here, the DNS resolver 111 performs forward lookup processing (IP address response to the domain name) to the DNS server 108 shown in FIG. 6 in response to a name resolution request from the DNS server module 113 or the IPv6 communication inability detection module 117. It has a function to perform processing such as reverse lookup processing (domain name response to IP address). Also, the DNS resolver 111 refers to the DNS cache table 112 and does not query the DNS server 108 when information whose name has been resolved in the past is retained, and retrieves the information retained in the DNS cache table 112. respond.

DNSキャッシュテーブル112は、FQDN(完全修飾ドメイン名)というドメイン名情報と、RR(Resource Record:リソースレコード)タイプと、IPアドレス等の実データ、TTL(Time To Live:キャッシュ保持時間)の情報要素を保持するテーブルである。DNSキャッシュテーブル112は、DNSリゾルバ111が使用する。   The DNS cache table 112 includes domain name information called FQDN (fully qualified domain name), RR (Resource Record) type, actual data such as an IP address, and TTL (Time To Live) information elements. Is a table that holds The DNS cache table 112 is used by the DNS resolver 111.

DNSサーバモジュール113は、第1および第2の端末104、105からの名前解決要求を受け付け、DNSリゾルバ111に対して名前解決の処理を依頼する。また、DNSサーバモジュール113は、DNSリゾルバ111から得られた応答結果に対して、ポリシ(policy)を実現するために用意したRR制御ポリシテーブル114を参照する。そして、当該FQDNに該当するレコードが存在する場合、DNSサーバモジュール113はそのポリシに応じて、リソースレコードを制御して応答を行う。   The DNS server module 113 accepts name resolution requests from the first and second terminals 104 and 105 and requests the DNS resolver 111 to perform name resolution processing. Also, the DNS server module 113 refers to the response result obtained from the DNS resolver 111 with reference to the RR control policy table 114 prepared for realizing the policy. If there is a record corresponding to the FQDN, the DNS server module 113 responds by controlling the resource record according to the policy.

RR制御ポリシテーブル114は、完全修飾ドメイン名(FQDN)、許可RR、禁止RR、送信元MACアドレス、送信元IPv4アドレス、送信元IPv6アドレスの各情報要素を保持するテーブルである。RR制御ポリシテーブル114は、DNSサーバモジュール113またはIPv6通信不能検出モジュール117で使用される。   The RR control policy table 114 is a table that holds information elements of a fully qualified domain name (FQDN), a permitted RR, a prohibited RR, a source MAC address, a source IPv4 address, and a source IPv6 address. The RR control policy table 114 is used by the DNS server module 113 or the IPv6 communication failure detection module 117.

IPv6通信不能検出モジュール117は、第1および第2の端末104、105からの名前解決要求に対して、仮想のAAAAリソースレコードを応答する。これにより、IPv6未対応アプリケーションの検出およびIPv6からIPv4へのフォールバック事象の検出を行い、検出結果をRR制御ポリシテーブル114に登録する。   The IPv6 communication inability detection module 117 responds to the virtual AAAA resource record in response to the name resolution request from the first and second terminals 104 and 105. As a result, an IPv6 incompatible application is detected and a fallback event from IPv6 to IPv4 is detected, and the detection result is registered in the RR control policy table 114.

IPv6通信不能検出テーブル115は、完全修飾ドメイン名(FQDN)、AAAAリソースレコードの有無(AAAA有無)、仮想AAAAリソースレコード(仮想AAAA RR)、送信元IPv4アドレス、送信元IPv6アドレスの情報要素を保持するテーブルである。IPv6通信不能検出テーブル115は、IPv6通信不能検出モジュール117で使用される。   The IPv6 communication inability detection table 115 holds information elements of a fully qualified domain name (FQDN), presence / absence of AAAA resource record (AAAAA presence / absence), virtual AAAA resource record (virtual AAAA RR), source IPv4 address, and source IPv6 address. It is a table to do. The IPv6 communication failure detection table 115 is used by the IPv6 communication failure detection module 117.

ゲートウェイ102自体は図示しないがCPU(Central Processing Unit)や、CPUが実行するプログラムを格納した記憶媒体(メモリ)を備えている。したがって、図7に示したDNSリゾルバ111等の各機能部品は、ハードウェアで構成してもよいが、CPUがプログラムを実行することでソフトウェア的に実現させることも可能である。   Although not shown, the gateway 102 itself includes a CPU (Central Processing Unit) and a storage medium (memory) that stores a program executed by the CPU. Therefore, each functional component such as the DNS resolver 111 shown in FIG. 7 may be configured by hardware, but can also be realized by software by the CPU executing a program.

一方、インターネット101上に配置されたDNSサーバ108は、第1および第2の端末104、105やゲートウェイ102からの名前解決要求に応じて、正引き処理や逆引き処理等の処理を行うサーバである。また、第1のWWWサーバ106はIPv6プロトコルスタックを搭載しており、IPv6によるWWWサービスの提供を行う。第2のWWWサーバ107はIPv4プロトコルスタックを搭載しており、IPv4によるWWWサービスの提供を行う。   On the other hand, the DNS server 108 disposed on the Internet 101 is a server that performs processing such as forward lookup processing and reverse lookup processing in response to name resolution requests from the first and second terminals 104 and 105 and the gateway 102. is there. The first WWW server 106 is equipped with an IPv6 protocol stack and provides a WWW service based on IPv6. The second WWW server 107 is equipped with an IPv4 protocol stack and provides a WWW service based on IPv4.

図8は、以上のような構成のリソースレコード制御システムでDNSにおけるリソースレコード制御の様子を示したものである。ここでは、IPv6通信を抑制する動作シーケンスでの動作を示す。図6および図7と共に説明する。   FIG. 8 shows a state of resource record control in DNS in the resource record control system having the above configuration. Here, an operation in an operation sequence for suppressing IPv6 communication is shown. This will be described with reference to FIGS.

ローカルネットワーク103上の通信端末である第1または第2の端末104、105が、ドメイン名に対するIPアドレスを調べるためにゲートウェイ102に対してDNS問合せとして、名前解決の要求を行ったとする(ステップS201)。ここではドメイン名「www.ghi.example.jp」に対するIPアドレスを調べるものとする。   Assume that the first or second terminal 104 or 105, which is a communication terminal on the local network 103, makes a name resolution request as a DNS query to the gateway 102 in order to check the IP address for the domain name (step S201). ). Here, the IP address for the domain name “www.ghi.example.jp” is examined.

ゲートウェイ102内のDNSサーバモジュール113は、DNSリゾルバ111に対して名前解決の処理を依頼する。DNSリゾルバ111はこの依頼を受けて、DNSサーバ108に対してドメイン名「www.ghi.example.jp」に対する名前解決の要求を行う(ステップS202)。   The DNS server module 113 in the gateway 102 requests the DNS resolver 111 to perform name resolution processing. In response to this request, the DNS resolver 111 requests the DNS server 108 for name resolution for the domain name “www.ghi.example.jp” (step S202).

DNSサーバ108は、DNS応答としてAおよびAAAAリソースレコードをゲートウェイ102に応答する(ステップS203)。ゲートウェイ102内のDNSリゾルバ111は、DNSキャッシュテーブル112に結果を記録すると共に、DNSサーバモジュール113に結果を返す。   The DNS server 108 returns A and AAAA resource records as a DNS response to the gateway 102 (step S203). The DNS resolver 111 in the gateway 102 records the result in the DNS cache table 112 and returns the result to the DNS server module 113.

DNSサーバモジュール113は、この結果を基にしてRR制御ポリシテーブル114を参照する。そして、ポリシに応じて、リソースレコードを制御して(ステップS204)、応答する(ステップS205)。   The DNS server module 113 refers to the RR control policy table 114 based on this result. Then, the resource record is controlled according to the policy (step S204), and a response is made (step S205).

図9は、RR制御ポリシテーブルの一例を表わしたものである。RR制御ポリシテーブル114には、完全修飾ドメイン名(FQDN)のそれぞれに対して、使用を許可する許可リソースレコード(RR)と、使用を禁止する禁止リソースレコード(RR)が設定できるようになっている。今回のリソースレコード制御の対象となるドメイン名「www.ghi.example.jp」については、Aリソースレコードが許可リソースレコードとして設定されている。Aリソースレコードの「A」は「Address」の略語である。   FIG. 9 shows an example of the RR control policy table. In the RR control policy table 114, for each fully qualified domain name (FQDN), a permitted resource record (RR) that permits use and a prohibited resource record (RR) that prohibits use can be set. Yes. For the domain name “www.ghi.example.jp” that is the target of the current resource record control, the A resource record is set as the permitted resource record. “A” in the A resource record is an abbreviation for “Address”.

本実施の形態で例示したRR制御ポリシテーブル114には、完全修飾ドメイン名「www.ghi.example.jp」についての許可リソースレコードにAAAAリソースレコードを設定していない。   In the RR control policy table 114 exemplified in the present embodiment, no AAA resource record is set in the permitted resource record for the fully qualified domain name “www.ghi.example.jp”.

このようにRR制御ポリシテーブル114には、完全修飾ドメイン名「www.ghi.example.jp」についての許可リソースレコードとしてAリソースレコードのみを設定している。このため、DNSサーバモジュール113はAリソースレコードのみを第1および第2の端末104、105に応答するための処理を行う(図9ステップS204)。ゲートウェイ102は第1および第2の端末104、105にAリソースレコードを結果としてDNS応答する(ステップS205)。   Thus, in the RR control policy table 114, only the A resource record is set as the permitted resource record for the fully qualified domain name “www.ghi.example.jp”. For this reason, the DNS server module 113 performs a process for responding only the A resource record to the first and second terminals 104 and 105 (step S204 in FIG. 9). The gateway 102 sends a DNS response as a result of the A resource record to the first and second terminals 104 and 105 (step S205).

第1および第2の端末104、105は、得られた結果がAリソースレコードであるため、IPv4プロトコルを用いて、IPv4用の第2のWWWサーバ107に対してHTTP(Hypertext Transfer Protocol)接続要求を行う(ステップS206)。そして、IPv4用の第2のWWWサーバ107からHTTP応答を得ることで(ステップS207)、第2のWWWサーバ107との通信が行われることになる。   Since the obtained result is an A resource record, the first and second terminals 104 and 105 use the IPv4 protocol to request an HTTP (Hypertext Transfer Protocol) connection to the second WWW server 107 for IPv4. Is performed (step S206). Then, by obtaining an HTTP response from the second WWW server 107 for IPv4 (step S207), communication with the second WWW server 107 is performed.

なお、図9に示したRR制御ポリシテーブル114の中には、「−(ハイフン)」で示した箇所がある。DNS応答で使用されるリソースレコード(RR)は、このRR制御ポリシテーブル114内で示したAリソースレコード、AAAAリソースレコードおよびPTR(PoinTeR)リソースレコード以外にも多くの種類がある。そこで図9では、該当する完全修飾ドメイン名(FQDN)で表示しているリソースレコード以外を総括的に「−」で示している。   In the RR control policy table 114 shown in FIG. 9, there is a part indicated by “− (hyphen)”. There are many types of resource records (RR) used in the DNS response other than the A resource record, AAAA resource record, and PTR (PoinTeR) resource record shown in the RR control policy table 114. Therefore, in FIG. 9, the resource records other than the resource record displayed by the corresponding fully qualified domain name (FQDN) are collectively indicated by “−”.

たとえば、完全修飾ドメイン名が「abc.example.jp」の欄では、許可リソースレコード(RR)がAリソースレコードとPTRリソースレコードになっている。したがって、禁止リソースレコード(RR)における「−」は、AAAAリソースレコードを含み、AリソースレコードとPTRリソースレコードを除外した残りすべてのリソースレコードを意味していることになる。   For example, in the field where the fully qualified domain name is “abc.example.jp”, the permitted resource record (RR) is an A resource record and a PTR resource record. Therefore, “-” in the prohibited resource record (RR) means all remaining resource records including the AAAA resource record and excluding the A resource record and the PTR resource record.

以上のように本実施の形態では、DNSサーバ108の名前解決によって得られたAリソースレコードとAAAAリソースレコードのうちのAAAAリソースレコードを、IPv4用の第2のWWWサーバ107で問題を引き起こす可能性があるとするポリシの下でゲートウェイ102内のDNSサーバモジュール113が排除した。このような本実施の形態のDNSにおけるリソースレコード制御システム100では、IPv6通信を抑制する動作シーケンスの存在によって、問題の発生を回避することが可能になる。   As described above, in the present embodiment, the AAA resource record of the A resource record and the AAAA resource record obtained by the name resolution of the DNS server 108 may cause a problem in the second WWW server 107 for IPv4. The DNS server module 113 in the gateway 102 has been excluded under the policy that there is. In the resource record control system 100 in the DNS of this embodiment as described above, the occurrence of a problem can be avoided by the presence of an operation sequence that suppresses IPv6 communication.

<発明の第1の変形例>   <First Modification of Invention>

以上説明した実施の形態では、ローカルネットワーク内に複数の端末が存在している場合におけるこれらの端末のアプリケーションプログラムに共通のリソースレコードを設定するシステムを説明した。これとは異なり、ローカルネットワーク内に複数の通信端末が存在する場合には、これらの通信端末ごとにアプリケーションプログラムとの関係で適切なリソースレコードを返すようになっていてもよい。   In the embodiment described above, the system has been described in which a common resource record is set in the application program of these terminals when there are a plurality of terminals in the local network. On the other hand, when there are a plurality of communication terminals in the local network, an appropriate resource record may be returned for each of these communication terminals in relation to the application program.

図10は、本発明の第1の変形例におけるRR制御ポリシテーブルの構成を表わしたものである。この変形例のRR制御ポリシテーブル114Aは、図9に示した先の実施の形態のRR制御ポリシテーブル114と比べて、送信元MACアドレスと、送信元IPv4とIPv6のアドレスが新たな項目として追加されている。これは、送信側の通信端末のアプリケーションプログラムがIPv6に対応できるか等の状況を加味して、より適切なサーバ等の相手方通信装置の選択を可能にするためである。RR制御ポリシテーブル114Aには事前に登録された送信元端末ごとのポリシが登録されているため、同一の完全修飾ドメイン名(FQDN)に対する名前解決であっても、信元端末ごとに異なる応答を返すことが可能になる。   FIG. 10 shows the configuration of the RR control policy table in the first modification of the present invention. Compared to the RR control policy table 114 of the previous embodiment shown in FIG. 9, the RR control policy table 114A of this modified example adds the source MAC address and the addresses of the source IPv4 and IPv6 as new items. Has been. This is in order to enable selection of a more appropriate counterpart communication device such as a server in consideration of whether the application program of the communication terminal on the transmission side can support IPv6. Since the policy for each transmission source terminal registered in advance is registered in the RR control policy table 114A, even if name resolution is performed for the same fully qualified domain name (FQDN), a different response is provided for each transmission source terminal. It becomes possible to return.

図11は、この第1の変形例のリソースレコード制御システムでDNSにおけるリソースレコード制御の様子を示したものである。図6、図7および図10と共に説明する。   FIG. 11 shows the state of resource record control in DNS in the resource record control system of the first modification. This will be described with reference to FIGS. 6, 7 and 10.

まず、時刻t1に第1の端末104が、ドメイン名に対するIPアドレスを調べるためにゲートウェイ102に対してDNS問合せとして、名前解決の要求を行ったとする(ステップS221)。ここではドメイン名「www.example.com」に対するIPアドレスを調べるものとする。 First, it is assumed that the first terminal 104 makes a name resolution request as a DNS inquiry to the gateway 102 to check the IP address for the domain name at time t 1 (step S221). Here, the IP address for the domain name “www.example.com” is checked.

ゲートウェイ102内のDNSサーバモジュール113は、DNSリゾルバ111に対して名前解決の処理を依頼する。DNSリゾルバ111はこの依頼を受けて、DNSサーバ108に対してドメイン名「www.example.com」に対する名前解決の要求を行う(ステップS222)。   The DNS server module 113 in the gateway 102 requests the DNS resolver 111 to perform name resolution processing. In response to this request, the DNS resolver 111 requests the DNS server 108 for name resolution for the domain name “www.example.com” (step S222).

DNSサーバ108は、DNS応答としてAおよびAAAAリソースレコードをゲートウェイ102に応答する(ステップS223)。ゲートウェイ102内のDNSリゾルバ111は、DNSキャッシュテーブル112に結果を記録すると共に、DNSサーバモジュール113に結果を返す。   The DNS server 108 responds to the gateway 102 with the A and AAAA resource records as a DNS response (step S223). The DNS resolver 111 in the gateway 102 records the result in the DNS cache table 112 and returns the result to the DNS server module 113.

DNSサーバモジュール113は、この結果を基にしてRR制御ポリシテーブル114を参照する。そして、ポリシに応じて、リソースレコードを制御して(ステップS224)、応答する(ステップS225)。具体的には、図10の「送信元IPv4アドレス」が「192.168.1.1」の通信端末が第1の端末104であるとして、完全修飾ドメイン名(FQDN)が「www.example.com」に対する禁止RRのAAAAリソースレコードが適用される。この結果、ゲートウェイ102AからのDNS応答は、AAAAリソースレコードを排除してAリソースレコードとなる(ステップS225)。   The DNS server module 113 refers to the RR control policy table 114 based on this result. Then, the resource record is controlled according to the policy (step S224), and a response is made (step S225). Specifically, assuming that the communication terminal having “source IPv4 address” “192.168.1.1” in FIG. 10 is the first terminal 104, the fully qualified domain name (FQDN) is “www.example. The AAA resource record of the forbidden RR for “com” is applied. As a result, the DNS response from the gateway 102A becomes an A resource record by excluding the AAAA resource record (step S225).

第1の端末104は、得られた結果がAリソースレコードであるため、IPv4プロトコルを用いて、IPv4用の第2のWWWサーバ107に対してHTTP接続要求を行う(ステップS226)。そして、IPv4用の第2のWWWサーバ107からHTTP応答を得ることで(ステップS227)、第2のWWWサーバ107との通信が行われることになる。   Since the obtained result is the A resource record, the first terminal 104 makes an HTTP connection request to the second WWW server 107 for IPv4 using the IPv4 protocol (step S226). Then, by obtaining an HTTP response from the second WWW server 107 for IPv4 (step S227), communication with the second WWW server 107 is performed.

次に、時刻t2に第2の端末105が、ドメイン名に対するIPアドレスを調べるためにゲートウェイ102に対して名前解決の要求を行ったとする(ステップS241)。ここでもドメイン名「www.example.com」に対するIPアドレスを調べるものとする。 Next, a second terminal 105 at time t 2 it is assumed that the requesting name resolution for the gateway 102 to determine the IP address for the domain name (step S241). Here again, the IP address for the domain name “www.example.com” is examined.

ゲートウェイ102内のDNSサーバモジュール113は、DNSリゾルバ111に対して名前解決の処理を依頼する。DNSリゾルバ111はこの依頼を受けて、DNSサーバ108に対してドメイン名「www.example.com」に対する名前解決の要求を行う(ステップS242)。   The DNS server module 113 in the gateway 102 requests the DNS resolver 111 to perform name resolution processing. In response to this request, the DNS resolver 111 requests the DNS server 108 for name resolution for the domain name “www.example.com” (step S242).

DNSサーバ108は、DNS応答としてAおよびAAAAリソースレコードをゲートウェイ102に応答する(ステップS243)。ゲートウェイ102内のDNSリゾルバ111は、DNSキャッシュテーブル112に結果を記録すると共に、DNSサーバモジュール113に結果を返す。   The DNS server 108 returns the A and AAAA resource records to the gateway 102 as a DNS response (step S243). The DNS resolver 111 in the gateway 102 records the result in the DNS cache table 112 and returns the result to the DNS server module 113.

DNSサーバモジュール113は、この結果を基にしてRR制御ポリシテーブル114を参照する。そして、ポリシに応じて、リソースレコードを制御して(ステップS244)、応答する(ステップS245)。具体的には、図10の「送信元IPv4アドレス」が「192.168.1.2」の通信端末が第2の端末105であるとして、完全修飾ドメイン名(FQDN)が「www.example.jp」に対する許可RRのAリソースレコード、AAAAリソースレコードおよびPTR(PoinTeR)レコードが適用される。PTRレコードは、IPアドレスからホスト名への変換のためのレコードである。この結果、ゲートウェイ102AからのDNS応答は、AリソースレコードおよびAAAAリソースレコードとなる(ステップS245)。   The DNS server module 113 refers to the RR control policy table 114 based on this result. Then, the resource record is controlled according to the policy (step S244), and a response is made (step S245). Specifically, assuming that the communication terminal having the “source IPv4 address” of “192.168.1.2” in FIG. 10 is the second terminal 105, the fully qualified domain name (FQDN) is “www.example. A resource record, AAAA resource record, and PTR (PoinTeR) record of permission RR for “jp” are applied. The PTR record is a record for conversion from an IP address to a host name. As a result, the DNS response from the gateway 102A becomes an A resource record and an AAAA resource record (step S245).

第2の端末105は、得られた結果がAリソースレコードおよびAAAAリソースレコードであるため、IPv6プロトコルを用いて、IPv6用の第1のWWWサーバ106に対してHTTP接続要求を行う(ステップS246)。そして、IPv6用の第1のWWWサーバ106からHTTP応答を得ることで(ステップS247)、第1のWWWサーバ106との通信が行われることになる。   Since the obtained results are the A resource record and the AAAA resource record, the second terminal 105 makes an HTTP connection request to the first WWW server 106 for IPv6 using the IPv6 protocol (step S246). . Communication with the first WWW server 106 is performed by obtaining an HTTP response from the first WWW server 106 for IPv6 (step S247).

このように本発明の第1の変形例によれば、第2の端末105は、先の実施の形態と異なりIPv6用の第1のWWWサーバ106との通信が可能である。   As described above, according to the first modification of the present invention, the second terminal 105 can communicate with the first WWW server 106 for IPv6 unlike the previous embodiment.

<発明の第2の変形例>   <Second Modification of Invention>

以上説明した実施の形態および第1の変形例では、RR制御ポリシテーブル114、114Aをシステム側が予め用意する必要があった。本発明の第2の変形例では、IPv6未対応アプリケーションの検出およびTCPフォールバック事象の検出を行って、検出結果をRR制御ポリシテーブルに自動的に登録できるようにした。   In the embodiment and the first modification described above, the RR control policy tables 114 and 114A need to be prepared in advance by the system side. In the second modification of the present invention, detection of an application that does not support IPv6 and detection of a TCP fallback event are performed, and the detection result can be automatically registered in the RR control policy table.

図12は、ゲートウェイで行われるRR制御ポリシテーブルについての登録処理の様子を表わしたものである。図6および図7と共に説明する。   FIG. 12 shows the state of registration processing for the RR control policy table performed in the gateway. This will be described with reference to FIGS.

ゲートウェイ102の前記したCPUは第1あるいは第2の端末104、105から、ドメイン名に対するIPアドレスを調べるために名前解決の要求が行われるのを待機している(ステップS261)。このDNSに対する問合わせがあると(Y)、ゲートウェイ102ではIPv6通信不能検出モジュール117がDNSリゾルバ111に対して名前解決の処理を依頼し、DNSリゾルバ111は、DNSサーバ108に対して名前解決の要求(問合わせ)を行う(ステップS262)。   The CPU of the gateway 102 waits for a request for name resolution to check the IP address for the domain name from the first or second terminal 104 or 105 (step S261). When there is an inquiry about this DNS (Y), in the gateway 102, the IPv6 communication inability detection module 117 requests the DNS resolver 111 to perform name resolution processing, and the DNS resolver 111 sends the name resolution to the DNS server 108. A request (inquiry) is made (step S262).

これに対してDNSサーバ108からDNSが受信されると(ステップS263:Y)、ゲートウェイ102が仮想AAAA応答処理を実行する(ステップS264)。具体的には、ゲートウェイ102内のDNSリゾルバ111が、DNSキャッシュテーブル112にDNSサーバ108から得られた結果を記録する。この後、IPv6通信不能検出モジュール117に結果が返される。   In contrast, when a DNS is received from the DNS server 108 (step S263: Y), the gateway 102 executes a virtual AAAA response process (step S264). Specifically, the DNS resolver 111 in the gateway 102 records the result obtained from the DNS server 108 in the DNS cache table 112. Thereafter, the result is returned to the IPv6 communication inability detection module 117.

IPv6通信不能検出モジュール117は、DNS応答にAAAAリソースレコードが含まれているか否かをIPv6通信不能検出テーブル115に記録すると共に、仮想AAAAリソースレコード(RR)(仮想のIPv6アドレス)を、問合わせを行った第1あるいは第2の端末104、105に応答(DNS応答)する(ステップS265)。   The IPv6 communication failure detection module 117 records whether or not an AAAA resource record is included in the DNS response in the IPv6 communication failure detection table 115, and queries a virtual AAAA resource record (RR) (virtual IPv6 address). A response (DNS response) is made to the first or second terminal 104 or 105 that has performed (step S265).

図13は、この第2の変形例で使用されるIPv6通信不能検出テーブルの一例を示したものである。IPv6通信不能検出テーブル115の「AAAA有無」の欄には、DNS応答にAAAAリソースレコードが含まれているか否かを「あり」または「なし」で記録するようになっている。また、「仮想AAAAリソースレコード(RR)」欄には、完全修飾ドメイン名(FQDN)に対応した仮想AAAAリソースレコードが予め記載されている。   FIG. 13 shows an example of the IPv6 communication inability detection table used in the second modification. In the "AAA presence / absence" column of the IPv6 communication inability detection table 115, whether or not an AAAA resource record is included in the DNS response is recorded as "Yes" or "No". In the “virtual AAAA resource record (RR)” column, a virtual AAAA resource record corresponding to the fully qualified domain name (FQDN) is described in advance.

図12のステップS265の処理が行われた後、IPv6通信不能検出モジュール117は、名前解決の要求を行った第1あるいは第2の端末104、105が仮想AAAAリソースレコード宛の通信を行ってくるかを確認する(ステップS266)。この確認は、予め定めた時間t1以内に仮想AAAAリソースレコード宛の通信が開始したかによってチェックされる(ステップS266:N、ステップS267)。 After the process of step S265 of FIG. 12 is performed, the IPv6 communication inability detection module 117 performs communication addressed to the virtual AAAA resource record by the first or second terminal 104 or 105 that has requested name resolution. (Step S266). This confirmation is checked based on whether communication addressed to the virtual AAAA resource record has started within a predetermined time t 1 (step S266: N, step S267).

名前解決の要求が仮に第1の端末104によって行われたとする。第1の端末104のアプリケーションプログラムはIPv4には対応する。しかしながらこれらのアプリケーションプログラムの中には、IPv6に未対応のものが存在している。したがってIPv6に未対応のアプリケーションプログラムが稼働した場合、仮想AAAAリソースレコード宛の通信が開始することはない。一方、名前解決の要求が第2の端末105によって行われた場合には、IPv6に対応するアプリケーションプログラムが稼働することで、仮想AAAAリソースレコード宛の通信が時間t1以内に行われようとする可能性が高い。 Assume that a request for name resolution is made by the first terminal 104. The application program of the first terminal 104 corresponds to IPv4. However, some of these application programs do not support IPv6. Therefore, when an application program that does not support IPv6 operates, communication addressed to the virtual AAAA resource record does not start. On the other hand, when a request for name resolution is made by the second terminal 105, an application program corresponding to IPv6 is operated, and communication addressed to the virtual AAAA resource record is likely to be performed within time t 1. Probability is high.

そこで、時間t1以内に仮想AAAAリソースレコード宛の通信がなければ(ステップS226:N、ステップS267:Y)、IPv6通信不能検出モジュール117は該当する端末内にIPv6未対応アプリケーションプログラムが存在していると判断する。この場合、IPv6通信不能検出モジュール117は、RR制御ポリシテーブル114の該当する完全修飾ドメイン名(FQDN)にAAAAリソースレコードを禁止リソースレコード(RR)として登録する(ステップS268)。この後、処理はステップS261に戻る(リターン)。 Therefore, if there is no communication addressed to the virtual AAAA resource record within time t 1 (step S226: N, step S267: Y), the IPv6 communication inability detection module 117 has an IPv6 incompatible application program in the corresponding terminal. Judge that In this case, the IPv6 communication failure detection module 117 registers the AAAA resource record as a prohibited resource record (RR) in the corresponding fully qualified domain name (FQDN) of the RR control policy table 114 (step S268). Thereafter, the process returns to step S261 (return).

ところで、時間t1以内に仮想AAAAリソースレコード宛の通信があった場合には(ステップS266:Y)、これがIPv6からIPv4へのフォールバック事象の発生によるものであるかを確認する必要がある。そこで、この場合、IPv6通信不能検出モジュール117は、名前解決の要求を行った第1あるいは第2の端末104、105が通信に使用した同じプロトコルと同じポート番号を使用して、名前解決により得られたAAAAリソースレコードのIPv6アドレス宛に通信が可能かを確認する(ステップS269)。この通信が不可能な場合には(N)、前記したフォールバック事象が発生していると判断して、RR制御ポリシテーブル114の該当する完全修飾ドメイン名(FQDN)にAAAAリソースレコードを禁止リソースレコード(RR)として登録する(ステップS268)。この後、処理はステップS261に戻る(リターン)。 By the way, when there is communication addressed to the virtual AAAA resource record within time t 1 (step S266: Y), it is necessary to confirm whether this is due to the occurrence of a fallback event from IPv6 to IPv4. Therefore, in this case, the IPv6 communication failure detection module 117 uses the same port number as the same protocol used for communication by the first or second terminal 104 or 105 that has requested the name resolution, and obtains it by name resolution. It is confirmed whether or not communication is possible with the IPv6 address of the AAAA resource record that has been received (step S269). If this communication is not possible (N), it is determined that the fallback event described above has occurred, and the AAAA resource record is prohibited from the corresponding fully qualified domain name (FQDN) in the RR control policy table 114. Register as a record (RR) (step S268). Thereafter, the process returns to step S261 (return).

この例の場合、ステップS269で名前解決により得られたAAAAリソースレコードのIPv6アドレス宛に通信が可能であった場合(Y)、特に許可RRとして登録を行うことなく、処理はステップS261に戻る(リターン)。処理内容によっては、名前解決の要求を行った端末について許可リソースレコード(RR)の登録を行うようにしてもよい。   In the case of this example, if communication is possible to the IPv6 address of the AAAA resource record obtained by name resolution in step S269 (Y), the process returns to step S261 without particularly registering as an allowed RR ( return). Depending on the processing contents, the authorized resource record (RR) may be registered for the terminal that has requested the name resolution.

このように本発明の第2の変形例によれば、ゲートウェイにDNSサーバモジュール113、RR制御ポリシテーブル114、IPv6通信不能検出テーブル115およびIPv6通信不能検出モジュール117を有することにした。これにより、端末のアプリケーションプログラムを入れ換えたりしたような場合にも、システムの管理者に負担を掛けずにRR制御ポリシテーブル114の変更が可能になるという利点が生じる。   As described above, according to the second modification of the present invention, the gateway includes the DNS server module 113, the RR control policy table 114, the IPv6 communication inability detection table 115, and the IPv6 communication inability detection module 117. As a result, even when the terminal application program is replaced, there is an advantage that the RR control policy table 114 can be changed without placing a burden on the system administrator.

なお、以上説明した実施の形態および変形例では、ローカルネットワーク上の端末(デュアルスタック端末)104、105が名前解決要求を行った場合を説明したが、ローカルネットワーク上の端末からの名前解決要求に限定されるものでないことはもちろんである。   In the embodiment and the modification described above, the case where the terminals (dual stack terminals) 104 and 105 on the local network make a name resolution request has been described. Of course, it is not limited.

また、端末(デュアルスタック端末)104、105からDNSサーバ108に送られるDNS問合わせを受信するゲートウェイは、ネットワーク間の中継装置という広義の意味で使用しており、ルータ等の他の名称のものもDNS問合わせを中継する機能を備えていれば本発明が適用されることは当然である。   The gateway that receives a DNS query sent from the terminals (dual stack terminals) 104 and 105 to the DNS server 108 is used in a broad sense as a relay device between networks, and has another name such as a router. Of course, the present invention is applicable if it has a function of relaying DNS inquiries.

以上説明した実施の形態の一部または全部は、以下の付記のようにも記載されるが、以下の記載に限定されるものではない。   Some or all of the embodiments described above are described as in the following supplementary notes, but are not limited to the following descriptions.

(付記1)
IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末と、
所定のネットワークを介して送られてくる名前解決要求を受信して該当する通信相手のドメイン名に対するリソースレコードを要求先に応答するDNS(Domain Name System)サーバと、
前記デュアルスタック端末から名前解決要求が送られてきたときこれを受信して前記DNSサーバに送信する名前解決要求送信手段と、この名前解決要求送信手段の送信した名前解決要求に対して前記DNSサーバから返答として送られてくるリソースレコードを受信するリソースレコード受信手段と、通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードをポリシとして定めたリソースレコード制御ポリシテーブルと、前記リソースレコード受信手段の受信したリソースレコードを基にしてこのリソースレコード制御ポリシテーブルを参照し前記名前解決要求を行ったデュアルスタック端末に対して通信相手のドメインと通信するためのDNS応答を行うDNS応答手段とを備えたゲートウェイ
とを具備することを特徴とするリソースレコード制御システム。
(Appendix 1)
A dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack;
A DNS (Domain Name System) server that receives a name resolution request sent via a predetermined network and responds to the request destination with a resource record for the domain name of the corresponding communication partner;
Name resolution request transmission means for receiving a name resolution request from the dual stack terminal and transmitting it to the DNS server, and the DNS server for the name resolution request transmitted by the name resolution request transmission means A resource record receiving means for receiving a resource record sent as a reply from a resource record, a resource record control policy table in which a resource record that permits use or a resource record that prohibits use is defined as a policy for each domain name of a communication partner, A DNS response is made to communicate with the communication partner domain to the dual stack terminal that has made the name resolution request by referring to the resource record control policy table based on the resource record received by the resource record receiving means. Gate with response means Resource record control system characterized by comprising the E b.

(付記2)
前記リソースレコード制御ポリシテーブルは、前記デュアルスタック端末および通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードを個別に設定していることを特徴とする付記1記載のリソースレコード制御システム。
(Appendix 2)
The resource record according to claim 1, wherein the resource record control policy table individually sets a resource record that permits use or a resource record that prohibits use for each domain name of the dual stack terminal and the communication partner. Record control system.

(付記3)
前記リソースレコード制御ポリシテーブルは、前記デュアルスタック端末が前記通信相手と通信する際に稼働するアプリケーションプログラムがIPv6で不適合である場合を前提としたIPv6通信を抑制するポリシで作成された内容であることを特徴とする付記1または付記2記載のリソースレコード制御システム。
(Appendix 3)
The resource record control policy table is a content created by a policy that suppresses IPv6 communication on the assumption that an application program that operates when the dual stack terminal communicates with the communication partner is incompatible with IPv6. A resource record control system according to supplementary note 1 or supplementary note 2, characterized by:

(付記4)
前記リソースレコード制御ポリシテーブルには、通信を許可する許可リソースレコードあるいは通信を禁止する禁止リソースレコードが通信相手のドメイン名としての完全修飾ドメイン名(FQDN:Fully Qualified Domain Name)に対応付けて記載されていることを特徴とする付記2記載のリソースレコード制御システム。
(Appendix 4)
In the resource record control policy table, a permitted resource record that permits communication or a prohibited resource record that prohibits communication is described in association with a fully qualified domain name (FQDN) as a domain name of a communication partner. The resource record control system according to appendix 2, characterized in that:

(付記5)
前記ゲートウェイは、前記デュアルスタック端末からのすべての名前解決要求に対して仮想のAAAAリソースレコードを応答する仮想のAAAAリソースレコード応答手段と、この仮想のAAAAリソースレコードに対して前記デュアルスタック端末がIPv6通信を行うか否かを判別するIPv6通信可否判別手段と、このIPv6通信可否判別手段がIPv6通信を可能と判別したとき前記デュアルスタック端末の該当するアプリケーションプログラムがIPv6通信に対応していると判別するアプリケーション対応判別手段とを具備することを特徴とする付記1記載のリソースレコード制御システム。
(Appendix 5)
The gateway includes a virtual AAAA resource record response unit that responds to a virtual AAAA resource record in response to all name resolution requests from the dual stack terminal, and the dual stack terminal uses IPv6 to respond to the virtual AAAA resource record. IPv6 communication enable / disable determining means for determining whether or not to perform communication, and when the IPv6 communication enable / disable determining means determines that IPv6 communication is possible, it is determined that the corresponding application program of the dual stack terminal is compatible with IPv6 communication. The resource record control system according to appendix 1, further comprising: an application correspondence determination unit.

(付記6)
前記リソースレコード制御ポリシテーブルには、前記アプリケーション対応判別手段によって前記デュアルスタック端末の該当するアプリケーションプログラムがIPv6通信に対応していると判別したものに対してフォールバック事象が発生している場合を除き、IPv6通信を許可する許可リソースレコードが記載されることを特徴とする付記5記載のリソースレコード制御システム。
(Appendix 6)
In the resource record control policy table, a case where a fallback event has occurred with respect to what is determined that the corresponding application program of the dual stack terminal is compatible with IPv6 communication by the application correspondence determining means The resource record control system according to appendix 5, wherein a permitted resource record permitting IPv6 communication is described.

(付記7)
前記リソースレコード制御ポリシテーブルには、前記アプリケーション対応可否判別手段によって前記デュアルスタック端末の該当するアプリケーションプログラムがIPv6通信に対応していないと判別したものに対してIPv6通信を禁止する禁止リソースレコードが記載されることを特徴とする付記5記載のリソースレコード制御システム。
(Appendix 7)
In the resource record control policy table, a prohibited resource record for prohibiting IPv6 communication is described for the application program that has been determined by the application availability determination unit that the corresponding application program of the dual stack terminal does not support IPv6 communication. The resource record control system according to appendix 5, wherein

(付記8)
前記ゲートウェイは、名前解決の要求を行った前記デュアルスタック端末が通信に使用した同じプロトコルと同じポート番号を使用して、名前解決により得られたAAAAリソースレコードのIPv6アドレス宛に通信が可能か否かを判別する同一プロトコル・同一ポート番号通信判別手段と、この同一プロトコル・同一ポート番号通信判別手段で所定時間内に仮想AAAAリソースレコード宛の通信が可能でないと判別されたときフォールバック事象が発生したものと判別するフォールバック事象判別手段を具備することを特徴とする付記5記載のリソースレコード制御システム。
(Appendix 8)
Whether the gateway is able to communicate to the IPv6 address of the AAAA resource record obtained by name resolution using the same port number as the same protocol used for communication by the dual stack terminal that has requested name resolution. When the same protocol / same port number communication discriminating means and the same protocol / same port number communication discriminating means determine that communication addressed to the virtual AAAA resource record is not possible within a predetermined time, a fallback event occurs. 6. The resource record control system according to appendix 5, further comprising fallback event determination means for determining whether or not it has been performed.

(付記9)
IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれを受信してDNS(Domain Name System)サーバに送信する名前解決要求送信ステップと、
この名前解決要求送信ステップで送信した名前解決要求の返答として前記DNSサーバから送られてくるリソースレコードを受信するリソースレコード受信ステップと、
このリソースレコード受信ステップで受信したリソースレコードを基にして、通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードをポリシとして定めたリソースレコード制御ポリシテーブルを参照して前記名前解決要求を行ったデュアルスタック端末に対して通信相手のドメインと通信するためのDNS応答を行うDNS応答ステップ
とを具備することを特徴とするリソースレコード制御方法。
(Appendix 9)
When a name resolution request is sent from a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, it is received and sent to a DNS (Domain Name System) server. A name resolution request sending step to send;
A resource record receiving step for receiving a resource record sent from the DNS server as a response to the name resolution request sent in the name resolution request sending step;
Based on the resource record received in this resource record receiving step, refer to the resource record control policy table in which the resource record that permits use or the resource record that prohibits use is defined as a policy for each domain name of the communication partner A resource record control method, comprising: a DNS response step of performing a DNS response for communicating with a communication partner domain to a dual stack terminal that has made a name resolution request.

(付記10)
IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれをゲートウェイとして受信してDNS(Domain Name System)サーバに送信する名前解決要求送信ステップと、
この名前解決要求送信ステップで送信した名前解決要求に対して前記DNSサーバからAAAAリソースレコードがDNS応答として送られてきたときこれを前記デュアルスタック端末にDNS応答として返信するDNS応答返信ステップと、
このDNS応答返信ステップで返信した前記デュアルスタック端末がこの返信に基づいて所定時間内に仮想AAAAリソースレコード宛の通信を行ってくるかを判別する通信有無判別ステップと、
この通信有無判別ステップで前記所定時間内に仮想AAAAリソースレコード宛の通信を行ってこないとき前記デュアルスタック端末内にIPv6未対応アプリケーションプログラムが存在していると判断する未対応プログラム存在判別ステップと、
前記通信有無判別ステップで前記所定時間内に仮想AAAAリソースレコード宛の通信があった場合、これがIPv6からIPv4へのフォールバック事象の発生によるものであるかを判別するフォールバック事象発生有無判別ステップと、
このフォールバック事象発生有無判別ステップでフォールバック事象が発生していないと判別されたとき前記デュアルスタック端末にIPv6対応のアプリケーションプログラムが存在していると判断する対応プログラム存在判別ステップ
とを具備することを特徴とするアプリケーション判別方法。
(Appendix 10)
When a name resolution request is sent from a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, it is received as a gateway and DNS (Domain Name System) A name resolution request sending step to send to the server;
In response to the name resolution request transmitted in the name resolution request transmission step, when an AAAA resource record is sent as a DNS response from the DNS server, a DNS response reply step of returning the AAA resource record as a DNS response to the dual stack terminal;
A communication presence / absence determination step for determining whether the dual stack terminal returned in the DNS response return step performs communication addressed to the virtual AAAA resource record within a predetermined time based on the response;
An unsupported program presence determining step for determining that an IPv6 unsupported application program exists in the dual stack terminal when the communication addressed to the virtual AAAA resource record is not performed within the predetermined time in the communication presence / absence determining step;
A fallback event occurrence presence / absence judging step for judging whether or not the communication is addressed to the virtual AAAA resource record within the predetermined time in the communication presence / absence judgment step; ,
A corresponding program existence determining step for determining that an IPv6-compatible application program exists in the dual stack terminal when it is determined in the fallback event occurrence determining step that no fallback event has occurred. An application discrimination method characterized by the above.

(付記11)
ゲートウェイのコンピュータに、
IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれを受信してDNS(Domain Name System)サーバに送信する名前解決要求送信処理と、
この名前解決要求送信処理で送信した名前解決要求の返答として前記DNSサーバから送られてくるリソースレコードを受信するリソースレコード受信処理と、
このリソースレコード受信処理で受信したリソースレコードを基にして、通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードをポリシとして定めたリソースレコード制御ポリシテーブルを参照して前記名前解決要求を行ったデュアルスタック端末に対して通信相手のドメインと通信するためのDNS応答を行うDNS応答処理
とを実行させることを特徴とするリソースレコード制御プログラム。
(Appendix 11)
On the gateway computer,
When a name resolution request is sent from a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, it is received and sent to a DNS (Domain Name System) server. A name resolution request transmission process to be transmitted;
A resource record reception process for receiving a resource record sent from the DNS server as a response to the name resolution request transmitted in the name resolution request transmission process;
Based on the resource record received in this resource record reception process, refer to the resource record control policy table that defines the resource record that is permitted to use or the resource record that is prohibited to be used for each domain name of the communication partner as the policy. A resource record control program for causing a dual stack terminal that has made a name resolution request to execute a DNS response process for performing a DNS response for communicating with a communication partner domain.

(付記12)
ゲートウェイのコンピュータに、
IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれを受信してDNS(Domain Name System)サーバに送信する名前解決要求送信処理と、
この名前解決要求送信処理で送信した名前解決要求に対して前記DNSサーバからAAAAリソースレコードがDNS応答として送られてきたときこれを前記デュアルスタック端末にDNS応答として返信するDNS応答返信処理と、
このDNS応答返信処理で返信した前記デュアルスタック端末がこの返信に基づいて所定時間内に仮想AAAAリソースレコード宛の通信を行ってくるかを判別する通信有無判別処理と、
この通信有無判別処理で前記所定時間内に仮想AAAAリソースレコード宛の通信を行ってこないとき前記デュアルスタック端末内にIPv6未対応アプリケーションプログラムが存在していると判断する未対応プログラム存在判別処理と、
前記通信有無判別処理で前記所定時間内に仮想AAAAリソースレコード宛の通信があった場合、これがIPv6からIPv4へのフォールバック事象の発生によるものであるかを判別するフォールバック事象発生有無判別処理と、
このフォールバック事象発生有無判別処理でフォールバック事象が発生していないと判別されたとき前記デュアルスタック端末にIPv6対応のアプリケーションプログラムが存在していると判断する対応プログラム存在判別処理
とを実行させることを特徴とするアプリケーション判別プログラム。
(Appendix 12)
On the gateway computer,
When a name resolution request is sent from a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, it is received and sent to a DNS (Domain Name System) server. A name resolution request transmission process to be transmitted;
DNS response reply processing for returning an AAAA resource record as a DNS response from the DNS server as a DNS response to the name resolution request transmitted in the name resolution request transmission processing;
A communication presence / absence determination process for determining whether the dual stack terminal returned in the DNS response reply process performs communication addressed to the virtual AAAA resource record within a predetermined time based on the reply;
An unsupported program presence determining process for determining that an IPv6 unsupported application program exists in the dual stack terminal when communication addressed to the virtual AAAA resource record is not performed within the predetermined time in the communication presence / absence determining process;
A fallback event occurrence determination process for determining whether or not this is due to the occurrence of a fallback event from IPv6 to IPv4 when there is communication addressed to the virtual AAAA resource record within the predetermined time in the communication presence determination process; ,
When it is determined in this fallback event occurrence determination process that no fallback event has occurred, a corresponding program existence determination process for determining that an IPv6-compatible application program exists in the dual stack terminal is executed. An application discrimination program characterized by

10、100 リソースレコード制御システム
11 デュアルスタック端末
12 DNSサーバ
13、102 ゲートウェイ
13a 名前解決要求送信手段
13b リソースレコード受信手段
13c リソースレコード制御ポリシテーブル
13d DNS応答手段
20 リソースレコード制御方法
21、31 名前解決要求送信ステップ
22 リソースレコード受信ステップ
23 DNS応答ステップ
30 アプリケーション判別方法
32 DNS応答返信ステップ
33 通信有無判別ステップ
34 未対応プログラム存在判別ステップ
35 フォールバック事象発生有無判別ステップ
36 対応プログラム存在判別ステップ
40 リソースレコード制御プログラム
41、51 名前解決要求送信処理
42 リソースレコード受信処理
43 DNS応答処理
50 アプリケーション判別プログラム
52 DNS応答返信処理
53 通信有無判別処理
54 未対応プログラム存在判別処理
55 フォールバック事象発生有無判別処理
56 対応プログラム存在判別処理
101 インターネット
103 ローカルネットワーク
104 第1の端末
105 第2の端末
106 第1のWWWサーバ
107 第2のWWWサーバ
111 DNSリゾルバ
112 DNSキャッシュテーブル
113 DNSサーバモジュール
114、114A RR制御ポリシテーブル
115 IPv6通信不能検出テーブル
117 IPv6通信不能検出モジュール
DESCRIPTION OF SYMBOLS 10,100 Resource record control system 11 Dual stack terminal 12 DNS server 13, 102 Gateway 13a Name resolution request transmission means 13b Resource record reception means 13c Resource record control policy table 13d DNS response means 20 Resource record control method 21, 31 Name resolution request Transmission step 22 Resource record reception step 23 DNS response step 30 Application determination method 32 DNS response return step 33 Communication presence determination step 34 Unsupported program presence determination step 35 Fallback event occurrence presence determination step 36 Corresponding program presence determination step 40 Resource record control Programs 41, 51 Name resolution request transmission processing 42 Resource record reception processing 43 DNS response processing 0 Application determination program 52 DNS response reply processing 53 Communication presence / absence determination processing 54 Unsupported program presence determination processing 55 Fallback event occurrence determination processing 56 Corresponding program presence determination processing 101 Internet 103 Local network 104 First terminal 105 Second terminal 106 First WWW Server 107 Second WWW Server 111 DNS Resolver 112 DNS Cache Table 113 DNS Server Module 114, 114A RR Control Policy Table 115 IPv6 Communication Inability Detection Table 117 IPv6 Communication Inability Detection Module

Claims (10)

IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末と、
所定のネットワークを介して送られてくる名前解決要求を受信して該当する通信相手のドメイン名に対するリソースレコードを要求先に応答するDNS(Domain Name System)サーバと、
前記デュアルスタック端末から名前解決要求が送られてきたときこれを受信して前記DNSサーバに送信する名前解決要求送信手段と、この名前解決要求送信手段の送信した名前解決要求に対して前記DNSサーバから返答として送られてくるリソースレコードを受信するリソースレコード受信手段と、通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードをポリシとして定めたリソースレコード制御ポリシテーブルと、前記リソースレコード受信手段の受信したリソースレコードを基にしてこのリソースレコード制御ポリシテーブルを参照し前記名前解決要求を行ったデュアルスタック端末に対して通信相手のドメインと通信するためのDNS応答を行うDNS応答手段とを備えたゲートウェイとを具備することを特徴とするリソースレコード制御システム。
A dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack;
A DNS (Domain Name System) server that receives a name resolution request sent via a predetermined network and responds to the request destination with a resource record for the domain name of the corresponding communication partner;
Name resolution request transmission means for receiving a name resolution request from the dual stack terminal and transmitting it to the DNS server, and the DNS server for the name resolution request transmitted by the name resolution request transmission means A resource record receiving means for receiving a resource record sent as a reply from a resource record, a resource record control policy table in which a resource record that permits use or a resource record that prohibits use is defined as a policy for each domain name of a communication partner, A DNS response is made to communicate with the communication partner domain to the dual stack terminal that has made the name resolution request by referring to the resource record control policy table based on the resource record received by the resource record receiving means. Gate with response means Resource record control system characterized by comprising the E b.
前記リソースレコード制御ポリシテーブルは、前記デュアルスタック端末および通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードを個別に設定していることを特徴とする請求項1記載のリソースレコード制御システム。   2. The resource record control policy table is characterized in that a resource record that permits use or a resource record that prohibits use is individually set for each domain name of the dual stack terminal and communication partner. Resource record control system. 前記リソースレコード制御ポリシテーブルは、前記デュアルスタック端末が前記通信相手と通信する際に稼働するアプリケーションプログラムがIPv6で不適合であるIPv6通信を抑制するポリシで作成された内容であることを特徴とする請求項1または請求項2記載のリソースレコード制御システム。 The resource record control policy table, and wherein the application program in which the dual-stack terminal is running when communicating with said communication partner is the content created by suppressing the policy of I IPv6 communication Ru incompatible der in IPv6 The resource record control system according to claim 1 or 2, wherein: 前記ゲートウェイは、前記デュアルスタック端末からのすべての名前解決要求に対して仮想のAAAAリソースレコードを応答する仮想のAAAAリソースレコード応答手段と、この仮想のAAAAリソースレコードに対して前記デュアルスタック端末がIPv6通信を行うか否かを判別するIPv6通信可否判別手段と、このIPv6通信可否判別手段がIPv6通信を可能と判別したとき前記デュアルスタック端末の該当するアプリケーションプログラムがIPv6通信に対応していると判別するアプリケーション対応判別手段とを具備することを特徴とする請求項1記載のリソースレコード制御システム。   The gateway includes a virtual AAAA resource record response unit that responds to a virtual AAAA resource record in response to all name resolution requests from the dual stack terminal, and the dual stack terminal uses IPv6 to respond to the virtual AAAA resource record. IPv6 communication enable / disable determining means for determining whether or not to perform communication, and when the IPv6 communication enable / disable determining means determines that IPv6 communication is possible, it is determined that the corresponding application program of the dual stack terminal is compatible with IPv6 communication. The resource record control system according to claim 1, further comprising: an application correspondence determination unit that performs processing. 前記リソースレコード制御ポリシテーブルには、前記アプリケーション対応判別手段によって前記デュアルスタック端末の該当するアプリケーションプログラムがIPv6通信に対応していると判別したものに対してフォールバック事象が発生している場合を除き、IPv6通信を許可する許可リソースレコードが記載されることを特徴とする請求項4記載のリソースレコード制御システム。   In the resource record control policy table, a case where a fallback event has occurred with respect to what is determined that the corresponding application program of the dual stack terminal is compatible with IPv6 communication by the application correspondence determining means. 5. The resource record control system according to claim 4, wherein a permitted resource record permitting IPv6 communication is described. 前記ゲートウェイは、名前解決の要求を行った前記デュアルスタック端末が通信に使用した同じプロトコルと同じポート番号を使用して、名前解決により得られたAAAAリソースレコードのIPv6アドレス宛に通信が可能か否かを判別する同一プロトコル・同一ポート番号通信判別手段と、この同一プロトコル・同一ポート番号通信判別手段で所定時間内に仮想AAAAリソースレコード宛の通信が可能でないと判別されたときフォールバック事象が発生したものと判別するフォールバック事象判別手段を具備することを特徴とする請求項4記載のリソースレコード制御システム。   Whether the gateway is able to communicate to the IPv6 address of the AAAA resource record obtained by name resolution using the same port number as the same protocol used for communication by the dual stack terminal that has requested name resolution. When the same protocol / same port number communication discriminating means and the same protocol / same port number communication discriminating means determine that communication addressed to the virtual AAAA resource record is not possible within a predetermined time, a fallback event occurs. 5. The resource record control system according to claim 4, further comprising fallback event discrimination means for discriminating from the above. IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれを受信してDNS(Domain Name System)サーバに送信する名前解決要求送信ステップと、
この名前解決要求送信ステップで送信した名前解決要求の返答として前記DNSサーバから送られてくるリソースレコードを受信するリソースレコード受信ステップと、
このリソースレコード受信ステップで受信したリソースレコードを基にして、通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードをポリシとして定めたリソースレコード制御ポリシテーブルを参照して前記名前解決要求を行ったデュアルスタック端末に対して通信相手のドメインと通信するためのDNS応答を行うDNS応答ステップ
とを具備することを特徴とするリソースレコード制御方法。
When a name resolution request is sent from a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, it is received and sent to a DNS (Domain Name System) server. A name resolution request sending step to send;
A resource record receiving step for receiving a resource record sent from the DNS server as a response to the name resolution request sent in the name resolution request sending step;
Based on the resource record received in this resource record receiving step, refer to the resource record control policy table in which the resource record that permits use or the resource record that prohibits use is defined as a policy for each domain name of the communication partner A resource record control method, comprising: a DNS response step of performing a DNS response for communicating with a communication partner domain to a dual stack terminal that has made a name resolution request.
IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれをゲートウェイとして受信してDNS(Domain Name System)サーバに送信する名前解決要求送信ステップと、
この名前解決要求送信ステップで送信した名前解決要求に対して前記DNSサーバからAAAAリソースレコードがDNS応答として送られてきたときこれを前記デュアルスタック端末にDNS応答として返信するDNS応答返信ステップと、
このDNS応答返信ステップで返信した前記デュアルスタック端末がこの返信に基づいて所定時間内に仮想AAAAリソースレコード宛の通信を行ってくるかを判別する通信有無判別ステップと、
この通信有無判別ステップで前記所定時間内に仮想AAAAリソースレコード宛の通信を行ってこないとき前記デュアルスタック端末内にIPv6未対応アプリケーションプログラムが存在していると判断する未対応プログラム存在判別ステップと、
前記通信有無判別ステップで前記所定時間内に仮想AAAAリソースレコード宛の通信があった場合、これがIPv6からIPv4へのフォールバック事象の発生によるものであるかを判別するフォールバック事象発生有無判別ステップと、
このフォールバック事象発生有無判別ステップでフォールバック事象が発生していないと判別されたとき前記デュアルスタック端末にIPv6対応のアプリケーションプログラムが存在していると判断する対応プログラム存在判別ステップ
とを具備することを特徴とするアプリケーション判別方法。
When a name resolution request is sent from a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, it is received as a gateway and DNS (Domain Name System) A name resolution request sending step to send to the server;
In response to the name resolution request transmitted in the name resolution request transmission step, when an AAAA resource record is sent as a DNS response from the DNS server, a DNS response reply step of returning the AAA resource record as a DNS response to the dual stack terminal;
A communication presence / absence determination step for determining whether the dual stack terminal returned in the DNS response return step performs communication addressed to the virtual AAAA resource record within a predetermined time based on the response;
An unsupported program presence determining step for determining that an IPv6 unsupported application program exists in the dual stack terminal when the communication addressed to the virtual AAAA resource record is not performed within the predetermined time in the communication presence / absence determining step;
A fallback event occurrence presence / absence determination step for determining whether or not this is due to the occurrence of a fallback event from IPv6 to IPv4 when there is communication addressed to the virtual AAAA resource record within the predetermined time in the communication presence / absence determination step; ,
A corresponding program existence determining step for determining that an IPv6-compatible application program exists in the dual stack terminal when it is determined in the fallback event occurrence determining step that no fallback event has occurred. An application discrimination method characterized by the above.
ゲートウェイのコンピュータに、
IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet
Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれを受信してDNS(Domain Name System)サーバに送信する名前解決要求送信処理と、
この名前解決要求送信処理で送信した名前解決要求の返答として前記DNSサーバから送られてくるリソースレコードを受信するリソースレコード受信処理と、
このリソースレコード受信処理で受信したリソースレコードを基にして、通信相手のドメイン名ごとに使用を許可するリソースレコードあるいは使用を禁止するリソースレコードをポリシとして定めたリソースレコード制御ポリシテーブルを参照して前記名前解決要求を行ったデュアルスタック端末に対して通信相手のドメインと通信するためのDNS応答を行うDNS応答処理
とを実行させることを特徴とするリソースレコード制御プログラム。
On the gateway computer,
IPv4 (Internet Protocol version 4) protocol stack and IPv6 (Internet
Protocol version 6) When a name resolution request is sent from a dual stack terminal equipped with both protocol stacks, a name resolution request sending process for receiving this and sending it to a DNS (Domain Name System) server;
A resource record reception process for receiving a resource record sent from the DNS server as a response to the name resolution request transmitted in the name resolution request transmission process;
Based on the resource record received in this resource record reception process, refer to the resource record control policy table that defines the resource record that is permitted to use or the resource record that is prohibited to be used for each domain name of the communication partner as the policy. A resource record control program for causing a dual stack terminal that has made a name resolution request to execute a DNS response process for performing a DNS response for communicating with a communication partner domain.
ートウェイのコンピュータに、
IPv4(Internet Protocol version 4)プロトコルスタックとIPv6(Internet Protocol version 6)プロトコルスタックの双方を搭載したデュアルスタック端末から名前解決要求が送られてきたときこれを受信してDNS(Domain Name System)サーバに送信する名前解決要求送信処理と、
この名前解決要求送信処理で送信した名前解決要求に対して前記DNSサーバからAAAAリソースレコードがDNS応答として送られてきたときこれを前記デュアルスタック端末にDNS応答として返信するDNS応答返信処理と、
このDNS応答返信処理で返信した前記デュアルスタック端末がこの返信に基づいて所定時間内に仮想AAAAリソースレコード宛の通信を行ってくるかを判別する通信有無判別処理と、
この通信有無判別処理で前記所定時間内に仮想AAAAリソースレコード宛の通信を行ってこないとき前記デュアルスタック端末内にIPv6未対応アプリケーションプログラムが存在していると判断する未対応プログラム存在判別処理と、
前記通信有無判別処理で前記所定時間内に仮想AAAAリソースレコード宛の通信があった場合、これがIPv6からIPv4へのフォールバック事象の発生によるものであるかを判別するフォールバック事象発生有無判別処理と、
このフォールバック事象発生有無判別処理でフォールバック事象が発生していないと判別されたとき前記デュアルスタック端末にIPv6対応のアプリケーションプログラムが存在していると判断する対応プログラム存在判別処理
とを実行させることを特徴とするアプリケーション判別プログラム。
The gateway of the computer,
When a name resolution request is sent from a dual stack terminal equipped with both an IPv4 (Internet Protocol version 4) protocol stack and an IPv6 (Internet Protocol version 6) protocol stack, it is received and sent to a DNS (Domain Name System) server. A name resolution request transmission process to be transmitted;
DNS response reply processing for returning an AAAA resource record as a DNS response from the DNS server as a DNS response to the name resolution request transmitted in the name resolution request transmission processing;
A communication presence / absence determination process for determining whether the dual stack terminal returned in the DNS response reply process performs communication addressed to the virtual AAAA resource record within a predetermined time based on the reply;
An unsupported program presence determination process for determining that an IPv6 unsupported application program exists in the dual stack terminal when communication for the virtual AAAA resource record is not performed within the predetermined time in the communication presence determination process;
A fallback event occurrence determination process for determining whether or not this is due to the occurrence of a fallback event from IPv6 to IPv4 when there is communication addressed to the virtual AAAA resource record within the predetermined time in the communication presence determination process; ,
When it is determined in this fallback event occurrence determination process that no fallback event has occurred, a corresponding program existence determination process for determining that an IPv6-compatible application program exists in the dual stack terminal is executed. An application discrimination program characterized by
JP2010258529A 2010-11-19 2010-11-19 Resource record control system, resource record control method, application determination method and program Expired - Fee Related JP5231513B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010258529A JP5231513B2 (en) 2010-11-19 2010-11-19 Resource record control system, resource record control method, application determination method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010258529A JP5231513B2 (en) 2010-11-19 2010-11-19 Resource record control system, resource record control method, application determination method and program

Publications (2)

Publication Number Publication Date
JP2012109887A JP2012109887A (en) 2012-06-07
JP5231513B2 true JP5231513B2 (en) 2013-07-10

Family

ID=46495011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010258529A Expired - Fee Related JP5231513B2 (en) 2010-11-19 2010-11-19 Resource record control system, resource record control method, application determination method and program

Country Status (1)

Country Link
JP (1) JP5231513B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12034618B2 (en) * 2022-09-08 2024-07-09 Roku, Inc. IPV6 connectivity test and DNS improvements

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5958902B2 (en) * 2012-07-13 2016-08-02 パナソニックIpマネジメント株式会社 Network system
US20150358277A1 (en) * 2013-01-11 2015-12-10 Kyocera Corporation Communication terminal and storage medium
CN114143230B (en) * 2020-09-02 2023-07-21 中国移动通信集团安徽有限公司 Dual-stack user DNS analysis duration calculation method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3703457B2 (en) * 2003-01-21 2005-10-05 キヤノン株式会社 Address notification method, program, and apparatus
US7526562B1 (en) * 2003-04-11 2009-04-28 Cisco Technology, Inc. Stateful IPv4-IPv6 DNS application level gateway for handling topologies with coexisting IPv4-only, Ipv6-only and dual-stack devices
JP2008042460A (en) * 2006-08-04 2008-02-21 Ricoh Co Ltd Communication control method and image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12034618B2 (en) * 2022-09-08 2024-07-09 Roku, Inc. IPV6 connectivity test and DNS improvements

Also Published As

Publication number Publication date
JP2012109887A (en) 2012-06-07

Similar Documents

Publication Publication Date Title
US10904204B2 (en) Incompatible network gateway provisioned through DNS
US10992641B2 (en) DNS-enabled communication between heterogeneous devices
CN108886540B (en) Domain name resolution method, device and computer readable storage medium
US9319315B2 (en) Distributing transmission of requests across multiple IP addresses of a proxy server in a cloud-based proxy service
US5781550A (en) Transparent and secure network gateway
EP3171556B1 (en) Method and apparatus for setting network rule entry
US7558880B2 (en) Dynamic DNS registration method, domain name solution method, DNS proxy server, and address translation device
US9264358B2 (en) Alias resource record sets
EP2306689B1 (en) Devices and method for accessing a web server in a local space
US8458303B2 (en) Utilizing a gateway for the assignment of internet protocol addresses to client devices in a shared subset
US20060153230A1 (en) IPv6 / IPv4 translator
EP2779588A2 (en) Methods and apparatus for hostname selective routing in dual-stack hosts
US20070078996A1 (en) Method for managing a network appliance and transparent configurable network appliance
US20100217890A1 (en) Using server type to obtain network address
CN112565484B (en) Method, system and storage medium for accessing local area network equipment by domain name seamless roaming
JP5231513B2 (en) Resource record control system, resource record control method, application determination method and program
JP4941117B2 (en) Server apparatus, network system, and network connection method used therefor
US20100023620A1 (en) Access controller
US20040153502A1 (en) Enhanced DNS server
US20110235641A1 (en) Communication apparatus, method of controlling the communication apparatus,and program
Cisco NAT - Static Mapping Support with HSRP for High Availability
US20160248596A1 (en) Reflecting mdns packets
CN114338597B (en) Network access method and device
TWI385999B (en) And a method of accessing the connection between the user side and the network device in the network system
CN113347142A (en) Data packet detection method and forwarding device in NAT mode

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20121016

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130204

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130226

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130321

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

Free format text: PAYMENT UNTIL: 20160329

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5231513

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees