CN101656762A - 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
CN101656762A
CN101656762A CN200910161982A CN200910161982A CN101656762A CN 101656762 A CN101656762 A CN 101656762A CN 200910161982 A CN200910161982 A CN 200910161982A CN 200910161982 A CN200910161982 A CN 200910161982A CN 101656762 A CN101656762 A CN 101656762A
Authority
CN
China
Prior art keywords
name server
domain name
address
routing device
user
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.)
Granted
Application number
CN200910161982A
Other languages
Chinese (zh)
Other versions
CN101656762B (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

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, device and system
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 by (Domain Name Server DNS) obtains the IP address accesses network of domain name correspondence to name server.(Internet Access Provider, when IAP) carrying, described domain names is in the corresponding different IP addresses of each IAP by a plurality of internet link service providers when described domain names.When described user obtained a plurality of IP address of domain name correspondence, described user can't judge that the access speed of which IP address is fast, Business Processing may occur and wait problem slowly.
The fast IP address of access speed is the IP address of the domain name correspondence 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 the IP address of domain name in described IAP correspondence by at the IP address of described IAP correspondence visit dns server.The inventor finds to adopt this kind mode need be the corresponding domain name of each IAP registration, may also need to have brought extra operation cost for the different server of each IAP configuration.
Another kind of mode is to deposit routing table in advance on DNS, when the IP address of user inquiring domain name correspondence, dns server is according to described user's IP address, and the IAP from the routing table of storage in advance under definite described user sends the IP address of domain name at described 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 invention provides a kind of sending method, device and system of domain name server information, 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 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;
Described outlet routing device obtains the internet link service provider under the described user;
Described outlet routing device sends the domain name server information that domain name server address is a net address outside the described internet link service provider to described user.
The internet link service provider that wherein said outlet routing device obtains under the user specifically comprises:
Described outlet routing device obtains described user's IP address;
Described outlet routing device carries out route querying with user's IP address as destination address;
Described outlet routing device is determined the internet link service provider that described user is affiliated according to the result of route querying.
It is that the domain name server information of net address outside the described internet link service provider specifically comprises that wherein said outlet routing device sends domain name server address to described user:
Described outlet routing device obtains domain name server info net address in the name server of Intranet correspondence;
Net address is a net address outside the name server of described internet link service provider's correspondence in the described outlet routing device conversion domain name server;
Described outlet routing device sends the domain name server information that domain name server address is a net address outside the described internet link service provider to described user.
Wherein said outlet routing device obtains domain name server info net address in the name server of Intranet correspondence and specifically comprises:
Described outlet routing device sends domain name server info query requests to authoritative name server;
Described outlet routing device receives the domain name server information response message that described authoritative name server sends, and comprises domain name server info net address in the name server of Intranet correspondence in the described response message.
The invention provides a kind of outlet routing device, be applied to send domain name server information, comprising:
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 described user;
Sending module is used for sending the domain name server information that domain name server address is a net address outside the described internet link service provider to described user.
Preferable, described acquisition module further comprises:
First obtains submodule, is used to obtain described user's IP address;
The route submodule is used for user's IP address is carried out route querying as destination address;
Determine submodule, be used for result, determine the internet link service provider that described user is affiliated according to the route querying of route submodule.
Preferable, described sending module further comprises:
Second obtains submodule, is used to obtain domain name server info net address in the name server of Intranet correspondence;
The conversion submodule is used to change the interior net address of domain name server and is net address outside the name server of described internet link service provider's correspondence;
Send submodule, be used for sending the domain name server information that domain name server address is a net address outside the described internet link service provider to described user.
Preferable, described second obtains submodule further comprises:
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 described authoritative name server sends, and comprises domain name server info net address in the name server of Intranet correspondence in the described response message.
The invention provides a kind of network system, comprising:
The outlet routing device, be used to receive the domain name server information query requests that the user sends, obtain the affiliated internet link service provider of described user, send the domain name server information that domain name server address is a net address outside the described internet link service provider to described user.
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 described user, domain name server information to described user's transmission, overcome in the prior art by 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 described internet link service provider, lowered the networking cost of network, and implementation method is simple.
Description of drawings
Fig. 1 is a network architecture schematic diagram provided by the invention;
Fig. 2 is a network topology structure schematic diagram 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 is shown in Figure 5 second structural representation that obtains submodule;
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.
As shown in Figure 1, the network system that the embodiment of the invention provides comprises:
Described 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 described user, sending domain name server address to described user 102 is the domain name server information of net address outside the described 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, described network system also further comprises:
Described authoritative name server 103, be used to receive the domain name server information query requests that described outlet routing device 102 sends, determine domain name server info net address in the name server of Intranet correspondence, and net address in the name server of determining is sent to the outlet routing device;
Root name server 104 is used to receive the domain name server information query requests that sends user's 101 transmissions, and domain name server info query requests is sent to outlet routing device 103.
When in network, having a plurality of IAP,, the user can be divided into a plurality of types, as telecommunication user and the user of Netcom according to the IAP that service is provided for the user.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 IP address of telecommunications correspondence, is 61.222.222.223 in the IP address of Netcom's correspondence.When the user of Netcom obtained domain name and is the IP address of ftp.ut.net, should send the IP address to the described 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 described user, and sends the domain name server information that domain name server address is a net address outside the described internet link service provider to described user.
Network system 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 described user, domain name server information to described user's transmission, overcome in the prior art by 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, the domain name server information of outlet routing device net address outside the user notification domain name server address is described internet link service provider, lowered the networking cost of network, and implementation method is simple.
Below the outlet routing device in the network system is done further introduction:
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 described user;
Sending module 303 is used for sending the domain name server information that domain name server address is a net address outside the described internet link service provider to described user.
Further, as shown in Figure 4, described acquisition module 302 may further include:
First obtains submodule 401, is used to obtain described user's IP address;
Route submodule 402 is used for user's IP address is carried out route querying as destination address;
Determine submodule 403, be used for result, determine the internet link service provider that described user is affiliated according to the route querying of route submodule.
Further, as shown in Figure 5, described sending module 303 may further include:
Second obtains submodule 501, is used to obtain domain name server info net address in the name server of Intranet correspondence;
Conversion submodule 502 is used to change the interior net address of domain name server and is net address outside the name server of described internet link service provider's correspondence;
Send submodule 503, be used for sending the domain name server information that domain name server address is a net address outside the described internet link service provider to described user.
Further, as shown in Figure 6, described 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 described authoritative name server sends, and comprises domain name server info net address in the name server of Intranet correspondence in the described response message.
Outlet routing device among the present invention can be for having the routing device of network address translation function, as 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 described user, domain name server information to described user's transmission, overcome in the prior art by 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 described internet link service provider, lowered the networking cost of network, and implementation method is simple.
As shown in Figure 7, the 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, described outlet routing device obtain the internet link service provider under the described user;
Step 703, described outlet routing device send the domain name server information that domain name server address is a net address outside the described internet link service provider to described 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 described user, domain name server information to described user's transmission, overcome in the prior art by 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 described internet link service provider, lowered the networking cost of network, and implementation method is simple.
Sending method, device and system in conjunction with domain name server information provided by the invention are described further method provided by the invention, as shown in Figure 8:
Step 801, user send the DNS query requests to root DNS.
In this step, described user is a telecommunication user, the IP address of described telecommunication user inquiry ftp.ut.net.
Step 802, described DNS send described DNS query requests to the outlet routing device, and the destination address of described DNS query requests is the outer net address of authoritative DNS.
Step 803, described outlet routing device receive the DNS query requests that described 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 described authoritative DNS.
Step 804, described outlet routing device send the DNS query requests that described destination address is a net address in the authoritative DNS to described authoritative DNS.
Step 805, described authoritative DNS inquire about DNS information net address in the DNS of Intranet correspondence according to the DNS query requests that receives.
In this step, described authoritative DNS inquiry ftp.ut.net net address in the DNS of Intranet correspondence.
It is described user's DNS response message that step 806, described authoritative DNS send destination address to described outlet routing device, and described DNS response message comprises described DNS information net address in the DNS of Intranet correspondence.
Step 807, described outlet routing device obtain user's IP address in the described DNS Query Result.
Step 808, described outlet routing device carry out route querying according to described user's IP address.
In this step, method for searching route of the prior art all is applicable to this step, repeats no more herein.
Step 809, described outlet routing device be according to the result of route querying, determines the internet link service provider under the described user.
For example, when route searching result is that described user's IP address is the cable address, determine that the IAP under the described user is a telecommunications.
In step 808 and 809, because described 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, described outlet routing device obtain the outer net address of DNS of net address correspondence in the described DNS according to net address in the DNS in the described DNS query requests.
In this step, net address is 10.222.222.223 at the outer net address of telecommunications correspondence in the described DNS, is 61.222.222.223 at the outer net address of Netcom's correspondence.
It is the outer net address of described IAP that step 811, described outlet routing device are changed the interior net address of described DNS.
In this step, state net address in the DNS and be outer net address described in the telecommunications correspondence.
The DNS response message that step 812, described outlet routing device are net address outside the described IAP to described transmission dns address.
In this step, described outlet routing device sends described 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, as same being suitable for such as Tie Tongs, because implementation method is similar, repeats no more herein.
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 described user, domain name server information to described user's transmission, overcome in the prior art by 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 described 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, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (9)

1, a kind of sending method of 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;
Described outlet routing device obtains the internet link service provider under the described user;
Described outlet routing device sends the domain name server information that domain name server address is a net address outside the described internet link service provider to described user.
2, method according to claim 1 is characterized in that, described outlet routing device obtains the internet link service provider under the user, comprising:
Described outlet routing device obtains described user's IP address;
Described outlet routing device carries out route querying with user's IP address as destination address;
Described outlet routing device is determined the internet link service provider that described user is affiliated according to the result of route querying.
3, method according to claim 1 is characterized in that, described outlet routing device sends the domain name server information that domain name server address is a net address outside the described internet link service provider to described user, comprising:
Described outlet routing device obtains domain name server net address in the name server of Intranet correspondence;
Net address is a net address outside the name server of described internet link service provider's correspondence in the described outlet routing device conversion domain name server;
Described outlet routing device sends the domain name server information that domain name server address is a net address outside the described internet link service provider to described user.
4, method according to claim 3 is characterized in that, described outlet routing device obtains domain name server net address in the name server of Intranet correspondence, comprising:
Described outlet routing device sends domain name server info query requests to authoritative name server;
Described outlet routing device receives the domain name server information response message that described authoritative name server sends, and comprises domain name server net address in the name server of Intranet correspondence in the described response message.
5, a kind of outlet routing device is applied to send domain name server information, it is characterized in that, comprising:
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 described user;
Sending module is used for sending the domain name server information that domain name server address is a net address outside the described internet link service provider to described user.
6, outlet routing device according to claim 5 is characterized in that, described acquisition module comprises:
First obtains submodule, is used to obtain described user's IP address;
The route submodule is used for user's IP address is carried out route querying as destination address;
Determine submodule, be used for result, determine the internet link service provider that described user is affiliated according to the route querying of route submodule.
7, outlet routing device according to claim 5 is characterized in that, described sending module comprises:
Second obtains submodule, is used to obtain domain name server net address in the name server of Intranet correspondence;
The conversion submodule is used to change the interior net address of domain name server and is net address outside the name server of described internet link service provider's correspondence;
Send submodule, be used for sending the domain name server information that domain name server address is a net address outside the described internet link service provider to described user.
8, outlet routing device according to claim 7 is characterized in that, described second obtains submodule comprises:
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 described authoritative name server sends, and comprises domain name server info net address in the name server of Intranet correspondence in the described response message.
9, a kind of network system is characterized in that, comprising:
The outlet routing device, be used to receive the domain name server information query requests that the user sends, obtain the affiliated internet link service provider of described user, send the domain name server information that domain name server address is a net address outside the described internet link service provider to described user.
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 true CN101656762A (en) 2010-02-24
CN101656762B 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)

