KR20040066331A - Domain name service processing system and method on intra network - Google Patents

Domain name service processing system and method on intra network Download PDF

Info

Publication number
KR20040066331A
KR20040066331A KR1020030003363A KR20030003363A KR20040066331A KR 20040066331 A KR20040066331 A KR 20040066331A KR 1020030003363 A KR1020030003363 A KR 1020030003363A KR 20030003363 A KR20030003363 A KR 20030003363A KR 20040066331 A KR20040066331 A KR 20040066331A
Authority
KR
South Korea
Prior art keywords
query
node
dns
response
ipv4
Prior art date
Application number
KR1020030003363A
Other languages
Korean (ko)
Inventor
민상철
이재혁
Original Assignee
엘지전자 주식회사
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 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020030003363A priority Critical patent/KR20040066331A/en
Publication of KR20040066331A publication Critical patent/KR20040066331A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1036Load balancing of requests to servers for services different from user content provisioning, e.g. load balancing across domain name servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/251Translation of Internet protocol [IP] addresses between different IP versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Abstract

PURPOSE: A system and a method for processing a DNS(Domain Name Server) message on the intranet are provided to perform an IPv4/IPv6(Internet Protocol version) query and response for a mutual DNS call on a single network coexisting an IPv4 node and an IPv6 node. CONSTITUTION: An NAT(Network Address Translation)(210) generates/transmits the query of an IPv4/IPv6 type for the query of a source node(230) and confirms the response of a destination node for the query. If the type of the response is identical with the source query, the NAT transmits the response to the source node. If not, the response is converted into the same type as the query of the source node and is transmitted to the source node. A DNS server(220) transmits the source query of the IPv4/IPv6 type on the NAT to the destination node and transmits the response of the destination node to the NAT. The NAT comprises the DNS-ALG(Application Level Gateway) NAT performing an agent function of the source node.

Description

인트라 네트워크에서의 디엔에스(DNS) 메시지 처리 시스템 및 방법{DOMAIN NAME SERVICE PROCESSING SYSTEM AND METHOD ON INTRA NETWORK}System and method for processing DSN messages in an intra network {DOMAIN NAME SERVICE PROCESSING SYSTEM AND METHOD ON INTRA NETWORK}

본 발명은 인트라 네트워크에 관한 것으로 특히, IPv4 노드와 IPv6노드가 공존하는 인트라 네트워크에 있어서 디엔에스(DNS) 메시지 처리 시스템 및 방법에 관한 것이다.The present invention relates to an intra network, and more particularly, to a system and method for processing a DNS message in an intra network in which an IPv4 node and an IPv6 node coexist.

현재 IPv4 네트워크가 발전함에 따라 그 한계를 드러내게 되어 IPv6 네트워크가 대두되어 왔다.As the current IPv4 network develops, the limitations of the IPv4 network have emerged.

IPv6는 IPv4에 비해 무한한 주소와 이동성 등 다양한 추가적인 기능을 포함하고 있다. IPv6는 차세대 네트워크를 고려하는 연구소를 기반으로 활성화되어 가고 있다.IPv6 includes a number of additional features compared to IPv4, including infinite addresses and portability. IPv6 is becoming active based on research institutes considering next-generation networks.

IPv6가 좋은 성능과 기능을 가지고 있다 하더라도 현재는 기존의 IPv4 네트워크와 이원화된 구조로 나뉘어져 독립적으로 사용되고 있으며 각자의 망에서 사용되는 응용 프로그램 또한 각각 개발되고 있는 실정이다.Even though IPv6 has good performance and function, it is currently divided into existing structure of IPv4 network and dualized and used independently, and the applications used in each network are also being developed.

따라서, 기존의 IPv4 네트워크와 IPv6 네트워크를 상호 연동할 필요성이 대두되었고 이를 위해 주소체계가 다른 2개의 네트워크를 연결할 NAT(Network Address Translation ; 네트워크 주소 변환)가 제안되었다. NAT는 서로 다른 주소 체계를 가지고 있는 망 사이에 IP 패킷을 변환하여 상호 연동할 수 있도록 하는 IETF 표준이다.Therefore, there is a need to interwork existing IPv4 and IPv6 networks, and for this purpose, a network address translation (NAT) has been proposed to connect two networks having different address systems. NAT is an IETF standard that enables interworking by translating IP packets between networks with different addressing systems.

IP를 기반으로 하는 네트워크에서는 IP 주소가 네트워크 노드들의 ID가 된다.In an IP based network, the IP address becomes the ID of the network nodes.

따라서, 프로그램들이 ID를 이용하여 통신하기도 하는데 NAT를 통하여 다른주소 체계로 바뀌면 응용프로그램들이 적절한 변경을 수행하여야 한다. 이 역할을 ALG( Application Level Gateway)에서 수행한다.Therefore, programs often communicate using IDs, and when NAT is changed to another address system, applications must make appropriate changes. This role is played by an application level gateway (ALG).

