WO2016179816A1 - 域名系统访问方法及设备 - Google Patents
域名系统访问方法及设备 Download PDFInfo
- Publication number
- WO2016179816A1 WO2016179816A1 PCT/CN2015/078882 CN2015078882W WO2016179816A1 WO 2016179816 A1 WO2016179816 A1 WO 2016179816A1 CN 2015078882 W CN2015078882 W CN 2015078882W WO 2016179816 A1 WO2016179816 A1 WO 2016179816A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- domain name
- address
- dns
- destination domain
- destination
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4552—Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/08—Access point devices
Definitions
- the present invention relates to the field of Internet communication, and in particular, to a domain name system access method and device.
- DNS Domain Name System
- IP Internet Protocol
- the DNS query process in the prior art mainly includes the following steps: First, the UE sends a DNS query request message to the target domain name to the access network device (such as the base station); and then the access network device forwards the DNS query request packet.
- the DNS server generates a response message according to the DNS query request; finally, the response message of the DNS server is forwarded to the UE through the access network device.
- the present invention provides a domain name system access method and device.
- the technical solution is as follows:
- a method for accessing a domain name system including:
- the access network device receives the domain name system DNS query request message sent by the user equipment UE, where the DNS query request message includes a destination domain name, and the DNS query request message is used to request the domain name with the destination domain name.
- the access network device queries the corresponding relationship between the locally cached domain name and the IP address according to the destination domain name;
- the access network device If the destination domain name is recorded in the correspondence, the access network device generates a first DNS response packet, where the first DNS response packet includes the destination domain name, and the first IP address, where the An IP address is an IP address corresponding to the destination domain name recorded in the corresponding relationship between the locally cached domain name and the IP address;
- the access network device sends the first DNS response message to the UE.
- the method further includes:
- the access network device sends the DNS query request packet to the DNS server, so that the DNS server queries the DNS server according to the destination domain name.
- the DNS server Corresponding relationship between the saved domain name and the IP address, and determining an IP address corresponding to the destination domain name, the DNS server generates a second DNS response message according to the destination domain name and the IP address corresponding to the destination domain name, and Sending the second DNS response message to the access network device;
- the access network device sends the second DNS response message to the UE.
- the method further includes:
- the access network device sends the DNS query request packet to the DNS server, so that the DNS server queries the correspondence between the domain name and the IP address saved in the DNS server according to the destination domain name, and determines the location. Determining an IP address corresponding to the domain name, the DNS server generates a second DNS response packet according to the destination domain name and the IP address corresponding to the destination domain name, and sends the second DNS response packet to the interface Network access equipment;
- the access network device receives the second DNS response message sent by the DNS server, where the second DNS response message includes the destination domain name and a second IP address, where the second IP address is An IP address corresponding to the destination domain name recorded in a correspondence between a domain name and an IP address saved in the DNS server;
- the access network device sends the second DNS response message to the UE.
- the method further includes:
- a second aspect provides an access network device, including: a first receiving unit, a query unit, a generating unit, and a first sending unit;
- the first receiving unit is configured to receive a domain name system DNS query request message sent by the UE, where the DNS query request message includes a destination domain name, and the DNS query request message is used to request a network corresponding to the destination domain name.
- the querying unit is configured to query, according to the destination domain name, a correspondence between a locally cached domain name and an IP address;
- the generating unit is configured to generate a first DNS response packet, where the first DNS response packet includes the destination domain name And the first IP address, where the first IP address is an IP address corresponding to the destination domain name recorded in the corresponding relationship between the locally cached domain name and the IP address;
- the first sending unit is configured to send the first DNS response message to the UE.
- the device further includes: a second sending unit, a second receiving unit, and a third sending unit;
- the second sending unit is configured to send the DNS query request message to the DNS server when the destination domain name is not recorded in the corresponding relationship between the locally cached domain name and the IP address, so as to facilitate the DNS server.
- the DNS server Querying the domain name and IP saved in the DNS server according to the destination domain name Corresponding relationship of the address, and determining an IP address corresponding to the destination domain name, the DNS server generates a second DNS response message according to the destination domain name and the IP address corresponding to the destination domain name, and the second DNS Sending a response message to the access network device;
- the second receiving unit is configured to receive a second DNS response message sent by the DNS server, where the second DNS response message includes the destination domain name and a second IP address, where the second IP address is An IP address corresponding to the destination domain name recorded in the correspondence between the domain name and the IP address saved in the DNS server;
- the third sending unit is configured to send the second DNS response message to the UE.
- the device further includes: a fourth sending unit, a third receiving unit, and a fifth sending unit;
- the fourth sending unit is configured to send the DNS query request message to the DNS server, so that the DNS server queries the correspondence between the domain name and the IP address saved in the DNS server according to the destination domain name. Determining an IP address corresponding to the destination domain name, and the DNS server generates a second DNS response packet according to the destination domain name and the IP address corresponding to the destination domain name, and sends the second DNS response packet to the The access network device;
- the third receiving unit is configured to receive a second DNS response message sent by the DNS server, where the second DNS response message includes the destination domain name and a second IP address, where the second IP address is An IP address corresponding to the destination domain name recorded in the correspondence between the domain name and the IP address saved in the DNS server;
- the fifth sending unit is configured to send the second DNS response message to the UE.
- the device further includes: an update unit
- the updating unit is configured to update a correspondence between the locally cached domain name and the IP address according to the correspondence between the destination domain name and the second IP address.
- a third aspect provides an access network device, including: a network interface, a processor, a memory, and a bus; the bus is configured to connect the network interface, the processor, and the memory, the processor Means for executing a program stored in the memory;
- the network interface is configured to receive a domain name system DNS query request message sent by the UE, where the DNS query request message includes a destination domain name, and the DNS query request message is used to request a network application server corresponding to the destination domain name.
- Internet Protocol IP address ;
- the processor is further configured to query, according to the destination domain name, a correspondence between a locally cached domain name and an IP address;
- the processor is further configured to record, in the correspondence between the locally cached domain name and the IP address, the destination domain name, and when the first DNS response packet is generated, the first DNS response packet includes the destination a domain name, and a first IP address, where the first IP address is an IP address corresponding to the destination domain name recorded in the corresponding relationship between the locally cached domain name and the IP address;
- the network interface is further configured to send the first DNS response message to the UE.
- the network interface is further used to The DNS query request message is sent to the DNS server, so that the DNS server queries the correspondence between the domain name and the IP address saved in the DNS server according to the destination domain name, and determines the IP address corresponding to the destination domain name.
- the DNS server generates a second DNS response message according to the destination domain name and the IP address corresponding to the destination domain name, and sends the second DNS response message to the access network device.
- the network interface is further configured to receive a second DNS response message sent by the DNS server, where the second DNS response message includes the destination domain name and a second IP address, where the second IP address is An IP address corresponding to the destination domain name recorded in a correspondence between a domain name and an IP address saved in the DNS server;
- the network interface is further configured to send the second DNS response message to the UE.
- the network interface is further configured to send the DNS query request packet to a DNS server, so that the DNS server is configured according to the destination domain name. Querying the correspondence between the domain name and the IP address saved in the DNS server, and confirming Determining an IP address corresponding to the destination domain name, and the DNS server generates a second DNS response message according to the destination domain name and an IP address corresponding to the destination domain name, and sends the second DNS response message to the Access network equipment;
- the network interface is further configured to receive a second DNS response message sent by the DNS server, where the second DNS response message includes the destination domain name and a second IP address, where the second IP address is An IP address corresponding to the destination domain name recorded in a correspondence between a domain name and an IP address saved in the DNS server;
- the network interface is further configured to send the second DNS response message to the UE.
- the processor is further configured to update a correspondence between the locally cached domain name and the IP address according to the correspondence between the destination domain name and the second IP address.
- a domain name system access system comprising the access network device of any of the second aspects.
- a domain name system access system comprising the access network device of any of the third aspects.
- the domain name system access method and device provided by the embodiment of the present invention, after receiving the DNS query request message sent by the UE, the access network device can query the corresponding relationship between the locally cached domain name and the IP address according to the destination domain name, and locally When the destination domain name is recorded in the corresponding relationship between the cached domain name and the IP address, the response packet is sent to the UE.
- the access network device can directly respond to the DNS query request packet sent by the UE. Reduce the delay in responding to DNS query request messages.
- FIG. 1 is a schematic diagram of an environment of a DNS access system involved in a method for accessing a domain name system according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for accessing a domain name system according to an embodiment of the present invention
- FIG. 3 is a flowchart of another method for accessing a domain name system according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of an access network device according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of another access network device according to an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of another access network device according to an embodiment of the present disclosure.
- FIG. 7 is a schematic structural diagram of another access network device according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of another access network device according to an embodiment of the present disclosure.
- FIG. 9 is a schematic structural diagram of still another access network device according to an embodiment of the present invention.
- the DNS access system includes: UE00, access network device 01, and DNS server 02.
- the UE00 may send a DNS query request message to the access network device 01; the access network device 01 may forward the message or respond to the DNS query request message; the DNS server 02 may respond to the DNS query request message.
- the DNS access system may be a system of different standards.
- the access network device may be a different device.
- the network access device 01 may be an evolved base station (English: Evolved Node B; abbreviated as: eNodB); when the DNS access system is a global mobile communication system (English: Global System for Mobile Communication; GSM) or code division multiple access (English) :Code Division In the case of multiple access; referred to as CDMA system, the access network device 01 may be a base station controller (English: Base Station Controller; abbreviated as: BSC); when the DNS access system is a universal mobile communication system (English: Universal Mobile Telecommunications System; UMTS), the access network device 01 may be a radio network controller (English: Radio Network Controller; RNC), which is not limited herein.
- eNodB evolved base station
- GSM Global System for Mobile Communication
- CDMA Code Division Multiple Access
- BSC Base Station Controller
- the access network device 01 may be a radio network controller (English: Radio Network Controller; RNC), which is not limited herein.
- An embodiment of the present invention provides a method for accessing a domain name system. As shown in FIG. 2, the method for accessing a network device includes:
- Step 101 The access network device receives a domain name system DNS query request message sent by the user equipment UE, where the DNS query request message includes a destination domain name, and the DNS query request message is used to request a network application server corresponding to the destination domain name.
- Internet Protocol IP address
- Step 102 The access network device queries the corresponding relationship between the locally cached domain name and the IP address according to the destination domain name.
- Step 103 If the destination domain name is recorded in the mapping between the locally cached domain name and the IP address, the access network device generates a first DNS response packet, where the first DNS response packet includes the destination domain name and the first IP address.
- the first IP address is an IP address corresponding to the destination domain name recorded in the corresponding relationship between the locally cached domain name and the IP address.
- Step 104 The access network device sends the first DNS response message to the UE.
- the access method of the domain name system can query the correspondence between the locally cached domain name and the IP address according to the destination domain name after the access network device receives the DNS query request packet sent by the UE. And when the destination domain name is recorded in the corresponding relationship between the locally cached domain name and the IP address, the response packet is sent to the UE.
- the access network device can directly respond to the DNS query request packet sent by the UE. Therefore, the delay in responding to the DNS query request message can be reduced.
- the method further includes:
- the access network device sends a DNS query request packet to the DNS server, so that the DNS server queries the DNS server according to the destination domain name.
- the DNS server Corresponding relationship between the saved domain name and the IP address, and determining the IP address corresponding to the destination domain name, the DNS server generates a second DNS response message according to the destination domain name and the IP address corresponding to the destination domain name, and the second DNS response is obtained. The message is sent to the access network device.
- the access network device receives a second DNS response message sent by the DNS server, where the second DNS response message includes a destination domain name and a second IP address, where the second IP address is a domain name and an IP address saved in the DNS server.
- the IP address corresponding to the destination domain name recorded in the correspondence.
- the access network device sends the second DNS response message to the UE.
- the method further includes:
- the access network device sends a DNS query request packet to the DNS server, so that the DNS server queries the correspondence between the domain name and the IP address saved in the DNS server according to the destination domain name, and determines the IP address corresponding to the destination domain name.
- the access network device receives a second DNS response message sent by the DNS server, where the second DNS response message includes a destination domain name and a second IP address, where the second IP address is a domain name and an IP address saved in the DNS server.
- the IP address corresponding to the destination domain name recorded in the correspondence.
- the access network device sends the second DNS response message to the UE.
- the method after receiving the second DNS response packet sent by the DNS server, the method includes:
- the access method of the domain name system can query the correspondence between the locally cached domain name and the IP address according to the destination domain name after the access network device receives the DNS query request packet sent by the UE. And when the destination domain name is recorded in the corresponding relationship between the locally cached domain name and the IP address, the response packet is sent to the UE.
- the access network device can directly respond to the DNS query request packet sent by the UE. Therefore, the delay in responding to the DNS query request message can be reduced.
- an LTE system is taken as an example to describe a domain name system access method provided by an embodiment of the present invention.
- the access network device is an eNodeB, and the method includes:
- Step 201 The UE sends a DNS query request message to the eNodeB.
- the DNS query request packet includes a destination domain name, and the DNS query request packet is used to request an IP address of a network application server corresponding to the destination domain name.
- Step 202 The eNodeB queries the corresponding relationship between the locally cached domain name and the IP address according to the destination domain name.
- the eNodeB can establish a corresponding relationship between the domain name and the IP address according to the domain name and the IP address carried in the DNS response packet, and cache the DNS response message returned by the DNS server to the UE during the previous domain name system access process. Get the mapping between the locally cached domain name and the IP address.
- the mapping between the locally cached domain name and the IP address in the eNodeB can be as shown in Table 1. It is assumed that the eNodeB locally caches the correspondence between the three domain names and the IP address, and the IP address corresponding to the domain name www.xxxx.com is Abcd; the IP address corresponding to the domain name www.yyyy.com is efgh; the IP address corresponding to the domain name www.zzzz.com is hijk.
- Step 203 If the destination domain name is recorded in the corresponding relationship between the locally cached domain name and the IP address, the eNodeB generates a first DNS response packet.
- the first DNS response message includes a destination domain name and a first IP address, where the first IP address is an IP address corresponding to the destination domain name recorded in the corresponding relationship between the locally cached domain name and the IP address.
- the eNodeB For example, if the destination domain name of the UE query request is www.yyy.com, as shown in Table 1, the eNodeB The IP address corresponding to the domain name is cached, that is, efgh, and the first IP address is efgh. The eNodeB generates a first DNS response packet according to the destination domain name www.yyyy.com and the first IP address efgh, so that the first DNS is obtained. The response message includes the destination domain name www.yyyy.com and the first IP address efgh.
- Step 204 The eNodeB sends the first DNS response message to the UE.
- the eNodeB after receiving the DNS query request packet sent by the UE, the eNodeB can query the corresponding relationship between the locally cached domain name and the IP address according to the destination domain name, and record in the corresponding relationship between the locally cached domain name and the IP address.
- the response message is sent to the UE.
- the eNodeB can directly respond to the DNS query request packet sent by the UE, which usually takes longer than the DNS server to directly respond to the DNS query request packet sent by the UE. The time is short, so the delay in responding to DNS query request messages can be reduced.
- Step 205 If the destination domain name is not recorded in the corresponding relationship between the locally cached domain name and the IP address, the eNodeB sends the DNS query request packet to the DNS server.
- the destination domain name of the UE query request is www.uuuu.com, as shown in Table 1, the destination domain name is not recorded in the correspondence between the domain name and the IP address cached in the eNodeB. At this time, the eNodeB requests the DNS query. The message is sent to the DNS server.
- Step 206 The DNS server queries the mapping between the domain name and the IP address saved in the DNS server according to the destination domain name, and determines the IP address corresponding to the destination domain name.
- the DNS server generates the IP address corresponding to the destination domain name and the destination domain name. And sending a second DNS response message to the access network device.
- the DNS server may be a server, or a server cluster composed of several servers, or a cloud computing service center, and may be provided with a distributed database for storing domain names, and the DNS server usually stores the DNS system. Access all the domain names and IP addresses in the system. The domain name and IP address can be saved in the form of the mapping between the domain name and the IP address. Therefore, you can determine the destination domain name by querying the mapping between the domain name and the IP address saved in the DNS server. The corresponding IP address.
- the second IP address is lmno
- the DNS server generates according to the destination domain name www.uuuu.com and the second IP address lmno.
- the second DNS response message is such that the second DNS response message includes the destination domain name www.uuuu.com and the second IP address lmno.
- Step 207 The eNodeB receives the second DNS response packet sent by the DNS server.
- the second DNS response message includes a destination domain name and a second IP address, where the second IP address is an IP address corresponding to the destination domain name recorded in the correspondence between the domain name and the IP address saved in the DNS server.
- Step 208 The eNodeB sends the second DNS response message to the UE.
- the UE may select to receive the first-ever DNS response packet, and parse the destination domain name according to the IP address included in the DNS response packet, so if the first DNS response packet is included in the first An IP address is different from the second IP address included in the second DNS response message, and does not affect the UE access result.
- Step 209 The eNodeB updates the correspondence between the locally cached domain name and the IP address according to the correspondence between the destination domain name and the second IP address.
- the destination domain name and the second IP address may be adopted.
- the correspondence between the destination domain name and the other IP address is overwritten, and the correspondence between the destination domain name and the second IP address is also recorded, but the correspondence between the destination domain name and the second IP address is marked as the latest relationship. Obtain the latest destination domain name and IP address when querying the corresponding relationship of the local cache according to the destination domain name for the next time.
- the latest relationship in the correspondence that is, the destination domain name and the second IP address Corresponding relationship; on the other hand, after the correspondence between the destination domain name and the second IP address is matched with the corresponding relationship between the locally cached destination domain name and the IP address, if the corresponding relationship between the locally cached destination domain name and the IP address is recorded, The correspondence between the destination domain name and the second IP address keeps the correspondence between the destination domain name and the second IP address unchanged.
- the correspondence between the destination domain name and the second IP address is the correspondence between the domain name www.uuuu.com and the IP address lmno
- the correspondence between the destination domain name of the eNodeB locally cached and the IP address is not Recording the correspondence between the domain name www.uuuu.com and the IP address lmno
- the eNodeB updates the correspondence between the domain name and the IP address to the local cache, and the corresponding relationship between the updated locally cached domain name and the IP address is as shown in Table 2. Show.
- the eNodeB can send the DNS query request packet to the DNS server regardless of whether the destination domain name is recorded in the corresponding relationship between the locally cached domain name and the IP address, so that the DNS server can use the domain name according to the destination domain name.
- the corresponding relationship between the domain name and the IP address saved in the DNS server is queried, and the IP address corresponding to the destination domain name is determined, and then steps 206 to 210 are performed.
- the UE may choose to receive the DNS response packet that arrives first. If the first DNS response packet sent by the eNodeB does not arrive or arrives at the UE, the embodiment of the present invention can ensure that the UE can also receive the second generated by the DNS server.
- the DNS responds to the message, so the reliability of the DNS access system is improved by sending the response message twice.
- the domain name system access method can query the locally cached domain name according to the destination domain name after the access network device receives the DNS query request packet sent by the UE. Corresponding relationship of the IP address, and when the destination domain name is recorded in the corresponding relationship between the locally cached domain name and the IP address, the response packet is sent to the UE.
- the access network device can directly respond to the UE. The DNS queries the request packet, so the delay in responding to the DNS query request message can be reduced.
- An embodiment of the present invention provides an access network device 300.
- the device 300 includes a first receiving unit 301, a query unit 302, a generating unit 303, and a first sending unit 304.
- the first receiving unit 301 is configured to receive a domain name system DNS query request message sent by the UE, where the DNS query request message includes a destination domain name, and the DNS query request message is used to request an internet of a network application server corresponding to the destination domain name. Protocol IP address.
- the query unit 302 is configured to query a correspondence between a locally cached domain name and an IP address according to the destination domain name.
- the generating unit 302 is configured to generate a first DNS response packet, where the first DNS response packet includes the destination domain name and the first IP address.
- the first IP address is an IP address corresponding to the destination domain name recorded in the correspondence between the locally cached domain name and the IP address.
- the first sending unit 304 is configured to send the first DNS response message to the UE.
- the query unit can query the corresponding relationship between the locally cached domain name and the IP address according to the destination domain name. And when the destination domain name is recorded in the corresponding relationship between the locally cached domain name and the IP address, the generating unit generates a DNS response message, and sends the DNS response message to the UE through the first sending unit, compared with the current.
- the access network device provided by the embodiment of the present invention can directly respond to the DNS query request packet sent by the UE. Therefore, the delay of responding to the DNS query request packet can be reduced.
- the embodiment of the present invention provides another access network device 300, which can be applied to the DNS access system in FIG. 1.
- the access network device 300 may be a BSC when the DNS access system is a GSM or CDMA system.
- the access network device 300 may be an RNC, and the embodiment of the present invention does not limited.
- the device 300 further includes a second transmitting unit 305, a second receiving unit 306, and a third transmitting unit 307.
- the second sending unit 305 is configured to send the DNS query request message to the DNS server when the destination domain name is not recorded in the corresponding relationship between the locally cached domain name and the IP address, so that the DNS server queries the DNS server according to the destination domain name.
- the DNS server Corresponding relationship between the saved domain name and the IP address, and determining the IP address corresponding to the destination domain name, the DNS server generates a second DNS response message according to the destination domain name and the IP address corresponding to the destination domain name, and the second DNS is generated.
- the response message is sent to the access network device.
- the second receiving unit 306 is configured to receive a second DNS response message sent by the DNS server, where the second DNS response message includes the destination domain name and a second IP address, where the second IP address is a domain name saved in the DNS server.
- the IP address corresponding to the destination domain name recorded in the mapping of the IP address.
- the third sending unit 307 is configured to send the second DNS response message to the UE.
- An embodiment of the present invention provides another access network device 300. As shown in FIG. 6, the device 300 further includes a fourth sending unit 308, a third receiving unit 309, and a fifth sending unit 310.
- the fourth sending unit 308 is configured to send the DNS query request packet to the DNS server, so that the DNS server queries the DNS server according to the destination domain name.
- the DNS server Corresponding relationship between the saved domain name and the IP address, and determining the IP address corresponding to the destination domain name, the DNS server generates a second DNS response message according to the destination domain name and the IP address corresponding to the destination domain name, and the second DNS is generated. The response message is sent to the access network device.
- the third receiving unit 309 is configured to receive a second DNS response message sent by the DNS server, where the second DNS response message includes the destination domain name and a second IP address, where the second IP address is a domain name saved in the DNS server.
- the IP address corresponding to the destination domain name recorded in the correspondence with the IP address.
- the fifth sending unit 310 is configured to send the second DNS response message to the UE.
- An embodiment of the present invention provides another access network device 300. As shown in FIG. 7, the device 300 further includes a second sending unit 305, a second receiving unit 306, a third sending unit 307, and an updating unit 311.
- the second sending unit 305 is configured to send the DNS query request packet to the DNS server when the destination domain name is not recorded in the corresponding relationship between the locally cached domain name and the IP address, so that the DNS server queries the DNS according to the destination domain name.
- the DNS server Corresponding relationship between the domain name and the IP address saved in the server, and determining the IP address corresponding to the destination domain name, the DNS server generates a second DNS response message according to the destination domain name and the IP address corresponding to the destination domain name, and the second The DNS response message is sent to the access network device.
- the second receiving unit 306 is configured to receive a second DNS response message sent by the DNS server, where the second DNS response message includes the destination domain name and a second IP address, where the second IP address is a domain name saved in the DNS server.
- the IP address corresponding to the destination domain name recorded in the correspondence with the IP address.
- the third sending unit 307 is configured to send the second DNS response message to the UE.
- the updating unit 311 is configured to update the correspondence between the locally cached domain name and the IP address according to the correspondence between the destination domain name and the second IP address.
- An embodiment of the present invention provides another access network device 300.
- the device 300 further includes a fourth sending unit 308, a third receiving unit 309, and a fifth sending unit 310, and an updating unit 311.
- the fourth sending unit 308 is configured to send the DNS query request packet to the DNS server, so that the DNS server queries the DNS server according to the destination domain name.
- the DNS server Corresponding relationship between the saved domain name and the IP address, and determining the IP address corresponding to the destination domain name, the DNS server generates a second DNS response message according to the destination domain name and the IP address corresponding to the destination domain name, and the second DNS is generated. The response message is sent to the access network device.
- the third receiving unit 309 is configured to receive a second DNS response packet sent by the DNS server, where the The second DNS response packet includes the destination domain name and the second IP address, where the second IP address is an IP address corresponding to the destination domain name recorded in the correspondence between the domain name and the IP address saved in the DNS server.
- the fifth sending unit 310 is configured to send the second DNS response message to the UE.
- the updating unit 311 is configured to update the correspondence between the locally cached domain name and the IP address according to the correspondence between the destination domain name and the second IP address.
- the query unit can query the corresponding relationship between the locally cached domain name and the IP address according to the destination domain name. And when the destination domain name is recorded in the corresponding relationship between the locally cached domain name and the IP address, the generating unit generates a DNS response message, and sends the DNS response message to the UE through the first sending unit, compared with the current.
- the access network device provided by the embodiment of the present invention can directly respond to the DNS query request packet sent by the UE. Therefore, the delay of responding to the DNS query request packet can be reduced.
- the access network device 400 includes a network interface 401, a processor 402, a memory 403, and a bus 404.
- the bus 404 is used to connect to the network interface 401, the processor 402 and the memory 402, and the processor 402 is configured to execute a program stored in the memory 403;
- the network interface 401 is configured to receive a domain name system DNS query request message sent by the UE, where the DNS query request message includes a destination domain name, and the DNS query request message is used to request an internet protocol IP of the network application server corresponding to the destination domain name. address.
- the processor 402 is configured to query, according to the destination domain name, a correspondence between a locally cached domain name and an IP address.
- the processor 402 is further configured to generate a first DNS response message when the destination domain name is recorded in the corresponding relationship between the locally cached domain name and the IP address, where the first DNS response message includes the destination domain name and the first IP address.
- the first IP address is an IP address corresponding to the destination domain name recorded in the corresponding relationship between the locally cached domain name and the IP address.
- the network interface 401 is further configured to send the first DNS response message to the UE.
- the network interface 401 is further configured to send the DNS query request packet to the DNS server to facilitate the DNS server.
- the DNS server According to the destination domain name, query the correspondence between the domain name and the IP address saved in the DNS server, and determine the IP address corresponding to the destination domain name, and the DNS server generates a second DNS response report according to the destination domain name and the IP address corresponding to the destination domain name. And sending the second DNS response message to the access network device.
- the network interface 401 is further configured to receive a second DNS response message sent by the DNS server, where the second DNS response message includes the destination domain name and a second IP address, where the second IP address is in the DNS server.
- the IP address corresponding to the destination domain name recorded in the mapping between the saved domain name and the IP address.
- the network interface 401 is further configured to send the second DNS response message to the UE.
- the network interface 401 is further configured to send the DNS query request packet to the DNS server, so that the DNS server can
- the destination domain name is used to query the correspondence between the domain name and the IP address stored in the DNS server, and the IP address corresponding to the destination domain name is determined.
- the DNS server generates a second DNS response packet according to the destination domain name and the IP address corresponding to the destination domain name. And sending the second DNS response message to the access network device.
- the network interface 401 is further configured to receive a second DNS response message sent by the DNS server, where the second DNS response message includes the destination domain name and a second IP address, where the second IP address is in the DNS server.
- the IP address corresponding to the destination domain name recorded in the mapping between the saved domain name and the IP address.
- the network interface 401 is further configured to send the second DNS response message to the UE.
- the processor 402 is further configured to update the correspondence between the locally cached domain name and the IP address according to the correspondence between the destination domain name and the second IP address.
- the access network device receives the DNS sent by the UE by using the network interface.
- the processor can query the corresponding relationship between the locally cached domain name and the IP address according to the destination domain name, and generate the destination domain name in the corresponding relationship between the locally cached domain name and the IP address, and generate the same by using the processor.
- the DNS response packet, and the DNS response packet is sent to the UE through the sending device.
- the access network device provided by the embodiment of the present invention can directly respond to the DNS query request packet sent by the UE. It can reduce the delay of responding to DNS query request messages.
- An embodiment of the present invention provides a domain name system access system, and the system includes the access network device 300 shown in any of FIG. 4 to FIG.
- Another embodiment of the present invention provides a domain name system access system, which includes the access network device 400 shown in FIG.
- a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
- the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明提供一种域名系统访问方法及设备,涉及互联网通信领域,包括:接入网设备接收用户设备UE发送的DNS查询请求报文,该DNS查询请求报文包括目的域名,接入网设备根据该目的域名,查询本地缓存的域名与IP地址的对应关系;若该对应关系中记录有该目的域名,该接入网设备生成第一DNS应答报文;该接入网设备将第一DNS应答报文发送至UE。本发明能够解决DNS服务器对DNS查询请求报文响应时延较长的问题,实现减少DNS查询请求报文响应时延的效果,本发明用于DNS访问系统。
Description
本发明涉及领域互联网通信领域,特别涉及一种域名系统访问方法及设备。
用户设备(英文:User Equipment;简称:UE)在访问互联网时,需要通过域名系统(英文:Domain Name System;简称:DNS)的DNS服务器将其访问的域名解析成能够被机器直接读取的互联网协议(英文:Internet Protocol;简称:IP)地址。DNS能够使UE直接使用域名更方便的去访问互联网,而不用记住用于被机器直接读取的IP数串。
现有技术中的DNS查询流程主要包括以下几个步骤:首先UE向接入网设备(如基站)发送对目标域名的DNS查询请求报文;然后接入网设备将此DNS查询请求报文转发给DNS服务器;DNS服务器根据该DNS查询请求生成应答报文;最后DNS服务器的应答报文再通过接入网设备转发给UE。
但是,由于UE与DNS服务器间的报文需要经过接入网设备进行转发,因此,DNS服务器对DNS查询请求报文响应的时延较长。
发明内容
为了解决DNS服务器对DNS查询请求报文响应的时延较长的问题,本发明提供了一种域名系统访问方法及设备。所述技术方案如下:
第一方面,提供一种域名系统访问方法,包括:
接入网设备接收用户设备UE发送的域名系统DNS查询请求报文,所述DNS查询请求报文包括目的域名,所述DNS查询请求报文用于请求与所述目的域名
对应的网络应用服务器的互联网协议IP地址;
所述接入网设备根据所述目的域名,查询本地缓存的域名与IP地址的对应关系;
若所述对应关系中记录有所述目的域名,所述接入网设备生成第一DNS应答报文,所述第一DNS应答报文包括所述目的域名,以及第一IP地址,所述第一IP地址为所述本地缓存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;
所述接入网设备将所述第一DNS应答报文发送至所述UE。
结合第一方面,在第一方面的第一种可实现方式中,所述方法还包括:
若所述对应关系中没有记录所述目的域名,所述接入网设备将所述DNS查询请求报文发送至DNS服务器,以便于所述DNS服务器根据所述目的域名,查询所述DNS服务器中保存的域名与IP地址的对应关系,并确定所述目的域名对应的IP地址,所述DNS服务器根据所述目的域名以及所述目的域名对应的IP地址,生成第二DNS应答报文,并将所述第二DNS应答报文发送至所述接入网设备;
所述接入网设备接收所述DNS服务器发送的第二DNS应答报文,所述第二DNS应答报文包括所述目的域名,以及第二IP地址,所述第二IP地址为所述DNS服务器中保存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;
所述接入网设备将所述第二DNS应答报文发送至所述UE。
结合第一方面,在第一方面的第二种可实现方式中,所述方法还包括:
所述接入网设备将所述DNS查询请求报文发送至DNS服务器,以便于所述DNS服务器根据所述目的域名,查询所述DNS服务器中保存的域名与IP地址的对应关系,并确定所述目的域名对应的IP地址,所述DNS服务器根据所述目的域名以及所述目的域名对应的IP地址,生成第二DNS应答报文,并将所述第二DNS应答报文发送至所述接入网设备;
所述接入网设备接收所述DNS服务器发送的所述第二DNS应答报文,所述第二DNS应答报文包括所述目的域名,以及第二IP地址,所述第二IP地址为所述DNS服务器中保存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;
所述接入网设备将所述第二DNS应答报文发送至所述UE。
结合第一方面的第一种可实现方式或第一方面的第二种可实现方式,在第一方面的第三种可实现方式中,所述方法还包括:
根据所述目的域名与所述第二IP地址的对应关系更新所述本地缓存的域名与IP地址的对应关系。
第二方面,提供一种接入网设备,包括:第一接收单元、查询单元、生成单元和第一发送单元;
所述第一接收单元,用于接收UE发送的域名系统DNS查询请求报文,所述DNS查询请求报文包括目的域名,所述DNS查询请求报文用于请求与所述目的域名对应的网络应用服务器的互联网协议IP地址;
所述查询单元,用于根据所述目的域名,查询本地缓存的域名与IP地址的对应关系;
在所述本地缓存的域名与IP地址的对应关系中记录有所述目的域名时,所述生成单元,用于生成第一DNS应答报文,所述第一DNS应答报文包括所述目的域名,以及第一IP地址,所述第一IP地址为所述本地缓存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;
所述第一发送单元,用于将所述第一DNS应答报文发送至所述UE。
结合第二方面,在第二方面的第一种可实现方式中,所述设备还包括:第二发送单元,第二接收单元和第三发送单元;
所述第二发送单元,用于在所述本地缓存的域名与IP地址的对应关系中没有记录所述目的域名时,将所述DNS查询请求报文发送至DNS服务器,以便于所述DNS服务器根据所述目的域名,查询所述DNS服务器中保存的域名与IP
地址的对应关系,并确定所述目的域名对应的IP地址,所述DNS服务器根据所述目的域名以及所述目的域名对应的IP地址,生成第二DNS应答报文,并将所述第二DNS应答报文发送至所述接入网设备;
所述第二接收单元,用于接收所述DNS服务器发送的第二DNS应答报文,所述第二DNS应答报文包括所述目的域名,以及第二IP地址,所述第二IP地址为所述DNS服务器中保存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;
所述第三发送单元,用于将所述第二DNS应答报文发送至所述UE。
结合第二方面,在第二方面的第二种可实现方式中,所述设备还包括:第四发送单元,第三接收单元和第五发送单元;
所述第四发送单元,用于将所述DNS查询请求报文发送至DNS服务器,以便于所述DNS服务器根据所述目的域名,查询所述DNS服务器中保存的域名与IP地址的对应关系,并确定所述目的域名对应的IP地址,所述DNS服务器根据所述目的域名以及所述目的域名对应的IP地址,生成第二DNS应答报文,并将所述第二DNS应答报文发送至所述接入网设备;
所述第三接收单元,用于接收所述DNS服务器发送的第二DNS应答报文,所述第二DNS应答报文包括所述目的域名,以及第二IP地址,所述第二IP地址为所述DNS服务器中保存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;
所述第五发送单元,用于将所述第二DNS应答报文发送至所述UE。
结合第二方面的第一种可实现方式或第二方面的第二种可实现方式,在第二方面的第三种可实现方式中,所述设备还包括:更新单元
所述更新单元,用于根据所述目的域名与所述第二IP地址的对应关系更新所述本地缓存的域名与IP地址的对应关系。
第三方面,提供一种接入网设备,包括:网络接口,处理器,存储器和总线;所述总线用于连接所述网络接口、所述处理器和所述存储器,所述处理器
用于执行所述存储器中存储的程序;
所述网络接口,用于接收UE发送的域名系统DNS查询请求报文,所述DNS查询请求报文包括目的域名,所述DNS查询请求报文用于请求与所述目的域名对应的网络应用服务器的互联网协议IP地址;
所述处理器,还用于根据所述目的域名,查询本地缓存的域名与IP地址的对应关系;
所述处理器,还用于在所述本地缓存的域名与IP地址的对应关系中记录有所述目的域名,生成第一DNS应答报文时,所述第一DNS应答报文包括所述目的域名,以及第一IP地址,所述第一IP地址为所述本地缓存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;
所述网络接口,还用于将所述第一DNS应答报文发送至所述UE。
结合第三方面,在第三方面的第一种可实现方式中,在所述本地缓存的域名与IP地址的对应关系中没有记录所述目的域名时,所述网络接口,还用于,将所述DNS查询请求报文发送至DNS服务器,以便于所述DNS服务器根据所述目的域名,查询所述DNS服务器中保存的域名与IP地址的对应关系,并确定所述目的域名对应的IP地址,所述DNS服务器根据所述目的域名以及所述目的域名对应的IP地址,生成第二DNS应答报文,并将所述第二DNS应答报文发送至所述接入网设备;
所述网络接口,还用于接收所述DNS服务器发送的第二DNS应答报文,所述第二DNS应答报文包括所述目的域名,以及第二IP地址,所述第二IP地址为所述DNS服务器中保存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;
所述网络接口,还用于将所述第二DNS应答报文发送至所述UE。
结合第三方面,在第三方面的第二种可实现方式中,所述网络接口,还用于将所述DNS查询请求报文发送至DNS服务器,以便于所述DNS服务器根据所述目的域名,查询所述DNS服务器中保存的域名与IP地址的对应关系,并确
定所述目的域名对应的IP地址,所述DNS服务器根据所述目的域名以及所述目的域名对应的IP地址,生成第二DNS应答报文,并将所述第二DNS应答报文发送至所述接入网设备;
所述网络接口,还用于接收所述DNS服务器发送的第二DNS应答报文,所述第二DNS应答报文包括所述目的域名,以及第二IP地址,所述第二IP地址为所述DNS服务器中保存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;
所述网络接口,还用于将所述第二DNS应答报文发送至所述UE。
结合第三方面的第一种可实现方式或第三方面的第二种可实现方式,在第三方面的第三种可实现方式中,
所述处理器,还用于根据所述目的域名与所述第二IP地址的对应关系更新所述本地缓存的域名与IP地址的对应关系。
第四方面,提供一种域名系统访问系统,所述系统包括第二方面任一所述的接入网设备。
第五方面,提供一种域名系统访问系统,所述系统包括第三方面任一所述的接入网设备。
本发明实施例提供的域名系统访问方法及设备,在接入网设备接收UE发送的DNS查询请求报文之后,能够根据该目的域名,查询本地缓存的域名与IP地址的对应关系,并在本地缓存的域名与IP地址的对应关系中记录有该目的域名时,向UE发送应答报文,相较于现有技术,接入网设备可以直接响应UE发送的DNS查询请求报文,因此,能够减少对DNS查询请求报文响应的时延。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所
需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的域名系统访问方法所涉及的DNS访问系统的环境示意图;
图2是本发明实施例提供的一种域名系统访问方法流程图;
图3是本发明实施例提供的另一种域名系统访问方法流程图;
图4是本发明实施例提供的一种接入网设备的结构示意图;
图5是本发明实施例提供的另一种接入网设备的结构示意图;
图6是本发明实施例提供的另一种接入网设备的结构示意图;
图7是本发明实施例提供的另一种接入网设备的结构示意图;
图8是本发明实施例提供的另一种接入网设备的结构示意图;
图9是本发明实施例提供的又一种接入网设备的结构示意图。
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
图1是本发明实施例提供的域名系统访问方法所涉及的DNS访问系统的环境示意图,该DNS访问系统包括:UE00,接入网设备01和DNS服务器02。UE00可以向接入网设备01发送DNS查询请求报文;接入网设备01可以进行报文的转发,或者响应DNS查询请求报文;DNS服务器02可以响应DNS查询请求报文。其中,DNS访问系统可以是不同制式的系统,相应的,接入网设备可以为不同的设备,示例的,当DNS访问系统为长期演进(英文:Long Term Evolution;简称:LTE)系统时,接入网设备01可以为演进型基站(英文:Evolved Node B;简称:eNodB);当DNS访问系统为全球移动通信系统(英文:Global System for Mobile Communication;简称:GSM)或码分多址(英文:Code Division
Multiple Access;简称:CDMA)系统时,接入网设备01可以为基站控制器(英文:Base Station Controller;简称:BSC);当DNS访问系统为通用移动通信系统(英文:Universal Mobile Telecommunications System;简称:UMTS),接入网设备01可以为无线网络控制器(英文:Radio Network Controller;简称:RNC),本发明实施例在此不作限定。
本发明实施例提供一种域名系统访问方法,如图2所示,用于接入网设备,包括:
步骤101、接入网设备接收用户设备UE发送的域名系统DNS查询请求报文,该DNS查询请求报文包括目的域名,该DNS查询请求报文用于请求与该目的域名对应的网络应用服务器的互联网协议IP地址。
步骤102、该接入网设备根据该目的域名,查询本地缓存的域名与IP地址的对应关系。
步骤103、若本地缓存的域名与IP地址的对应关系中记录有该目的域名,该接入网设备生成第一DNS应答报文,该第一DNS应答报文包括目的域名,以及第一IP地址,第一IP地址为本地缓存的域名与IP地址的对应关系中记录的该目的域名对应的IP地址。
步骤104、该接入网设备将该第一DNS应答报文发送至UE。
综上所述,本发明实施例提供的域名系统访问方法,在接入网设备接收UE发送的DNS查询请求报文之后,能够根据该目的域名,查询本地缓存的域名与IP地址的对应关系,并在本地缓存的域名与IP地址的对应关系中记录有该目的域名时,向UE发送应答报文,相较于现有技术,接入网设备可以直接响应UE发送的DNS查询请求报文,因此,能够减少对DNS查询请求报文响应的时延。
可选的,该方法还包括:
若该对应关系中没有记录该目的域名,该接入网设备将DNS查询请求报文发送至DNS服务器,以便于该DNS服务器根据该目的域名,查询DNS服务器中
保存的域名与IP地址的对应关系,并确定该目的域名对应的IP地址,DNS服务器根据该目的域名以及该目的域名对应的IP地址,生成第二DNS应答报文,并将该第二DNS应答报文发送至该接入网设备。
该接入网设备接收DNS服务器发送的第二DNS应答报文,该第二DNS应答报文包括目的域名,以及第二IP地址,该第二IP地址为DNS服务器中保存的域名与IP地址的对应关系中记录的该目的域名对应的IP地址。
该接入网设备将该第二DNS应答报文发送至UE。
可选的,在步骤102之后,若本地缓存的域名与IP地址的对应关系中记录有该目的域名,该方法还包括:
该接入网设备将DNS查询请求报文发送至DNS服务器,以便于DNS服务器根据该目的域名,查询该DNS服务器中保存的域名与IP地址的对应关系,并确定该目的域名对应的IP地址。
该接入网设备接收该DNS服务器发送的第二DNS应答报文,该第二DNS应答报文包括目的域名,以及第二IP地址,该第二IP地址为DNS服务器中保存的域名与IP地址的对应关系中记录的该目的域名对应的IP地址。
该接入网设备将该第二DNS应答报文发送至UE。
可选的,在接收DNS服务器发送的第二DNS应答报文之后,该方法包括:
根据该目的域名与该第二IP地址的对应关系更新本地缓存的域名与IP地址的对应关系。
综上所述,本发明实施例提供的域名系统访问方法,在接入网设备接收UE发送的DNS查询请求报文之后,能够根据该目的域名,查询本地缓存的域名与IP地址的对应关系,并在本地缓存的域名与IP地址的对应关系中记录有该目的域名时,向UE发送应答报文,相较于现有技术,接入网设备可以直接响应UE发送的DNS查询请求报文,因此,能够减少对DNS查询请求报文响应的时延。
以LTE系统为例,详细描述本发明实施例提供的一种域名系统访问方法,
如图3所示,用于如图1所示的DNS访问系统,在LTE系统中,接入网设备为eNodeB,该方法包括:
步骤201、UE向eNodeB发送DNS查询请求报文。
该DNS查询请求报文包括目的域名,该DNS查询请求报文用于请求与目的域名对应的网络应用服务器的IP地址。
步骤202、eNodeB根据该目的域名,查询本地缓存的域名与IP地址的对应关系。
eNodeB可以在之前的域名系统访问过程中,在转发DNS服务器向UE返回的DNS应答报文时,根据该DNS应答报文中携带的域名与IP地址建立域名与IP地址的对应关系,并缓存,得到本地缓存的域名与IP地址的对应关系。
示例的,eNodeB中本地缓存的域名与IP地址的对应关系可以如表1所示,假设该eNodeB本地缓存了3组域名与IP地址的对应关系,其中域名www.xxxx.com对应的IP地址为a.b.c.d;域名www.yyyy.com对应的IP地址为e.f.g.h;域名www.zzzz.com对应的IP地址为h.i.j.k。
表1
域名 | IP地址 |
www.xxxx.com | a.b.c.d |
www.yyyy.com | e.f.g.h |
www.zzzz.com | h.i.j.k |
步骤203、若本地缓存的域名与IP地址的对应关系中记录有该目的域名,eNodeB生成第一DNS应答报文。
第一DNS应答报文包括目的域名,以及第一IP地址,第一IP地址为本地缓存的域名与IP地址的对应关系中记录的该目的域名对应的IP地址。
示例的,若UE查询请求的目的域名为www.yyyy.com,如表1所示,eNodeB
中缓存了与该域名对应的IP地址,即e.f.g.h,则第一IP地址为e.f.g.h,eNodeB根据目的域名www.yyyy.com以及第一IP地址e.f.g.h生成第一DNS应答报文,使得该第一DNS应答报文包括目的域名www.yyyy.com以及第一IP地址e.f.g.h。
步骤204、eNodeB将该第一DNS应答报文发送至UE。
本发明实施例中,eNodeB接收UE发送的DNS查询请求报文之后,能够根据该目的域名,查询本地缓存的域名与IP地址的对应关系,并在本地缓存的域名与IP地址的对应关系中记录有该目的域名时,向UE发送应答报文,相较于现有技术,eNodeB可以直接响应UE发送的DNS查询请求报文,其耗时通常比DNS服务器直接响应UE发送的DNS查询请求报文的时间要短,因此,能够减少对DNS查询请求报文响应的时延。
步骤205、若本地缓存的域名与IP地址的对应关系中没有记录该目的域名,eNodeB将该DNS查询请求报文发送至DNS服务器。
示例的,若UE查询请求的目的域名为www.uuuu.com,如表1所示,eNodeB中缓存的域名与IP地址的对应关系中没有记录该目的域名,此时,eNodeB将该DNS查询请求报文发送至DNS服务器。
步骤206、DNS服务器根据该目的域名,查询DNS服务器中保存的域名与IP地址的对应关系,并确定该目的域名对应的IP地址,DNS服务器根据该目的域名以及该目的域名对应的IP地址,生成第二DNS应答报文,并将该第二DNS应答报文发送至该接入网设备。
本发明实施例中DNS服务器可以是一台服务器,或者由若干台服务器组成的服务器集群,或者是一个云计算服务中心,可以设置有用于存储域名的分布式数据库,该DNS服务器通常存储了DNS统访问系统中的所有域名和IP地址,该所有域名和IP地址可以以域名与IP地址的对应关系的形式保存,因此可以通过查询DNS服务器中保存的域名与IP地址的对应关系,确定该目的域名对应的IP地址。
示例的,若DNS服务器中保存的与目的域名www.uuuu.com对应的IP地址为l.m.n.o,则第二IP地址为l.m.n.o,DNS服务器根据该目的域名www.uuuu.com以及第二IP地址l.m.n.o生成第二DNS应答报文,使得该第二DNS应答报文包括目的域名www.uuuu.com以及第二IP地址l.m.n.o。
步骤207、eNodeB接收DNS服务器发送的第二DNS应答报文。
该第二DNS应答报文包括目的域名,以及第二IP地址,该第二IP地址为DNS服务器中保存的域名与IP地址的对应关系中记录的该目的域名对应的IP地址。
步骤208、eNodeB将第二DNS应答报文发送至UE。
在本发明实施例中,UE可以选择接收最先到达的DNS应答报文,并根据该DNS应答报文中包括的IP地址对目的域名进行解析,因此如果第一DNS应答报文中包括的第一IP地址与第二DNS应答报文中包括的第二IP地址不相同,也不会影响UE的访问结果。
步骤209、eNodeB根据该目的域名与该第二IP地址的对应关系更新本地缓存的域名与IP地址的对应关系。
本发明实施例中根据目的域名与第二IP地址的对应关系更新本地缓存的域名与IP地址的对应关系的方法可以有多种,一方面,若本地缓存的域名与IP地址的对应关系中没有记录该目的域名与第二IP地址的对应关系,且没有记录该目的域名与其他IP地址的对应关系,则将该目的域名与第二IP地址的对应关系添加到本地缓存中;另一方面,若本地缓存的域名与IP地址的对应关系中没有记录该目的域名与第二IP地址的对应关系,但记录有该目的域名与其他IP地址的对应关系,则可以采用该目的域名与第二IP地址的对应关系将原有的目的域名与其他IP地址的对应关系覆盖,也可以同时记录目的域名与第二IP地址的对应关系,但标记该目的域名与第二IP地址的对应关系为最新关系,在下一次根据目的域名进行本地缓存的对应关系的查询时,获取最新的目的域名与IP地址的对应关系中的最新关系,即目的域名与第二IP地址的
对应关系;再一方面,在将目的域名与第二IP地址的对应关系与本地缓存的目的域名与IP地址的对应关系匹配之后,若本地缓存的目的域名与IP地址的对应关系中记录有该目的域名与第二IP地址的对应关系,则保持该目的域名与第二IP地址的对应关系不变。
示例的,如表1所示,假设目的域名与第二IP地址的对应关系为域名www.uuuu.com与IP地址l.m.n.o的对应关系,而eNodeB本地缓存的目的域名与IP地址的对应关系中没有记录域名www.uuuu.com与IP地址l.m.n.o的对应关系,则eNodeB将该域名与该IP地址的对应关系更新至本地缓存中,更新后的本地缓存的域名与IP地址的对应关系如表2所示。
表2
域名 | IP地址 |
www.xxxx.com | a.b.c.d |
www.yyyy.com | e.f.g.h |
www.zzzz.com | h.i.j.k |
www.uuuu.com | l.m.n.o |
实际应用中,在步骤204之后,无论本地缓存的域名与IP地址的对应关系中是否记录有该目的域名,eNodeB都可以将DNS查询请求报文发送至DNS服务器,以便于DNS服务器根据该目的域名,查询DNS服务器中保存的域名与IP地址的对应关系,并确定该目的域名对应的IP地址,之后执行步骤206至210。此时UE可以选择接收最先到达的DNS应答报文,若eNodeB发送的第一DNS应答报文没有到达或者延迟到达UE时,本发明实施例可以保证UE还能接收到DNS服务器生成的第二DNS应答报文,因此通过两次发送应答报文提高了DNS访问系统的可靠性。
综上所述,本发明实施例提供的域名系统访问方法,在接入网设备接收UE发送的DNS查询请求报文之后,能够根据该目的域名,查询本地缓存的域名与
IP地址的对应关系,并在本地缓存的域名与IP地址的对应关系中记录有该目的域名时,向UE发送应答报文,相较于现有技术,接入网设备可以直接响应UE发送的DNS查询请求报文,因此,能够减少对DNS查询请求报文响应的时延。
本发明实施例提供了一种接入网设备300,如图4所示,该设备300包括第一接收单元301,查询单元302,生成单元303和第一发送单元304。
第一接收单元301,用于接收UE发送的域名系统DNS查询请求报文,该DNS查询请求报文包括目的域名,该DNS查询请求报文用于请求与该目的域名对应的网络应用服务器的互联网协议IP地址。
查询单元302,用于根据该目的域名,查询本地缓存的域名与IP地址的对应关系。
在本地缓存的域名与IP地址的对应关系中记录有该目的域名时,生成单元302,用于生成第一DNS应答报文,该第一DNS应答报文包括目的域名,以及第一IP地址,该第一IP地址为本地缓存的域名与IP地址的对应关系中记录的该目的域名对应的IP地址。
第一发送单元304,用于将该第一DNS应答报文发送至UE。
综上所述,本发明实施例提供的接入网设备,第一接收单元接收UE发送的DNS查询请求报文之后,查询单元能够根据该目的域名,查询本地缓存的域名与IP地址的对应关系,并在本地缓存的域名与IP地址的对应关系中记录有该目的域名时,通过生成单元生成DNS应答报文,并将该DNS应答报文通过第一发送单元发送至UE,相较于现有技术,本发明实施例提供的接入网设备可以直接响应UE发送的DNS查询请求报文,因此,能够减少对DNS查询请求报文响应的时延。
本发明实施例提供了另一种接入网设备300,该接入网设备300可以应用于图1中的DNS访问系统,当DNS访问系统为LTE系统时,该接入网设备300
可以为eNodB;当DNS访问系统为GSM或CDMA系统时,该接入网设备300可以为BSC;当DNS访问系统为UMTS时,该接入网设备300可以为RNC,本发明实施例在此不作限定。如图5所示,该设备300还包括第二发送单元305,第二接收单元306和第三发送单元307。
第二发送单元305,用于在本地缓存的域名与IP地址的对应关系中没有记录该目的域名时,将DNS查询请求报文发送至DNS服务器,以便于DNS服务器根据该目的域名,查询DNS服务器中保存的域名与IP地址的对应关系,并确定该目的域名对应的IP地址,DNS服务器根据该目的域名以及该目的域名对应的IP地址,生成第二DNS应答报文,并将该第二DNS应答报文发送至接入网设备。
第二接收单元306,用于接收DNS服务器发送的第二DNS应答报文,第二DNS应答报文包括该目的域名,以及第二IP地址,该第二IP地址为DNS服务器中保存的域名与IP地址的对应关系中记录的该目的域名对应的IP地址。
第三发送单元307,用于将该第二DNS应答报文发送至UE。
本发明实施例提供了另一种接入网设备300,如图6所示,该设备300还包括第四发送单元308,第三接收单元309和第五发送单元310。
若本地缓存的域名与IP地址的对应关系中记录有该目的域名,第四发送单元308,用于将该DNS查询请求报文发送至DNS服务器,以便于DNS服务器根据该目的域名,查询DNS服务器中保存的域名与IP地址的对应关系,并确定该目的域名对应的IP地址,DNS服务器根据该目的域名以及该目的域名对应的IP地址,生成第二DNS应答报文,并将该第二DNS应答报文发送至接入网设备。
第三接收单元309,用于接收DNS服务器发送的第二DNS应答报文,该第二DNS应答报文包括该目的域名,以及第二IP地址,该第二IP地址为DNS服务器中保存的域名与IP地址的对应关系中记录的该目的域名对应的IP地址。
第五发送单元310,用于将该第二DNS应答报文发送至UE。
本发明实施例提供了另一种接入网设备300,如图7所示,该设备300还包括第二发送单元305,第二接收单元306,第三发送单元307和更新单元311。
第二发送单元305,用于在本地缓存的域名与IP地址的对应关系中没有记录该目的域名时,将该DNS查询请求报文发送至DNS服务器,以便于DNS服务器根据该目的域名,查询DNS服务器中保存的域名与IP地址的对应关系,并确定该目的域名对应的IP地址,DNS服务器根据该目的域名以及该目的域名对应的IP地址,生成第二DNS应答报文,并将该第二DNS应答报文发送至接入网设备。
第二接收单元306,用于接收DNS服务器发送的第二DNS应答报文,该第二DNS应答报文包括该目的域名,以及第二IP地址,该第二IP地址为DNS服务器中保存的域名与IP地址的对应关系中记录的该目的域名对应的IP地址。
第三发送单元307,用于将该第二DNS应答报文发送至UE。
更新单元311,用于根据该目的域名与该第二IP地址的对应关系更新本地缓存的域名与IP地址的对应关系。
本发明实施例提供了另一种接入网设备300,如图8所示,该设备300还包括第四发送单元308,第三接收单元309和第五发送单元310,更新单元311。
若本地缓存的域名与IP地址的对应关系中记录有该目的域名,第四发送单元308,用于将该DNS查询请求报文发送至DNS服务器,以便于DNS服务器根据该目的域名,查询DNS服务器中保存的域名与IP地址的对应关系,并确定该目的域名对应的IP地址,DNS服务器根据该目的域名以及该目的域名对应的IP地址,生成第二DNS应答报文,并将该第二DNS应答报文发送至接入网设备。
第三接收单元309,用于接收DNS服务器发送的第二DNS应答报文,该第
二DNS应答报文包括该目的域名,以及第二IP地址,该第二IP地址为DNS服务器中保存的域名与IP地址的对应关系中记录的该目的域名对应的IP地址。
第五发送单元310,用于将该第二DNS应答报文发送至UE。
更新单元311,用于根据该目的域名与该第二IP地址的对应关系更新本地缓存的域名与IP地址的对应关系。
综上所述,本发明实施例提供的接入网设备,第一接收单元接收UE发送的DNS查询请求报文之后,查询单元能够根据该目的域名,查询本地缓存的域名与IP地址的对应关系,并在本地缓存的域名与IP地址的对应关系中记录有该目的域名时,通过生成单元生成DNS应答报文,并将该DNS应答报文通过第一发送单元发送至UE,相较于现有技术,本发明实施例提供的接入网设备可以直接响应UE发送的DNS查询请求报文,因此,能够减少对DNS查询请求报文响应的时延。
本发明实施例提供了又一种接入网设备400,如图9所示,该接入网设备400包括:网络接口401,处理器402,存储器403和总线404。该总线404用于连接处网络接口401、理器402和存储器402,处理器402用于执行存储器403中存储的程序;
网络接口401,用于接收UE发送的域名系统DNS查询请求报文,该DNS查询请求报文包括目的域名,该DNS查询请求报文用于请求与该目的域名对应的网络应用服务器的互联网协议IP地址。
处理器402,用于根据该目的域名,查询本地缓存的域名与IP地址的对应关系。
处理器402,还用于在本地缓存的域名与IP地址的对应关系中记录有该目的域名时,生成第一DNS应答报文,该第一DNS应答报文包括目的域名,以及第一IP地址,该第一IP地址为本地缓存的域名与IP地址的对应关系中记录的该目的域名对应的IP地址。
网络接口401,还用于将该第一DNS应答报文发送至UE。
可选的,在所述本地缓存的域名与IP地址的对应关系中没有记录所述目的域名时,网络接口401,还用于,将该DNS查询请求报文发送至DNS服务器,以便于DNS服务器根据该目的域名,查询DNS服务器中保存的域名与IP地址的对应关系,并确定该目的域名对应的IP地址,DNS服务器根据该目的域名以及该目的域名对应的IP地址,生成第二DNS应答报文,并将该第二DNS应答报文发送至接入网设备。
可选的,网络接口401,还用于接收DNS服务器发送的第二DNS应答报文,该第二DNS应答报文包括该目的域名,以及第二IP地址,该第二IP地址为DNS服务器中保存的域名与IP地址的对应关系中记录的该目的域名对应的IP地址。
可选的,网络接口401,还用于将该第二DNS应答报文发送至UE。
可选的,若所述本地缓存的域名与IP地址的对应关系中记录有所述目的域名,网络接口401,还用于将该DNS查询请求报文发送至DNS服务器,以便于DNS服务器根据该目的域名,查询DNS服务器中保存的域名与IP地址的对应关系,并确定该目的域名对应的IP地址,DNS服务器根据该目的域名以及该目的域名对应的IP地址,生成第二DNS应答报文,并将该第二DNS应答报文发送至接入网设备。
可选的,网络接口401,还用于接收DNS服务器发送的第二DNS应答报文,该第二DNS应答报文包括该目的域名,以及第二IP地址,该第二IP地址为DNS服务器中保存的域名与IP地址的对应关系中记录的该目的域名对应的IP地址。
可选的,网络接口401,还用于将该第二DNS应答报文发送至UE。
可选的,处理器402,还用于根据该目的域名与第二IP地址的对应关系更新本地缓存的域名与IP地址的对应关系。
综上所述,本发明实施例提供的接入网设备,网络接口接收UE发送的DNS
查询请求报文之后,处理器能够根据该目的域名,查询本地缓存的域名与IP地址的对应关系,并在本地缓存的域名与IP地址的对应关系中记录有该目的域名时,通过处理器生成DNS应答报文,并将该DNS应答报文通过发送机发送至UE,相较于现有技术,本发明实施例提供的接入网设备可以直接响应UE发送的DNS查询请求报文,因此,能够减少对DNS查询请求报文响应的时延。
本发明实施例提供一种域名系统访问系统,该系统包括包括图4至图8中任一所示的接入网设备300。
本发明实施例提供另一种域名系统访问系统,该系统包括图9中所示的接入网设备400。
本领域普通技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,设备和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
Claims (12)
- 一种域名系统访问方法,其特征在于,包括:接入网设备接收用户设备UE发送的域名系统DNS查询请求报文,所述DNS查询请求报文包括目的域名,所述DNS查询请求报文用于请求与所述目的域名对应的网络应用服务器的互联网协议IP地址;所述接入网设备根据所述目的域名,查询本地缓存的域名与IP地址的对应关系;若所述对应关系中记录有所述目的域名,所述接入网设备生成第一DNS应答报文,所述第一DNS应答报文包括所述目的域名,以及第一IP地址,所述第一IP地址为所述本地缓存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;所述接入网设备将所述第一DNS应答报文发送至所述UE。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:若所述对应关系中没有记录所述目的域名,所述接入网设备将所述DNS查询请求报文发送至DNS服务器,以便于所述DNS服务器根据所述目的域名,查询所述DNS服务器中保存的域名与IP地址的对应关系,并确定所述目的域名对应的IP地址,所述DNS服务器根据所述目的域名以及所述目的域名对应的IP地址,生成第二DNS应答报文,并将所述第二DNS应答报文发送至所述接入网设备;所述接入网设备接收所述DNS服务器发送的第二DNS应答报文,所述第二DNS应答报文包括所述目的域名,以及第二IP地址,所述第二IP地址为所述DNS服务器中保存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;所述接入网设备将所述第二DNS应答报文发送至所述UE。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:所述接入网设备将所述DNS查询请求报文发送至DNS服务器,以便于所述DNS服务器根据所述目的域名,查询所述DNS服务器中保存的域名与IP地址的对应关系,并确定所述目的域名对应的IP地址,所述DNS服务器根据所述目的域名以及所述目的域名对应的IP地址,生成第二DNS应答报文,并将所述第二DNS应答报文发送至所述接入网设备;所述接入网设备接收所述DNS服务器发送的所述第二DNS应答报文,所述第二DNS应答报文包括所述目的域名,以及第二IP地址,所述第二IP地址为所述DNS服务器中保存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;所述接入网设备将所述第二DNS应答报文发送至所述UE。
- 根据权利要求2或3所述的方法,其特征在于,所述方法还包括:根据所述目的域名与所述第二IP地址的对应关系更新所述本地缓存的域名与IP地址的对应关系。
- 一种接入网设备,其特征在于,包括:第一接收单元、查询单元、生成单元和第一发送单元;所述第一接收单元,用于接收用户设备UE发送的域名系统DNS查询请求报文,所述DNS查询请求报文包括目的域名,所述DNS查询请求报文用于请求与所述目的域名对应的网络应用服务器的互联网协议IP地址;所述查询单元,用于根据所述目的域名,查询本地缓存的域名与IP地址的对应关系;在所述本地缓存的域名与IP地址的对应关系中记录有所述目的域名时,所述生成单元,用于生成第一DNS应答报文,所述第一DNS应答报文包括所述目 的域名,以及第一IP地址,所述第一IP地址为所述本地缓存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;所述第一发送单元,用于将所述第一DNS应答报文发送至所述UE。
- 根据权利要求5所述的设备,其特征在于,所述设备还包括:第二发送单元,第二接收单元和第三发送单元;所述第二发送单元,用于在所述本地缓存的域名与IP地址的对应关系中没有记录所述目的域名时,将所述DNS查询请求报文发送至DNS服务器,以便于所述DNS服务器根据所述目的域名,查询所述DNS服务器中保存的域名与IP地址的对应关系,并确定所述目的域名对应的IP地址,所述DNS服务器根据所述目的域名以及所述目的域名对应的IP地址,生成第二DNS应答报文,并将所述第二DNS应答报文发送至所述接入网设备;所述第二接收单元,用于接收所述DNS服务器发送的第二DNS应答报文,所述第二DNS应答报文包括所述目的域名,以及第二IP地址,所述第二IP地址为所述DNS服务器中保存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;所述第三发送单元,用于将所述第二DNS应答报文发送至所述UE。
- 根据权利要求5所述的设备,其特征在于,所述设备还包括:第四发送单元,第三接收单元和第五发送单元;所述第四发送单元,用于将所述DNS查询请求报文发送至DNS服务器,以便于所述DNS服务器根据所述目的域名,查询所述DNS服务器中保存的域名与IP地址的对应关系,并确定所述目的域名对应的IP地址,所述DNS服务器根据所述目的域名以及所述目的域名对应的IP地址,生成第二DNS应答报文,并将所述第二DNS应答报文发送至所述接入网设备;所述第三接收单元,用于接收所述DNS服务器发送的第二DNS应答报文, 所述第二DNS应答报文包括所述目的域名,以及第二IP地址,所述第二IP地址为所述DNS服务器中保存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;所述第五发送单元,用于将所述第二DNS应答报文发送至所述UE。
- 根据权利要求6或7所述的设备,其特征在于,所述设备还包括:更新单元;所述更新单元,用于根据所述目的域名与所述第二IP地址的对应关系更新所述本地缓存的域名与IP地址的对应关系。
- 一种接入网设备,其特征在于,包括:网络接口,处理器,存储器和总线;所述总线用于连接所述网络接口、所述处理器和所述存储器,所述处理器用于执行所述存储器中存储的程序;所述网络接口,用于接收UE发送的域名系统DNS查询请求报文,所述DNS查询请求报文包括目的域名,所述DNS查询请求报文用于请求与所述目的域名对应的网络应用服务器的互联网协议IP地址;所述处理器,还用于根据所述目的域名,查询本地缓存的域名与IP地址的对应关系;所述处理器,还用于在所述本地缓存的域名与IP地址的对应关系中记录有所述目的域名,生成第一DNS应答报文时,所述第一DNS应答报文包括所述目的域名,以及第一IP地址,所述第一IP地址为所述本地缓存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;所述网络接口,还用于将所述第一DNS应答报文发送至所述UE。
- 根据权利要求9所述的设备,其特征在于,在所述本地缓存的域名与IP地址的对应关系中没有记录所述目的域名时, 所述网络接口,还用于,将所述DNS查询请求报文发送至DNS服务器,以便于所述DNS服务器根据所述目的域名,查询所述DNS服务器中保存的域名与IP地址的对应关系,并确定所述目的域名对应的IP地址,所述DNS服务器根据所述目的域名以及所述目的域名对应的IP地址,生成第二DNS应答报文,并将所述第二DNS应答报文发送至所述接入网设备;所述网络接口,用于接收所述DNS服务器发送的第二DNS应答报文,所述第二DNS应答报文包括所述目的域名,以及第二IP地址,所述第二IP地址为所述DNS服务器中保存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;所述网络接口,还用于将所述第二DNS应答报文发送至所述UE。
- 根据权利要求9所述的设备,其特征在于,所述网络接口,还用于将所述DNS查询请求报文发送至DNS服务器,以便于所述DNS服务器根据所述目的域名,查询所述DNS服务器中保存的域名与IP地址的对应关系,并确定所述目的域名对应的IP地址,所述DNS服务器根据所述目的域名以及所述目的域名对应的IP地址,生成第二DNS应答报文,并将所述第二DNS应答报文发送至所述接入网设备;所述网络接口,用于接收所述DNS服务器发送的第二DNS应答报文,所述第二DNS应答报文包括所述目的域名,以及第二IP地址,所述第二IP地址为所述DNS服务器中保存的域名与IP地址的对应关系中记录的所述目的域名对应的IP地址;所述网络接口,还用于将所述第二DNS应答报文发送至所述UE。
- 根据权利要求10或11所述的设备,其特征在于,所述处理器,还用于根据所述目的域名与所述第二IP地址的对应关系更新所述本地缓存的域名与IP地址的对应关系。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP15891519.9A EP3288242B1 (en) | 2015-05-13 | 2015-05-13 | Domain name system accessing method and device |
CN201580034432.7A CN106664327A (zh) | 2015-05-13 | 2015-05-13 | 域名系统访问方法及设备 |
PCT/CN2015/078882 WO2016179816A1 (zh) | 2015-05-13 | 2015-05-13 | 域名系统访问方法及设备 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/078882 WO2016179816A1 (zh) | 2015-05-13 | 2015-05-13 | 域名系统访问方法及设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016179816A1 true WO2016179816A1 (zh) | 2016-11-17 |
Family
ID=57247577
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/078882 WO2016179816A1 (zh) | 2015-05-13 | 2015-05-13 | 域名系统访问方法及设备 |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP3288242B1 (zh) |
CN (1) | CN106664327A (zh) |
WO (1) | WO2016179816A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111371915B (zh) * | 2020-02-26 | 2022-05-20 | 北京天维信通科技有限公司 | Ip地址列表维护方法和装置及网关设备 |
CN115967700A (zh) * | 2021-10-09 | 2023-04-14 | 维沃软件技术有限公司 | 域名系统dns查询方法、装置及网络侧设备 |
CN115334040B (zh) * | 2022-08-10 | 2023-07-18 | 北京百度网讯科技有限公司 | 域名的互联网协议ip地址的确定方法及其装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101984637A (zh) * | 2010-11-02 | 2011-03-09 | 中兴通讯股份有限公司 | 内容分发实现方法及系统 |
CN102801823A (zh) * | 2012-08-23 | 2012-11-28 | 神州数码网络(北京)有限公司 | 一种dns中继方法和装置 |
CN103220372A (zh) * | 2012-01-19 | 2013-07-24 | 中国移动通信集团公司 | 数据业务访问方法及系统 |
CN104243627A (zh) * | 2014-08-29 | 2014-12-24 | 华为技术有限公司 | 一种域名解析方法、装置及系统 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2148493A1 (en) * | 2008-07-24 | 2010-01-27 | Nokia Siemens Networks OY | P2P overlay network for administrative services in a digital network |
CN101483648B (zh) * | 2009-02-20 | 2012-07-11 | 杭州华三通信技术有限公司 | Dns缓存探测的方法、系统、装置和dns服务器 |
US20140059071A1 (en) * | 2012-01-11 | 2014-02-27 | Saguna Networks Ltd. | Methods, circuits, devices, systems and associated computer executable code for providing domain name resolution |
US20130304887A1 (en) * | 2012-05-11 | 2013-11-14 | Qualcomm Incorporated | Systems and methods for domain name system querying |
CN103581258B (zh) * | 2012-08-03 | 2017-11-03 | 中国移动通信集团公司 | 网络数据缓存的方法和系统 |
-
2015
- 2015-05-13 WO PCT/CN2015/078882 patent/WO2016179816A1/zh active Application Filing
- 2015-05-13 EP EP15891519.9A patent/EP3288242B1/en active Active
- 2015-05-13 CN CN201580034432.7A patent/CN106664327A/zh active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101984637A (zh) * | 2010-11-02 | 2011-03-09 | 中兴通讯股份有限公司 | 内容分发实现方法及系统 |
CN103220372A (zh) * | 2012-01-19 | 2013-07-24 | 中国移动通信集团公司 | 数据业务访问方法及系统 |
CN102801823A (zh) * | 2012-08-23 | 2012-11-28 | 神州数码网络(北京)有限公司 | 一种dns中继方法和装置 |
CN104243627A (zh) * | 2014-08-29 | 2014-12-24 | 华为技术有限公司 | 一种域名解析方法、装置及系统 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3288242A4 * |
Also Published As
Publication number | Publication date |
---|---|
EP3288242B1 (en) | 2019-08-14 |
CN106664327A (zh) | 2017-05-10 |
EP3288242A1 (en) | 2018-02-28 |
EP3288242A4 (en) | 2018-05-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200220840A1 (en) | Method, server and system for resolving domain name | |
US11044262B2 (en) | Method, apparatus and system for anti-attacking in domain name system (DNS) | |
TWI675572B (zh) | 網路服務系統及網路服務方法 | |
EP2849410B1 (en) | Data processing method, router and ndn system | |
US10554551B2 (en) | Method to optimize mapping for multiple locations of a device in mobility | |
US20210243170A1 (en) | Methods for processing encrypted domain name server, dns, queries received from user equipment in a telecommunication network | |
US11956210B2 (en) | Method and apparatus for transmitting application programming interface API request | |
CN113824642B (zh) | 发送报文的方法、网络设备及计算机可读存储介质 | |
JPWO2006067951A1 (ja) | アクセス制御装置およびアクセス制御方法 | |
CN104144123B (zh) | 访问互联网的方法、系统与路由型网关装置 | |
TWI674780B (zh) | 網路服務系統及網路服務方法 | |
JP2001230803A (ja) | 位置識別子管理装置及び移動計算機並びに位置識別子管理方法及び位置識別子処理方法 | |
CN104168140B (zh) | Vtep异常情况处理方法及装置 | |
US11202252B2 (en) | Inclusion of a message proxy in a service based architecture | |
WO2018214853A1 (zh) | 一种减小dns报文长度的方法、装置、介质及设备 | |
CN110933156A (zh) | 一种域名解析的方法及装置 | |
EP3217611A1 (en) | Media resource feedback method and device | |
US10333966B2 (en) | Quarantining an internet protocol address | |
WO2016179816A1 (zh) | 域名系统访问方法及设备 | |
US20230164111A1 (en) | Method and apparatus for sending domain name system request | |
US20230216825A1 (en) | Gateway based ip address translation in communication networks | |
TWI513239B (zh) | 網路設備及其進行路由轉發的方法 | |
US10425323B2 (en) | Distributed producer mobility management in information centric networking | |
JP4660379B2 (ja) | ローミング移動ノードへの正確なアクセスのための方法、装置及びシステム | |
CN115668889A (zh) | 用于可变长度地址(vla)网络的域名系统(dns)服务 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15891519 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2015891519 Country of ref document: EP |