Cited By (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
CN107979656A (en) * 2017-11-22 2018-05-01 安徽皖通邮电股份有限公司 A kind of static NAT business support Dynamic Recognition enters the method to flow
CN108076165A (en) * 2016-11-18 2018-05-25 贵州白山云科技有限公司 A kind of method, equipment and the system of domain name mapping information management
CN109525470A (en) * 2018-12-28 2019-03-26 联想(北京)有限公司 Method for network access and network access system
WO2022151643A1 (en) * 2021-01-13 2022-07-21 网宿科技股份有限公司 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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8077732B2 (en) * 2005-11-14 2011-12-13 Cisco Technology, Inc. Techniques for inserting internet protocol services in a broadband access network
CN101340327B (en) * 2008-08-21 2011-11-30 腾讯科技(深圳)有限公司 Method and system for implementing load balance of network server

Cited By (8)

* 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
CN108076165A (en) * 2016-11-18 2018-05-25 贵州白山云科技有限公司 A kind of method, equipment and the system of domain name mapping information management
CN108076165B (en) * 2016-11-18 2021-05-18 贵州白山云科技股份有限公司 Method, equipment and system for domain name resolution information management
CN107979656A (en) * 2017-11-22 2018-05-01 安徽皖通邮电股份有限公司 A kind of static NAT business support Dynamic Recognition enters the method to flow
CN109525470A (en) * 2018-12-28 2019-03-26 联想(北京)有限公司 Method for network access and network access system
WO2022151643A1 (en) * 2021-01-13 2022-07-21 网宿科技股份有限公司 Domain name resolution method and system
US11770320B2 (en) 2021-01-13 2023-09-26 Wangsu Science and Technology Co., Ltd. Method and system for domain name resolution
CN115442329B (en) * 2021-06-04 2024-02-23 贵州白山云科技股份有限公司 Domain name information query method, system, device, equipment and storage medium

Also Published As

Publication number Publication date
CN101656762B (en) 2012-05-23

Similar Documents

Publication Publication Date Title
JP5551247B2 (en) Method and host node for multi-NAT64 environment
CN101656762B (en) Method, apparatus and system for transmitting domain name server information
EP3320668B1 (en) Discovery of resources in a local network
CN101540759B (en) Method for acquiring address of service server and communication system
CN102209121A (en) Method and device for intercommunication between Internet protocol version 6 (IPv6) network and Internet protocol version 4 (IPv4) network
CN101582925B (en) Network address translation method and system
CN105323173A (en) Network rule entry setting method and device
CN101895589A (en) Wide area network router and method for establishing routing table items therein
CN101917707A (en) IP addressing method and system for wireless sensor network
US8917629B2 (en) Method and apparatus for detecting devices on a local area network
EP2765743A1 (en) Layer 2 inter-connecting method, apparatus and system based on ipv6
CN103634214A (en) Route information generating method and device
CN101888338A (en) Information forwarding method and gateway
EP2077029B1 (en) Identifying a subnet address range from dns information
CN105429880B (en) The network equipment and its method for carrying out routing forwarding
US20100023620A1 (en) Access controller
CN104506665B (en) Distinguish method and system in a kind of IPv4/IPv6 addresses
CN104935677B (en) A kind of NAT64 resource acquiring method and acquisition/distributor
CN102143207A (en) Content acquisition method and redirecting node
CN113873503B (en) Gateway bridging networking method, device and router
CN102684974B (en) Routing method, routing device and routing system for service access
CN103685591B (en) Network address transfer system and method
JP5226626B2 (en) Gateway device and communication system
CN115065633A (en) Method for addressing terminal route in high-speed moving state and communication device
CN104065579A (en) IPv4 host, IPv6 host, communication methods thereof and gateway

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.