ALG는 응용프로그램마다 다를 수 있으며 IPv6와 연동을 위해서는 반드시 필요하다.ALG can be different for each application and is necessary for interworking with IPv6.

그런데, 도메인 이름으로 접속하는데 사용되는 DNS 메시지는 IPv4와 IPv6 각각 다른 형태를 가지고 있으므로 적절히 변환하기 위한 ALG 기능이 필요하다. 이를 DNS-ALG라 한다.However, the DNS message used to access a domain name has a different form between IPv4 and IPv6, and therefore requires an ALG function for proper conversion. This is called DNS-ALG.

도1은 IPv4 노드와 IPv6노드가 공존하는 인트라 네트워크의 구성도를 도시한 것이다.1 is a block diagram of an intra network in which an IPv4 node and an IPv6 node coexist.

도1에서 단순히 IPv6 단말이 IPv4 노드만을 호출하고 IPv4 노드들이 IPv6 노드들을 호출한다면 IPv6/IPv4 NAT를 이용하여 송수신을 담당할 수 있다.In FIG. 1, if an IPv6 terminal simply calls an IPv4 node and the IPv4 nodes call IPv6 nodes, the IPv6 terminal may perform transmission and reception using an IPv6 / IPv4 NAT.

또한, 도1에서 DNS 메시지도 단순히 IPv6 용 DNS 질의를 IPv4 DNS 질의로 변경하고 IPv4 용 DNS 질의는 IPv6용 DNS 질의로 변경하면 간단이 해결된다.In addition, in Fig. 1, the DNS message can be solved simply by changing the DNS query for IPv6 to an IPv4 DNS query and the DNS query for IPv4 to a DNS query for IPv6.

그러나, 종래에는 2개의 완전히 독립적으로 이원화된 네트워크라면 큰 문제가 없지만, 복합적으로 동일한 네트워크에 존재하는 경우라면 단순히 DNS 메시지의 IP를 변경할 수가 없다.However, there are no problems in the prior art if two completely independent dual networks are present, but if they exist in the same network in combination, it is not possible to simply change the IP of the DNS message.

즉, 일반적으로 IPv4 노드와 IPv6 노드는 공존하는 경우 DNS 이름만으로는 IPv4 노드를 호출하는지 아니면 IPv6 노드를 호출하는지를 알 수 없다.That is, in general, when an IPv4 node and an IPv6 node coexist, the DNS name alone does not know whether to call an IPv4 node or an IPv6 node.

예를 들어, 단일 네트워크에서 IPv4 노드가 DNS 메시지를 전송하게 되면 즉,IPv4 노드 응용 프로그램이 DNS 메시지 node.co.kr을 호출하면 다음과 같은 경우가 발생하게 된다.For example, when an IPv4 node sends a DNS message in a single network, that is, when an IPv4 node application calls a DNS message node.co.kr, the following occurs.

첫째, node.co.kr이 IPv4 노드인 경우에는 NAT 기능이 필요없다.First, if node.co.kr is an IPv4 node, NAT function is not needed.

둘째, node.co.kr이 IPv6 노드인 경우에는 DNS 메시지를 IPv6 주소와 A6 혹은 AAAA 형식으로 변경해주어야 한다.Second, if node.co.kr is an IPv6 node, DNS message should be changed to IPv6 address and A6 or AAAA format.

셋째, node.co.kr이 IPv4/IPv6 듀얼노드인 경우에는 응용프로그램이 어느 규약을 지원하느냐에 따라 응답이 다르다.Third, if node.co.kr is an IPv4 / IPv6 dual node, the response varies depending on which protocol the application supports.

따라서, 종래에는 IPv4 노드와 IPv6 노드가 공존하는 망에서는 IP의 단순 변경이 불가능하고 어느 형식으로 DNS 메시지를 전송하여야 할 것인지를 알 수 없다는 문제점이 있다.Therefore, conventionally, in a network in which an IPv4 node and an IPv6 node coexist, a simple change of IP is impossible and there is a problem in which format the DNS message should be transmitted.

이에 따라, 본 발명은 종래의 문제점을 개선하기 위하여 IPv4 노드와 IPv6 노드가 공존하는 단일망에 있어서, 상호간 DNS 호출에 대해 IPv4와 IPv6 질의 및 응답을 수행하도록 창안한 인트라 네트워크에서의 디엔에스(DNS) 메시지 처리 시스템 및 방법을 제공함에 목적이 있다.Accordingly, the present invention provides a DNS in an intra network in which an IPv4 node and an IPv6 node coexist in order to improve a conventional problem, and to perform IPv4 and IPv6 queries and responses for DNS calls. It is an object of the present invention to provide a message processing system and method.

