CN101656762B - Method, apparatus and system for transmitting domain name server information - Google Patents

Method, apparatus and system for transmitting domain name server information Download PDF

Info

Publication number
CN101656762B
CN101656762B CN2009101619821A CN200910161982A CN101656762B CN 101656762 B CN101656762 B CN 101656762B CN 2009101619821 A CN2009101619821 A CN 2009101619821A CN 200910161982 A CN200910161982 A CN 200910161982A CN 101656762 B CN101656762 B CN 101656762B
Authority
CN
China
Prior art keywords
name server
domain name
user
address
routing device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2009101619821A
Other languages
Chinese (zh)
Other versions
CN101656762A (en
Inventor
朱宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN2009101619821A priority Critical patent/CN101656762B/en
Publication of CN101656762A publication Critical patent/CN101656762A/en
Application granted granted Critical
Publication of CN101656762B publication Critical patent/CN101656762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a method, apparatus and system for transmitting domain name server information, relating to network communication field, and for resolving a problem of a higher networking cost when notifying a subscriber to access a fastest IP address in the existing technology. The method includes that an outlet routing device receives a domain name server information inquiring request transmitted by a subscriber; the outlet routing device obtains an ISP internet which the subscriber is belonged to; and the outlet routing device transmits domain name server information that the domain name server address is an external network address of the ISP internet to the subscriber. The technical scheme of the invention may be applied to network communication.

Description

The sending method of domain name server information and device
Technical field
The present invention relates to network communication field, relate in particular to a kind of sending method, device and system of domain name server information.
Background technology
In the prior art, the user is through (Domain Name Server DNS) obtains the corresponding IP accessed network of domain name to name server.(Internet Access Provider, when IAP) carrying, said domain names is in the corresponding different IP addresses of each IAP by a plurality of internet link service providers when said domain names.When said user obtained a plurality of IP address of domain name correspondence, said user can't judge that the access speed of which IP address is fast, Business Processing possibly occur and wait problem slowly.
The fast IP address of access speed is the corresponding IP address of domain name under IAP under the user, can obtain the fast IP address of access speed for making the user, can adopt following dual mode:
A kind of is to register different IP addresses at the dns server of different I AP, and the user obtains domain name in the corresponding IP address of said IAP through at the corresponding IP accessed dns server of said IAP.The inventor finds to adopt this kind mode need be the corresponding domain name of each IAP registration, possibly also need bring extra operation cost for the different server of each IAP configuration.
Another kind of mode is on DNS, to deposit routing table in advance; When the corresponding IP address of user inquiring domain name; Dns server is according to said user's IP address, and the IAP from the routing table of storage in advance under definite said user sends the IP address of domain name at said IAP.The inventor invents and adopts this mode to have problems equally: deposit routing table at dns server, increased the amount of calculation of dns server, increased the weight of the processing pressure of dns server, influence the overall quality of service of network.
Summary of the invention
The present invention provides a kind of sending method, device and system of domain name server information, and under the condition that does not increase networking cost, to the fast IP address of user notification access speed, and implementation method is simple.
The present invention provides a kind of sending method of domain name server information, comprising:
The outlet routing device receives the domain name server information query requests that the user sends;
Said outlet routing device obtains the internet link service provider under the said user;
Said outlet routing device sends domain name server info query requests to authoritative name server;
Said outlet routing device receives the domain name server information response message that said authoritative name server is sent, and comprises domain name server net address in the corresponding name server of Intranet in the said response message;
Net address is a net address outside the corresponding name server of said internet link service provider in the said outlet routing device conversion domain name server;
It is net address outside the corresponding name server of said internet link service provider that said outlet routing device sends domain name server address to said user.
The internet link service provider that wherein said outlet routing device obtains under the user specifically comprises:
Said outlet routing device obtains said user's IP address;
Said outlet routing device carries out route querying with user's IP address as destination address;
Said outlet routing device is confirmed the internet link service provider that said user is affiliated according to the result of route querying.
The present invention provides a kind of transmitting apparatus of domain name server information, comprises receiver module, acquisition module and sending module, wherein:
Receiver module is used to receive the domain name server information query requests that the user sends;
Acquisition module is used to obtain the affiliated internet link service provider of said user;
Sending module comprises that second obtains submodule, conversion submodule and send submodule, wherein:
Second obtains submodule comprises transmitting element and receiving element, wherein:
Transmitting element is used for sending domain name server info query requests to authoritative name server;
Receiving element is used to receive the domain name server information response message that said authoritative name server is sent, and comprises domain name server info net address in the corresponding name server of Intranet in the said response message;
The conversion submodule is used to change the interior net address of domain name server and is net address outside the corresponding name server of said internet link service provider;
Send submodule, being used for sending domain name server address to said user is net address outside the corresponding name server of said internet link service provider.
Preferable, said acquisition module further comprises:
First obtains submodule, is used to obtain said user's IP address;
The route submodule is used for user's IP address is carried out route querying as destination address;
Confirm submodule, be used for result, confirm the internet link service provider that said user is affiliated according to the route querying of route submodule.
The sending method of domain name server information provided by the invention, device and system; When the user sends the domain name server information query requests; The outlet routing device obtains the internet link service provider under the said user, to the domain name server information that said user sends, overcome in the prior art through increasing server number in the network or increasing the weight of the mode of dns server processing pressure; Send domain name server information to the user; Cause network organizing cost problem of higher, under the environment of existing networking, the domain name server information of outlet routing device net address outside the user notification domain name server address is said internet link service provider; Lowered the networking cost of network, and implementation method is simple.
Description of drawings
Fig. 1 is a network architecture sketch map provided by the invention;
Fig. 2 is a network topology structure sketch map provided by the invention;
Fig. 3 is the structural representation of outlet routing device provided by the invention;
Fig. 4 is the structural representation of acquisition module shown in Figure 3;
Fig. 5 is the structural representation of sending module shown in Figure 3;
Fig. 6 for shown in Figure 5 second obtain submodule structural representation;
Fig. 7 is the flow chart of the sending method of domain name server information provided by the invention;
Fig. 8 is the sequential chart of the sending method of domain name server information provided by the invention.
Embodiment
Below in conjunction with accompanying drawing provided by the invention technical scheme provided by the invention is described in detail.
Network system as shown in Figure 1, that the embodiment of the invention provides comprises:
Said outlet routing device 101; Be used to receive the domain name server information query requests that user 102 sends; Obtain the affiliated internet link service provider of said user, sending domain name server address to said user 102 is the domain name server information of net address outside the said internet link service provider.
Wherein said user 102 is used to send the domain name server information query requests;
Further, as shown in Figure 2, said network system also further comprises:
Said authoritative name server 103; Be used to receive the domain name server information query requests that said outlet routing device 102 sends; Confirm domain name server info net address in the corresponding name server of Intranet, and net address in the name server of confirming is sent to the outlet routing device;
Root name server 104 is used to receive and sends the domain name server information query requests that user 101 sends, and domain name server info query requests is sent to outlet routing device 103.
When in network, having a plurality of IAP, according to the IAP that service is provided for the user, can the user be divided into a plurality of types, like telecommunication user and the user of Netcom.For dissimilar users, the fastest IP address of access speed is the IP address of domain name correspondence under IAP under the user.For example, domain name is that ftp.ut.net is 10.222.222.223 in the corresponding IP address of telecommunications, and the IP address corresponding in Netcom is 61.222.222.223.When the user of Netcom obtained domain name and is the IP address of ftp.ut.net, should send the IP address to the said user of Netcom was 61.222.222.223.In the present invention, the outlet routing device is responsible for obtaining the affiliated internet link service provider of said user, and sends the domain name server information that domain name server address is a net address outside the said internet link service provider to said user.
Network system provided by the invention; When the user sent the domain name server information query requests, the outlet routing device obtained the internet link service provider under the said user, to the domain name server information of said user's transmission; Overcome in the prior art through increasing server number in the network or increasing the weight of the mode of dns server processing pressure; Send domain name server information to the user, cause network organizing cost problem of higher, under the environment of existing networking; Under the environment of existing networking; Export the domain name server information of routing device net address outside the user notification domain name server address is said internet link service provider, lowered the networking cost of network, and implementation method is simple.
Do further introduction in the face of the outlet routing device in the network system down:
As shown in Figure 3, a kind of outlet routing device provided by the invention is applied to send domain name server information, comprising:
Receiver module 301 is used to receive the domain name server information query requests that the user sends;
Acquisition module 302 is used to obtain the affiliated internet link service provider of said user;
Sending module 303 is used for sending the domain name server information that domain name server address is a net address outside the said internet link service provider to said user.
Further, as shown in Figure 4, said acquisition module 302 may further include:
First obtains submodule 401, is used to obtain said user's IP address;
Route submodule 402 is used for user's IP address is carried out route querying as destination address;
Confirm submodule 403, be used for result, confirm the internet link service provider that said user is affiliated according to the route querying of route submodule.
Further, as shown in Figure 5, said sending module 303 may further include:
Second obtains submodule 501, is used to obtain domain name server info net address in the corresponding name server of Intranet;
Conversion submodule 502 is used to change the interior net address of domain name server and is net address outside the corresponding name server of said internet link service provider;
Send submodule 503, be used for sending the domain name server information that domain name server address is a net address outside the said internet link service provider to said user.
Further, as shown in Figure 6, said second obtains submodule 502 may further include:
Transmitting element 601 is used for sending domain name server info query requests to authoritative name server;
Receiving element 602 is used to receive the domain name server information response message that said authoritative name server is sent, and comprises domain name server info net address in the corresponding name server of Intranet in the said response message.
Outlet routing device among the present invention can be for having the routing device of network address translation function, like router, fire compartment wall, gateway and three-tier switch etc.
Outlet routing device provided by the invention; When the user sends the domain name server information query requests; The outlet routing device obtains the internet link service provider under the said user, to the domain name server information that said user sends, overcome in the prior art through increasing server number in the network or increasing the weight of the mode of dns server processing pressure; Send domain name server information to the user; Cause network organizing cost problem of higher, under the environment of existing networking, the domain name server information of outlet routing device net address outside the user notification domain name server address is said internet link service provider; Lowered the networking cost of network, and implementation method is simple.
As shown in Figure 7, the present invention provides a kind of sending method of domain name server information, comprising:
Step 701, outlet routing device receive the domain name server information query requests that the user sends;
Step 702, said outlet routing device obtain the internet link service provider under the said user;
Step 703, said outlet routing device send the domain name server information that domain name server address is a net address outside the said internet link service provider to said user.
The sending method of domain name server information provided by the invention; When the user sends the domain name server information query requests; The outlet routing device obtains the internet link service provider under the said user, to the domain name server information that said user sends, overcome in the prior art through increasing server number in the network or increasing the weight of the mode of dns server processing pressure; Send domain name server information to the user; Cause network organizing cost problem of higher, under the environment of existing networking, the domain name server information of outlet routing device net address outside the user notification domain name server address is said internet link service provider; Lowered the networking cost of network, and implementation method is simple.
In conjunction with sending method, device and the system of domain name server information provided by the invention, method provided by the invention is done further to introduce, as shown in Figure 8:
Step 801, user send the DNS query requests to root DNS.
In this step, said user is a telecommunication user, the IP address of said telecommunication user inquiry ftp.ut.net.
Step 802, said DNS send said DNS query requests to the outlet routing device, and the destination address of said DNS query requests is the outer net address of authoritative DNS.
Step 803, said outlet routing device receive the DNS query requests that said destination address is the outer net address of authoritative DNS, and are net address in the authoritative DNS with the outer net address transition of said authoritative DNS.
Step 804, said outlet routing device send the DNS query requests that said destination address is a net address in the authoritative DNS to said authoritative DNS.
Step 805, said authoritative DNS inquire about DNS information net address in the corresponding DNS of Intranet according to the DNS query requests that receives.
In this step, said authoritative DNS inquiry ftp.ut.net net address in the corresponding DNS of Intranet.
It is said user's DNS response message that step 806, said authoritative DNS send destination address to said outlet routing device, and said DNS response message comprises said DNS information net address in the corresponding DNS of Intranet.
Step 807, said outlet routing device obtain user's IP address in the said DNS Query Result.
Step 808, said outlet routing device carry out route querying according to said user's IP address.
In this step, method for searching route of the prior art all is applicable to this step, repeats no more here.
Step 809, said outlet routing device be according to the result of route querying, confirms the internet link service provider under the said user.
For example, when route searching result is that said user's IP address is the cable address, confirm that the IAP under the said user is a telecommunications.
In step 808 and 809; Because said outlet routing device is responsible for routing function, itself just stores routing table, need not as storing routing table in advance for dns server in the prior art; Reduce the processing pressure of dns server, guaranteed the fail safe and the stability of network.
Step 810, said outlet routing device obtain the outer net address of DNS that net address is corresponding in the said DNS according to net address in the DNS in the said DNS query requests.
In this step, net address is 10.222.222.223 at the corresponding outer net address of telecommunications in the said DNS, and the outer net address corresponding in Netcom is 61.222.222.223.
It is the outer net address of said IAP that step 811, said outlet routing device are changed the interior net address of said DNS.
In this step, state net address in the DNS at the corresponding outer net address of telecommunications with said.
The DNS response message that step 812, said outlet routing device are net address outside the said IAP to said transmission dns address.
In this step, said outlet routing device sends said DNS response message through telecommunications network.
The present invention is that telecommunications and Netcom are that example describes with IAP, but is not limited thereto, and for other IAP, like same being suitable for such as Tie Tongs, because implementation method is similar, repeats no more here.
The sending method of domain name server information provided by the invention; When the user sends the domain name server information query requests; The outlet routing device obtains the internet link service provider under the said user, to the domain name server information that said user sends, overcome in the prior art through increasing server number in the network or increasing the weight of the mode of dns server processing pressure; Send domain name server information to the user; Cause network organizing cost problem of higher, under the environment of existing networking, the domain name server information of outlet routing device net address outside the user notification domain name server address is said internet link service provider; Lowered the networking cost of network, and implementation method is simple.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (4)

1. the sending method of a domain name server information is characterized in that, comprising:
The outlet routing device receives the domain name server information query requests that the user sends;
Said outlet routing device obtains the internet link service provider under the said user;
Said outlet routing device sends domain name server info query requests to authoritative name server;
Said outlet routing device receives the domain name server information response message that said authoritative name server is sent, and comprises domain name server net address in the corresponding name server of Intranet in the said response message;
Net address is a net address outside the corresponding name server of said internet link service provider in the said outlet routing device conversion domain name server;
It is net address outside the corresponding name server of said internet link service provider that said outlet routing device sends domain name server address to said user.
2. method according to claim 1 is characterized in that, said outlet routing device obtains the internet link service provider under the user, comprising:
Said outlet routing device obtains said user's IP address;
Said outlet routing device carries out route querying with user's IP address as destination address;
Said outlet routing device is confirmed the internet link service provider that said user is affiliated according to the result of route querying.
3. the transmitting apparatus of a domain name server information is characterized in that, comprises receiver module, acquisition module and sending module, wherein:
Receiver module is used to receive the domain name server information query requests that the user sends;
Acquisition module is used to obtain the affiliated internet link service provider of said user;
Sending module comprises that second obtains submodule, conversion submodule and send submodule, wherein:
Second obtains submodule comprises transmitting element and receiving element, wherein:
Transmitting element is used for sending domain name server info query requests to authoritative name server;
Receiving element is used to receive the domain name server information response message that said authoritative name server is sent, and comprises domain name server info net address in the corresponding name server of Intranet in the said response message;
The conversion submodule is used to change the interior net address of domain name server and is net address outside the corresponding name server of said internet link service provider;
Send submodule, being used for sending domain name server address to said user is net address outside the corresponding name server of said internet link service provider.
4. equipment according to claim 3 is characterized in that, said acquisition module comprises:
First obtains submodule, is used to obtain said user's IP address;
The route submodule is used for user's IP address is carried out route querying as destination address;
Confirm submodule, be used for result, confirm the internet link service provider that said user is affiliated according to the route querying of route submodule.
CN2009101619821A 2009-09-10 2009-09-10 Method, apparatus and system for transmitting domain name server information Active CN101656762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101619821A CN101656762B (en) 2009-09-10 2009-09-10 Method, apparatus and system for transmitting domain name server information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101619821A CN101656762B (en) 2009-09-10 2009-09-10 Method, apparatus and system for transmitting domain name server information

Publications (2)

Publication Number Publication Date
CN101656762A CN101656762A (en) 2010-02-24
CN101656762B true CN101656762B (en) 2012-05-23

Family

ID=41710847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101619821A Active CN101656762B (en) 2009-09-10 2009-09-10 Method, apparatus and system for transmitting domain name server information

Country Status (1)

Country Link
CN (1) CN101656762B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701948A (en) * 2013-12-25 2014-04-02 乐视网信息技术(北京)股份有限公司 Acquisition method and device for configuration information of domain name resolving system
CN108076165B (en) * 2016-11-18 2021-05-18 贵州白山云科技股份有限公司 Method, equipment and system for domain name resolution information management
CN107979656B (en) * 2017-11-22 2020-12-18 安徽皖通邮电股份有限公司 Method for supporting dynamic identification of incoming flow by static NAT service
CN109525470B (en) * 2018-12-28 2020-11-20 联想(北京)有限公司 Network access method and network access system
CN112769976B (en) 2021-01-13 2023-10-24 网宿科技股份有限公司 Domain name resolution method and system
CN115442329B (en) * 2021-06-04 2024-02-23 贵州白山云科技股份有限公司 Domain name information query method, system, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101310486A (en) * 2005-11-14 2008-11-19 思科技术公司 Techniques for inserting internet protocol services in a broadband access network
CN101340327A (en) * 2008-08-21 2009-01-07 腾讯科技(深圳)有限公司 Method, system and domain name parsing server implementing load balance of network server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101310486A (en) * 2005-11-14 2008-11-19 思科技术公司 Techniques for inserting internet protocol services in a broadband access network
CN101340327A (en) * 2008-08-21 2009-01-07 腾讯科技(深圳)有限公司 Method, system and domain name parsing server implementing load balance of network server

Also Published As

Publication number Publication date
CN101656762A (en) 2010-02-24

Similar Documents

Publication Publication Date Title
CN101656762B (en) Method, apparatus and system for transmitting domain name server information
CN104350725B (en) The Seamless integration- and independent evolution method of information centre's network are carried out by software defined network
CN102209121A (en) Method and device for intercommunication between Internet protocol version 6 (IPv6) network and Internet protocol version 4 (IPv4) network
CN102932461B (en) Network acceleration transmission method and device
CN106790732A (en) Address conversion method, apparatus and system, network identity control method and device
CN101582925B (en) Network address translation method and system
WO2012103938A1 (en) Routing traffic towards a mobile node
JP2012505579A (en) NAT traversal method and apparatus
CN101917707A (en) IP addressing method and system for wireless sensor network
US8305933B2 (en) Method and apparatus for detecting devices on a local area network
CN102170395A (en) Data transmission method and network equipment
EP2765743A1 (en) Layer 2 inter-connecting method, apparatus and system based on ipv6
CN105635335B (en) Social resources cut-in method, apparatus and system
CN103634214A (en) Route information generating method and device
US20100260203A1 (en) TUNNELING IPv6 PACKET THROUGH IPv4 NETWORK USING A TUNNEL ENTRY BASED ON IPv6 PREFIX AND TUNNELING IPv4 PACKET USING A TUNNEL ENTRY BASED ON IPv4 PREFIX
CN101888338A (en) Information forwarding method and gateway
CN100454828C (en) Method for implementing terminal management in network equipment
EP2077029B1 (en) Identifying a subnet address range from dns information
CN104506665B (en) Distinguish method and system in a kind of IPv4/IPv6 addresses
CN105429880B (en) The network equipment and its method for carrying out routing forwarding
CN104935677B (en) A kind of NAT64 resource acquiring method and acquisition/distributor
CN102457582B (en) A kind of realize communicating between main process equipment method and network equipment
CN104917687A (en) Message shunting method and device
CN101902387B (en) Method for encapsulating general control messages in IP telecommunication network system
CN113873503B (en) Gateway bridging networking method, device and router

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Beijing Star-Net Ruijie Networks Co.,Ltd.