즉, 본 발명은 IPv4 네트워크와 IPv6 네트워크 노드가 공존하는 인트라 네트워크에서 도메인 이름을 이용하여 목적지 노드와 원활하게 통신하도록 질의에 대해 IPv4 및 IPv6 질의를 생성하여 목적지 노드로 전송하고 그 응답을 수신하도록 함을 목적으로 하는 것이다.That is, the present invention generates an IPv4 and IPv6 query for a query to receive the response and receives the response so that the IPv4 network and the IPv6 network node coexist with the destination node by using the domain name in the coexistence network. The purpose is to.

도1은 일반적인 IPv4 및 IPv6 노드가 존재하는 단일망의 구성도.1 is a configuration diagram of a single network in which typical IPv4 and IPv6 nodes exist.

도2는 본 발명의 실시예에서 디엔에스(DNS) 메시지 처리 시스템의 구성도로서,2 is a block diagram of a system for processing a DNS message in an embodiment of the present invention;

도2a는 본 발명의 실시예에서 IPv4 노드의 DNS 질의 및 응답 과정을 보인 신호 흐름도.Figure 2a is a signal flow diagram illustrating a DNS query and response process of an IPv4 node in an embodiment of the present invention.

도2b는 본 발명의 실시예에서 IPv6 노드의 DNS 질의 및 응답 과정을 보인 신호 흐름도.Figure 2b is a signal flow diagram illustrating a DNS query and response process of an IPv6 node in an embodiment of the present invention.

도3은 본 발명의 실시예에서 DNS 질의 처리 과정을 보인 동작 순서도.3 is a flowchart illustrating an operation of processing a DNS query in an embodiment of the present invention.

도4 내지 도6은 본 발명의 실시예에서 DNS 응답 처리 과정을 보인 동작 순서도.4 to 6 are flowcharts illustrating operations of DNS response processing according to an embodiment of the present invention.

* 도면의 주요부분에 대한 부호 설명 *Explanation of symbols on the main parts of the drawings

210 : 네트워크 주소 변환기 220 : DNS 서버210: network address translator 220: DNS server

230 : IPv4 노드 240 : IPv6 노드230: IPv4 node 240: IPv6 node

본 발명은 상기의 목적을 달성하기 위하여 서로 다른 망 특히, IPv4 노드와IPv6 노드가 공존하는 인트라 네트워크에 있어서, 노드의 질의에 대해 IPv4 및 IPv6 타입의 질의를 생성하여 전송하며, 그 질의에 대한 응답을 확인하여 노드의 질의와 동일한 타입이면 그대로 노드로 전송하고 노드의 질의와 동일한 타입이 아니면 노드의 질의와 동일한 타입으로 변환하여 노드로 전송하는 네트워크 주소 변환기(NAT)와, 상기 네트워크 주소 변환기에서의 IPv4 및 IPv6 타입의 질의를 목적지 노드로 전송하고 그 목적지 노드에서의 응답을 네트워크 주소 변환기로 전송하는 DNS 서버를 구비하여 구성함을 특징으로 한다.In order to achieve the above object, the present invention generates and transmits an IPv4 and IPv6 type query to a query of a node, in an intra network in which an IPv4 node and an IPv6 node coexist, and responds to the query. If it is the same type as the query of the node and transmits to the node as it is, and if it is not the same type as the query of the node, the network address translator (NAT) to convert to the same type as the query of the node and transmit it to the node, And a DNS server that transmits IPv4 and IPv6 type queries to the destination node and sends a response from the destination node to the network address translator.

상기 네트워크 주소 변환기는 DNS-ALG NAT로서, 목적지 노드가 IPv4 노드 인지 아니면 IPv6 노드 인지 접속하려는 노드는 알 수 없기 때문에 목적지 노드의 접속에 대해 접속하려는 노드의 에이젼트 기능을 수행하도록 구성하는 것이다.The network address translator is a DNS-ALG NAT, and it is configured to perform an agent function of the node to be connected to the destination node because the node to be connected is unknown whether the destination node is an IPv4 node or an IPv6 node.

또한, 본 발명은 상기의 목적을 달성하기 위하여 서로 다른 망 특히, IPv4 노드와 IPv6 노드가 공존하는 인트라 네트워크에 있어서, IPv4 또는 IPv6 질의에 대해 IPv4 및 IPv6 질의를 생성하여 목적하는 노드로 전송하는 단계와, 목적하는 노드의 응답이 소스 질의와 동일한 타입이면 그대로 응답하고 다른 응답이면 소스 질의와 동일한 타입으로 변환하여 응답하는 단계를 수행함을 특징으로 한다.In addition, in order to achieve the above object, the present invention provides a method for generating IPv4 and IPv6 queries for IPv4 or IPv6 queries in a different network, especially an intra network in which IPv4 nodes and IPv6 nodes coexist, and transmitting them to a target node. And, if the response of the target node is the same type as the source query, and responds as it is, if the other response is characterized in that the step of converting and responding to the same type as the source query.

이하, 본 발명을 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the drawings.

본 발명의 실시예를 위한 인트라 네트워크에서의 디엔에스(DNS) 메시지 처리 시스템은 도2의 구성도에 도시한 바와 같이, 서로 다른 네트워크 노드가 공존하는 단일망에 있어서, IPv4 노드(230)와, IPv6 노드(240)와, 상기 IPv4 노드(230) 또는 IPv6 노드(240)에서의 DSN 질의(A 타입 또는 AAAA 타입)에 대해 A 및 AAAA 타입의질의를 생성하여 전송하고 그 질의에 대한 A 및 AAAA 응답을 상기 IPv4 노드(230) 또는 IPv6 노드(240)에 맞추어 DNS 응답을 전송하는 네트워크 주소 변환기(210)와, 이 네트워크 주소 변환기(210)에서의 A 및 AAAA 질의를 수신 처리하고 그에 대한 A 또는 AAAA 응답을 상기 네트워크 주소 변환기(210)로 전송하는 내부 DNS 서버(220)를 구비하여 구성한다.In the intra network for the embodiment of the present invention, as shown in the configuration diagram of FIG. 2, a system for processing a DNS message includes an IPv4 node 230 and an IPv6 node in a single network in which different network nodes coexist. Generate and send A and AAAA types of queries to DSN queries (Type A or AAAA types) at node 240 and the IPv4 node 230 or IPv6 node 240, and A and AAAA responses to those queries. A network address translator 210 that transmits a DNS response to the IPv4 node 230 or the IPv6 node 240, and receives and processes A and AAAA queries from the network address translator 210. It is configured with an internal DNS server 220 for transmitting a response to the network address translator 210.

상기 네트워크 주소 변환기(210)는 목적지 노드의 접속에 대해 접속하려는 노드의 에이젼트 기능을 수행하는 DNS-ALG NAT이다.The network address translator 210 is a DNS-ALG NAT that performs an agent function of a node to which a destination node is to be connected.

이와같이 구성한 본 발명의 실시예에 대한 동작 및 작용 효과를 설명하면 다음과 같다.Referring to the operation and effect of the embodiment of the present invention configured as described above are as follows.

도2a는 본 발명의 실시예에서 IPv4 노드의 내부 노드 도메인 이름 질의 및 응답 과정을 보인 신호 흐름이다.Figure 2a is a signal flow showing the internal node domain name query and response process of an IPv4 node in an embodiment of the present invention.

이를 설명하면, IPv4 노드(230)가 DNS 질의를 A 타입으로 설정하여 네트워크 주소 변환기(210)로 전송하고 네트워크 주소 변환기(210)는 A 타입 질의와 AAAA 타입 질의를 생성해서 DNS 서버(220)로 전송한다.To explain this, the IPv4 node 230 sets the DNS query to A type and transmits it to the network address translator 210. The network address translator 210 generates the A type query and the AAAA type query to the DNS server 220. send.

이때, DNS 서버(220)는 IPv4 도메인 이름에 대한 DNS 질의는 A 타입으로 설정하여 전송하며 IPv6 도메인 이름에 대한 DNS 질의는 AAAA 타입으로 설정하여 전송한다.In this case, the DNS server 220 transmits the DNS query for the IPv4 domain name by setting the A type and the DNS query for the IPv6 domain name by the AAAA type.

이에 따라, DNS 서버(220)는 질의에 대한 노드가 IPv4 노드인 경우에는 A 타입의 DNS 응답 메시지를 네트워크 주소 변환기(210)로 전달하고 IPv6 노드인 경우에는 AAAA 타입의 DNS 응답을 전달한다.Accordingly, the DNS server 220 transmits a type A DNS response message to the network address translator 210 when the node for the query is an IPv4 node, and an AAAA type DNS response when the node for the query is an IPv4 node.

즉, DNS 서버(220)는 DNS 질의가 전달된 노드 타입에 따라 그 노드에서의 응답을 네트워크 주소 변환기(210)로 전달한다.In other words, the DNS server 220 forwards the response from the node to the network address translator 210 according to the node type to which the DNS query is transmitted.

따라서, 네트워크 주소 변환기(210)는 내부 DNS 서버(220)로부터의 DNS 응답이 A 타입이면 변환없이 IPv4 노드(230)로 전달하며 만일, AAAA 타입의 응답이면 A 타입으로 변환하여 전달한다.Accordingly, the network address translator 210 transfers the DNS response from the internal DNS server 220 to the IPv4 node 230 without conversion if the A type is A, and converts the AAA type to the A type if the AAAA type is a response.

그리고, 도2b는 본 발명의 실시예에서 IPv6 노드의 내부 노드 도메인 이름 질의 및 응답 과정을 보인 신호 흐름도이다.2B is a signal flow diagram illustrating an internal node domain name query and response process of an IPv6 node in an embodiment of the present invention.

도2b에서는 도2a의 IPv4 노드의 DNS 질의와 응답을 도2의 IPv4 노드의 경우와 동일한 동작으로 수행된다.In FIG. 2B, the DNS query and response of the IPv4 node of FIG. 2A are performed in the same operation as that of the IPv4 node of FIG. 2.

즉, IPv6 노드(240)는 IPv6용 AAAA 타입의 DNS 질의를 네트워크 주소 변환기(210)로 전송하고 네트워크 주소 변환기(210)는 내부 DNS 서버(220)로 A 타입과 AAAA 타입의 DNS질의를 생성하여 전달하며 내부 DNS 서버(220)의 DNS 응답이 AAAA 타입의 경우 DNS 응답 메시지에 대해서 소스 질의 타입과 동일하므로 상기 네트워크 주소 변환기(210)는 메시지 조작없이 IPv6 노드(240)로 전달하며 만일, A 타입인 경우에는 소스 질의 타입인 AAAA 타입으로 변환하여 전달한다.That is, the IPv6 node 240 transmits an AAAA type DNS query for IPv6 to the network address translator 210, and the network address translator 210 generates a DNS query of type A and AAAA type to the internal DNS server 220. If the DNS response of the internal DNS server 220 is AAAA type, the network address translator 210 forwards to the IPv6 node 240 without the message manipulation. In case of, convert to AAAA type which is source query type and deliver.

한편, 도2(a)(b)에서의 신호 흐름을 도3 내지 도6의 동작 순서도를 참조하여 설명하면 다음과 같다.Meanwhile, the signal flow in FIGS. 2A and 2B will be described with reference to the operation flowcharts of FIGS. 3 to 6.

도3은 DNS 질의 처리 과정을 보인 동작 순서도이고, 도4는 DNS 응답 처리 과정을 보인 동작 순서도이며, 도5는 응답 메시지가 DNS ID 테이블에 존재하는 경우의 응답 처리 과정을 보인 동작 순서도이고, 도6은 도4에서 패킷 목적지가 DNS 서버이거나 질의 타입이 PTR인 경우 및 도5에서 AAAA 타입의 응답 처리 과정을 보인 동작 순서도이다.3 is an operation flowchart showing a DNS query processing process, FIG. 4 is an operation flowchart showing a DNS response processing process, FIG. 5 is an operation flowchart showing a response processing process when a response message exists in the DNS ID table. 6 is an operation flowchart illustrating a case where a packet destination is a DNS server or a query type PTR in FIG. 4, and an AAAA type response process in FIG. 5.

우선, 네트워크 주소 변환기(210)에서 수행하는 도3의 과정을 설명하기로 한다.First, the process of FIG. 3 performed by the network address translator 210 will be described.

질의 타입의 DNS 메시지에 대해 질의 섹션이 존재하는 경우 A 타입의 질의인지 또는 AAAA 타입의 질의인지 또는 PTR 타입의 질의인지를 판단한다. 질의 섹션이란 묻고자 하는 값을 적는 곳으로 예로 들어, www.lg.com을 문의한다면 www.lg.com의 값이 삽입되는 곳이다.If a query section exists for the DNS message of the query type, it is determined whether it is an A type query, an AAAA type query, or a PTR type query. The query section is where you write the value you want to ask. For example, if you query www.lg.com, the value of www.lg.com is inserted.

이때, A 타입의 질의이면 새로운 DNS ID를 생성하고 ID 관리 테이블을 생성한 후 AAAA 타입의 질의를 생성한다. 그리고, AAAA 타입의 질의이면 새로운 DNS ID를 생성하고 ID 관리 테이블을 생성한 후 A 타입의 질의를 생성한다. 또한, PTR 질의 타입이면 PTR 주소로 변환한 후 PTR 질의를 저장하고 변경된 주소를 얻어 질의 세션을 변환한다.At this time, in case of A type query, a new DNS ID is generated, an ID management table is generated, and an AAAA type query is generated. And, in case of AAAA type query, new DNS ID is generated, ID management table is created, and then A type query is generated. In addition, in case of PTR query type, after converting to PTR address, PTR query is stored, and the changed query session is obtained by obtaining the changed address.

이에 따라, 상기 과정으로 질의를 생성하였을 때 RR 섹션이 존재하면 A 타입과 AAAA 타입의 질의를 DNS 서버(220)로 전송한다.Accordingly, when the query is generated by the above process, if the RR section exists, the A-type and AAAA-type queries are transmitted to the DNS server 220.

또한, 네트워크 주소 변환기(210)에서 수행하는 도4 내지 도6의 과정을 설명하기로 한다.In addition, the process of FIGS. 4 to 6 performed by the network address translator 210 will be described.

응답 타입의 DNS 메시지에 대해 질의 세션이 존재하는 경우 A 타입의 질의인지 또는 AAAA 타입의 질의인지 또는 PTR 타입의 질의인지를 판단한다. 여기서, PTR 타입이란 DNS 메시지는 일반적으로 DNS 이름을 묻고 IP 주소를 얻는 방식과는 반대로 IP 주소를 묻고 DNS 이름을 얻는 방식으로, PTR 방식의 질의에 대해 질문 세션에 IP 주소를 삽입한다.If there is a query session with respect to the DNS message of the response type, it is determined whether it is an A type query, an AAAA type query, or a PTR type query. Here, the PTR type DNS message generally inserts an IP address into a query session for a PTR type query in a manner of obtaining an IP address and obtaining a DNS name as opposed to a method of asking for a DNS name and obtaining an IP address.

이때, A 타입 또는 AAAA 타입의 질의라면 ID 정보가 존재하는 경우 소스 질의 타입으로 변경하고 응답 섹션이 존재하는지 확인하고 PTR 타입의 질의라면 PTR 테이블에 PTR 질의 정보가 존재하는 경우 소스 질의 타입으로 변경하고 응답 섹션이 존재하는지 확인한다. 여기서, 응답 섹션이란 DNS 메시지의 질의에 대한 실질적인 응답 값이 들어가는 곳을 의미하며 예를 들어, www.lg.com의 질의에 대해 150.150.150.333이란 응답이 왔다고 가정하면 그 150.150.150.333이 들어가는 곳을 의미한다.At this time, if the A type or AAAA type query, the ID information is changed to the source query type, and if the response section exists, if the PTR type query, the PTR query information is changed to the source query type if the PTR query information exists in the PTR table. Check that the response section exists. Here, the response section means a place where the actual response value for the query of the DNS message is entered. For example, suppose that a response of 150.150.150.333 is received for a query of www.lg.com. it means.

이후, 응답 섹셕이 존재하면 질의 타입이 A 또는 AAAA이고 패킷의 목적지 주소가 DNS 서버(220)이면 A 또는 AAAA 타입의 질의에 대한 응답 메시지가 DNS ID 정보 테이블에 존재하는 경우 소스 질의가 A(또는 AAAA) 타입으로 A(또는 AAAA) 타입 응답이라면 그대로 전송하고 소스 질의가 A(또는 AAAA) 타입으로 AAAA(또는 A) 타입 응답이라면 A(또는 AAAA) 타입 응답으로 변환하여 전송한다.Then, if the response section is present, if the query type is A or AAAA and if the destination address of the packet is DNS server 220, if the response message for the A or AAAA type query exists in the DNS ID information table, then the source query is A (or If the AAAA type response is A (or AAAA) type response, it is sent as it is. If the source query is A (or AAAA) type AAAA (or A) type response, it is converted to A (or AAAA) type response.

그리고, 상기에서 패킷 목적지 주소가 DNS 서버(220)가 아니거나 질의 타입이 PTR인 경우 승인 섹션과 부과 섹션이 존재하면 변환된 DNS 응답 메시지를 전송한다. 여기서, 승인 섹션이란 DNS 서비스를 수행하는 도메인 서버(domain server)의 정보가 들어가는 곳이고, 부과 섹션이란 승인 섹션이 적힌 도메인 서버의 추가 정보가 들어가는 곳이다.When the packet destination address is not the DNS server 220 or the query type is PTR, if the grant section and the grant section exist, the converted DNS response message is transmitted. Here, the authorization section is where the information of the domain server that performs the DNS service (domain server) enters, and the charging section is where the additional information of the domain server containing the authorization section is entered.

만일, 패킷의 목적지 주소가 DNS 서버(220)로 A 또는 AAAA 타입의 질의에 대한 응답 메시지가 DNS ID 정보 테이블에 존재하지 않는 경우 응답 메시지 정보를 저장하고 모든 동작을 종료한다.If the destination address of the packet does not exist in the DNS ID information table in response to the A or AAAA type query to the DNS server 220, the response message information is stored and all operations are terminated.

상기에서 상세히 설명한 바와 같이 본 발명은 IPv6와 IPv4가 공존하는 단일 네트워크에서 도메인 이름만으로 서로 다른 통신 규약과 무관하게 상호 원활하게 호출하는 기능을 수행하는 알고리즘을 제안함으로써 단일 네트워크에서 IPv4와 IPv6가 공존하면서 통신할 수 있어 네트워크 성능을 향상시키는 효과가 있다.As described in detail above, the present invention proposes an algorithm that performs a function of smoothly calling each other independently of different communication protocols using only domain names in a single network in which both IPv6 and IPv4 coexist, while IPv4 and IPv6 coexist in a single network. It can communicate and improve network performance.

Claims (9)

IPv4 노드와 IPv6 노드가 공존하는 인트라 네트워크에 있어서,In an intra network in which an IPv4 node and an IPv6 node coexist, 소스 노드의 질의에 대해 IPv4 및 IPv6 타입의 질의를 생성하여 전송하며, 그 질의에 대한 목적지 노드의 응답을 확인하여 소스 질의와 동일한 타입이면 그대로 소스 노드로 전송하고 소스 질의와 동일한 타입이 아니면 소스 노드의 질의와 동일한 타입으로 변환하여 소스 노드로 전송하는 네트워크 주소 변환기(NAT)와,Create and transmit IPv4 and IPv6 type queries for source node queries, check the destination node's response to the query and send them to the source node if they are the same type as the source query. A network address translator (NAT) which converts the data into the same type as the query and transmits it to the source node; 상기 네트워크 주소 변환기에서의 IPv4 및 IPv6 타입의 소스 질의를 목적지 노드로 전송하고 그 목적지 노드에서의 응답을 네트워크 주소 변환기로 전송하는 DNS 서버를 구비하여 구성함을 특징으로 하는 인트라 네트워크에서의 디엔에스(DNS) 메시지 처리 시스템.And a DNS server for transmitting IPv4 and IPv6 source queries in the network address translator to a destination node and transmitting a response from the destination node to the network address translator. DNS) message processing system. 제1항에 있어서, 네트워크 주소 변환기는 소스 노드의 에이전트 기능을 수행하는 DNS-ALG NAT로 구성함을 특징으로 하는 인트라 네트워크에서의 디엔에스(DNS) 메시지 처리 시스템.2. The system of claim 1, wherein the network address translator is configured with a DNS-ALG NAT that performs an agent function of the source node. 제1항에 있어서, 네트워크 주소 변환기는The network address translator of claim 1, wherein the network address translator is 소스 노드의 질의에 대해 DNS ID 테이블을 생성하고, 목적지 노드의 응답이 DNS ID 테이블에 존재하는 경우 소스 노드의 질의와 동일한 타입의 응답으로 소스 노드에 전송하며 목적지 노드의 응답이 DNS ID 테이블에 존재하지 않는 경우 응답메시지 정보를 저장하도록 구성함을 특징으로 하는 인트라 네트워크에서의 디엔에스(DNS) 메시지 처리 시스템.Create a DNS ID table for the query of the source node, if the destination node's response exists in the DNS ID table, send it to the source node with the same type of response as the query of the source node, and the destination node's response exists in the DNS ID table. And if not, to store response message information. 제1항에 있어서, 네트워크 주소 변환기는The network address translator of claim 1, wherein the network address translator is PTR 타입의 경우 PTR 주소로 변환하고 PTR 질의를 저장한 후 질의 세션을 변환하도록 구성함을 특징으로 하는 인트라 네트워크에서의 디엔에스(DNS) 메시지 처리 시스템.In the case of the PTR type, a DNS message processing system of an intra-network is configured to convert a PTR address, store a PTR query, and then convert the query session. IPv4 노드와 IPv6 노드가 공존하는 인트라 네트워크에 있어서,In an intra network in which an IPv4 node and an IPv6 node coexist, IPv4 또는 IPv6 질의에 대해 IPv4 및 IPv6 질의를 동시에 생성하여 목적하는 노드로 전송하는 제1 단계와,A first step of simultaneously generating an IPv4 and an IPv6 query for an IPv4 or IPv6 query and transmitting it to a target node; 목적하는 노드의 응답이 소스 질의와 동일한 타입이면 그대로 응답하고 다른 응답이면 소스 질의와 동일한 타입으로 변환하여 응답하는 제2 단계를 수행함을 특징으로 하는 인트라 네트워크에서의 디엔에스(DNS) 메시지 처리 방법.And if the response of the target node is of the same type as the source query, responds as it is, and if it is another response, converts to the same type as the source query and performs a second step of responding. 제5항에 있어서, 제1 단계는The method of claim 5, wherein the first step is IPv4 또는 IPv6 타입의 질의에 대해 DNS ID 테이블을 생성하는 것을 특징으로 하는 인트라 네트워크에서의 디엔에스(DNS) 메시지 처리 방법.A method for processing a DNS message in an intra network, characterized by generating a DNS ID table for an IPv4 or IPv6 type query. 제5항에 있어서, 제1 단계는The method of claim 5, wherein the first step is PTR 타입의 경우 PTR 주소로 변환하고 PTR 질의를 저장한 후 질의 세션을 변환하는 과정을 포함하는 것을 특징으로 하는 인트라 네트워크에서의 디엔에스(DNS) 메시지 처리 방법.In the case of the PTR type, a method of processing a DNS message in an intra network, comprising converting a PTR address, storing a PTR query, and converting a query session. 제5항에 있어서, 제2 단계는The method of claim 5, wherein the second step is 응답 정보가 DNS ID 테이블에 존재하는 경우 소스 질의와 동일한 타입으로 응답하는 것을 특징으로 하는 인트라 네트워크에서의 디엔에스(DNS) 메시지 처리 방법.If the response information is present in the DNS ID table, and responds with the same type as the source query, the DNS message processing method in an intra network. 제5항에 있어서, 제2 단계는The method of claim 5, wherein the second step is PTR 응답의 경우 승인 섹션과 부과 섹션이 존재하면 변환된 DNS 응답 메시지를 소스 노드로 전송하는 과정을 포함하는 것을 특징으로 하는 인트라 네트워크에서의 디엔에스(DNS) 메시지 처리 방법.In the case of a PTR response, if the authorization section and the charging section exist, transmitting the converted DNS response message to the source node.
KR1020030003363A 2003-01-17 2003-01-17 Domain name service processing system and method on intra network KR20040066331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030003363A KR20040066331A (en) 2003-01-17 2003-01-17 Domain name service processing system and method on intra network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030003363A KR20040066331A (en) 2003-01-17 2003-01-17 Domain name service processing system and method on intra network

Publications (1)

Publication Number Publication Date
KR20040066331A true KR20040066331A (en) 2004-07-27

Family

ID=37356172

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030003363A KR20040066331A (en) 2003-01-17 2003-01-17 Domain name service processing system and method on intra network

Country Status (1)

Country Link
KR (1) KR20040066331A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863152B (en) * 2005-09-28 2010-05-05 华为技术有限公司 Method for transmitting various messages between internal network users
CN101499996B (en) * 2008-01-28 2012-05-23 中国电信股份有限公司 Domain name differentiate parsing method and domain name server
KR20170002452U (en) 2015-12-29 2017-07-07 주식회사 영우워터라인 Disposable Dripper
KR20170002637U (en) 2016-01-14 2017-07-24 주식회사 영우워터라인 Disposable Dripper

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10154994A (en) * 1996-11-20 1998-06-09 Sumitomo Electric Ind Ltd Address conversion system
JPH11252172A (en) * 1998-02-27 1999-09-17 Hitachi Ltd Packet generation method, information processor having its function and storage medium where packet generation program is recorded
KR20010065103A (en) * 1999-12-29 2001-07-11 이계철 Method for dynamic assignment of public IP address and private IP address on intra-domain network
KR20020040815A (en) * 1999-09-24 2002-05-30 내쉬 로저 윌리엄 Packet network interfacing
KR20030060388A (en) * 2002-01-08 2003-07-16 삼성전자주식회사 Converting Apparatus for converting internet protocol address and Communicating Method using thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10154994A (en) * 1996-11-20 1998-06-09 Sumitomo Electric Ind Ltd Address conversion system
JPH11252172A (en) * 1998-02-27 1999-09-17 Hitachi Ltd Packet generation method, information processor having its function and storage medium where packet generation program is recorded
KR20020040815A (en) * 1999-09-24 2002-05-30 내쉬 로저 윌리엄 Packet network interfacing
KR20010065103A (en) * 1999-12-29 2001-07-11 이계철 Method for dynamic assignment of public IP address and private IP address on intra-domain network
KR20030060388A (en) * 2002-01-08 2003-07-16 삼성전자주식회사 Converting Apparatus for converting internet protocol address and Communicating Method using thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863152B (en) * 2005-09-28 2010-05-05 华为技术有限公司 Method for transmitting various messages between internal network users
CN101499996B (en) * 2008-01-28 2012-05-23 中国电信股份有限公司 Domain name differentiate parsing method and domain name server
KR20170002452U (en) 2015-12-29 2017-07-07 주식회사 영우워터라인 Disposable Dripper
KR20170002637U (en) 2016-01-14 2017-07-24 주식회사 영우워터라인 Disposable Dripper

Similar Documents

Publication Publication Date Title
EP1545096B1 (en) Apparatus and method for providing VoIP service
JP5335886B2 (en) Method and apparatus for communicating data packets between local networks
US7467214B2 (en) Invoking protocol translation in a multicast network
US6822957B1 (en) Distributed network address translation for a network telephony system
US8238336B2 (en) Method for forwarding data packet, system, and device
US7339895B2 (en) Gateway device and control method for communication with IP and IPV6 protocols
KR100360274B1 (en) Method for supporting general ip telephone system in nat based private network
US20030193965A1 (en) Packet communication method and apparatus and a recording medium storing a packet communication program
WO2003088625A1 (en) Method and system for enabling connections into networks with local address realms
EP1430695A2 (en) Addressing scheme for wireless mobile clients
JP2005236824A (en) IPv6/IPv4 TRANSLATOR
JP2002124963A (en) Use method of internet protocol address in private internet protocol address domain
US20030031173A1 (en) Multilayer internet protocol (MLIP) for peer-to-peer service of private internet and method for transmitting/receiving MLIP packet
JPH11252172A (en) Packet generation method, information processor having its function and storage medium where packet generation program is recorded
US10158604B2 (en) Method for addressing messages in a computer network
WO2004071052A1 (en) Enhanced dns server
KR20090119006A (en) A method and network connectivity device for opening a network link
KR20040066331A (en) Domain name service processing system and method on intra network
US6901508B2 (en) Method for expanding address for Internet protocol version 4 in Internet edge router
US7499448B2 (en) Method for data exchange between network elements in networks with different address ranges
KR20040066333A (en) Domain name service message processing system on complex network
KR20030057095A (en) Method of different IP-address attaching for gatekeeper and NAT-PT
JP2002084319A (en) Communication system and method
KR100511059B1 (en) System and Method for multimedia communication between security network and open network
KR100492887B1 (en) Method for Transceiving of Message Using Single IP Address in a General Server

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application