US2010023611A1PendingUtilityA1

Method and device for storing domain name system records, method and device for parsing domain name

Assignee: HUAWEI TECH CO LTDPriority: Apr 4, 2007Filed: Oct 2, 2009Published: Jan 28, 2010
Est. expiryApr 4, 2027(~0.7 yrs left)· nominal 20-yr term from priority
H04L 61/4552H04L 61/4511H04L 69/28
54
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A method, device, and terminal for storing domain name system (DNS) records are provided. The method includes: locally storing received DNS records needed to be stored; and if the size of all the stored DNS records does not satisfy a preset storing threshold, deleting a part of the stored DNS records to make the size of the remaining DNS records after deletion satisfy the storing threshold. A domain name parsing method, device, and server are provided. The method includes: receiving a DNS query request, where the DNS query request carries a domain name needed to be parsed and at least one of a service identity (ID) and user information; selecting a network address corresponding to the domain name according to the service ID and/or the user information; and if the corresponding network address is selected, returning the selected network address as a query result of the DNS query request.

Claims

exact text as granted — not AI-modified
1 . A method for storing domain name system (DNS) records, comprising:
 locally storing received DNS records needed to be stored; and   if the size of all the stored DNS records does not satisfy a preset storing threshold, deleting a part of the stored DNS records to enable the size of the remaining DNS records after deletion to satisfy the storing threshold.   
   
   
       2 . The method for storing DNS records according to  claim 1 , wherein the locally storing the received DNS records needed to be stored comprises:
 locally storing newly received DNS records.   
   
   
       3 . The method for storing DNS records according to  claim 1 , wherein the locally storing the received DNS records needed to be stored comprises:
 locally storing newly received DNS records whose time-to-live (TTL) is not 0.   
   
   
       4 . The method for storing DNS records according to  claim 1 , wherein:
 the circumstance that the size of all the stored DNS records does not satisfy a preset storing threshold comprises: the size of all the stored DNS records is greater than the preset storing threshold; and   the circumstance that the size of the remaining DNS records after deletion satisfies the storing threshold comprises: the size of the remaining DNS records after deletion is not greater than the storing threshold.   
   
   
       5 . The method for storing DNS records according to  claim 1 , wherein:
 the circumstance that the size of all the stored DNS records does not satisfy a preset storing threshold comprises: the size of all the stored DNS records is not smaller than the preset storing threshold; and   the circumstance that the size of the remaining DNS records after deletion satisfies the storing threshold comprises: the size of the remaining DNS records after deletion is smaller than the storing threshold.   
   
   
       6 . The method for storing DNS records according to  claim 1 , wherein the deleting a part of the stored DNS records to make the size of the remaining DNS records after deletion satisfy the storing threshold comprises:
 if expired DNS records exist, deleting the expired DNS records; and   if the size of the remaining DNS records still does not satisfy the storing threshold after deleting the expired DNS records, deleting a part of the DNS records once again to make the size of the remaining DNS records after deletion satisfy the storing threshold.   
   
   
       7 . The method for storing DNS records according to  claim 6 , wherein the deleting a part of the DNS records once again comprises at least one of these processes:
 deleting a part of the DNS records closest to expiration;   selecting and deleting a part of the DNS records from all the DNS records about multiple IP addresses corresponding to one domain name;   deleting the DNS records in sequence following a storing order; and   deleting a part of the DNS records of low use rate.   
   
   
       8 . The method for storing DNS records according to  claim 1 , wherein the deleting a part of the stored DNS records to enable the size of the remaining DNS records after deletion to satisfy the storing threshold comprises:
 if expired DNS records do not exist, deleting a part of the DNS records to enable the size of the remaining DNS records after deletion to satisfy the storing threshold.   
   
   
       9 . The method for storing DNS records according to  claim 1 , wherein before the locally storing the received DNS records needed to be stored, the method further comprises:
 sending a DNS query request to a DNS server, wherein the DNS query request carries at least one of a service identity (ID) and user information; and   receiving at least one DNS record returned by the DNS server according to the DNS query request.   
   
   
       10 . A device for storing domain name system (DNS) records, comprising:
 a storage unit, adapted to store received DNS records needed to be stored;   a DNS record size detection unit, adapted to detect whether the size of all the DNS records stored in the storage unit satisfies a preset storing threshold; and   a DNS record cleanup unit, adapted to delete a part of the DNS records stored in the storage unit if the size of all the stored DNS records does not satisfy the storing threshold, so as to enable the size of the remaining DNS records after deletion to satisfy the storing threshold.   
   
   
       11 . The device according to  claim 10 , wherein:
 the DNS record size detection unit is specifically adapted to compare the size of all the DNS records stored in the storage unit with the preset storing threshold; and   the DNS record cleanup unit is specifically adapted to delete a part of the DNS records stored in the storage unit when the size of all the stored DNS records is greater than the storing threshold, so that the size of the remaining DNS records after deletion is not greater than the storing threshold.   
   
   
       12 . The device according to  claim 10 , wherein:
 the DNS record size detection unit is specifically adapted to compare the size of all the DNS records stored in the storage unit with the preset storing threshold; and   the DNS record cleanup unit is specifically adapted to delete a part of the DNS records stored in the storage unit when the size of all the stored DNS records is not smaller than the storing threshold, so that the size of the remaining DNS records after deletion is smaller than the storing threshold.   
   
   
       13 . The device according to  claim 10 , wherein the device for storing domain name system (DNS) records is a terminal. 
   
   
       14 . A domain name parsing method, comprising:
 receiving a domain name system (DNS) query request, wherein the DNS query request carries a domain name needed to be parsed and at least one of a service identity (ID) for identifying a service type and user information for identifying a user ID;   selecting a network address corresponding to the domain name according to at least one of the service ID and the user information; and   if the corresponding network address is selected, returning the selected network address as a query result of the DNS query request.   
   
   
       15 . The domain name parsing method according to  claim 14 , wherein when the DNS query request carries the service ID, the selecting the network address corresponding to the domain name according to the service ID comprises:
 selecting a network address of a network equipment corresponding to the domain name and capable of providing the service.   
   
   
       16 . The domain name parsing method according to  claim 14 , wherein when the DNS query request carries the user information, the selecting the network address corresponding to the domain name according to the user information comprises:
 selecting a network address of a network equipment corresponding to the domain name and which allows a user to access.   
   
   
       17 . The domain name parsing method according to  claim 14 , wherein authentication data for security authentication is returned when the selected network address is returned as the query result of the DNS query request. 
   
   
       18 . The domain name parsing method according to  claim 14 , wherein if no network address corresponding to the domain name is selected according to at least one of the service ID and the user information, the method further comprises:
 providing an address of at least one other DNS server to a terminal that sends the DNS query request; and sending, by the terminal, the DNS query request to the other DNS servers, wherein the DNS query request carries at least one of the service ID and the user information, until one of the DNS servers provides a network address of a network equipment that conforms to at least one of the service ID and the user information.   
   
   
       19 . The domain name parsing method according to  claim 14 , wherein if no network address corresponding to the domain name is selected according to at least one of the service ID and the user information, the method further comprises:
 forwarding the DNS query request to other DNS servers, until one of the DNS servers provides a network address of a network equipment that conforms to at least one of the service ID and the user information.   
   
   
       20 . A domain name parsing device, comprising:
 a domain name system (DNS) query request receiving unit, adapted to receive a DNS query request, wherein the DNS query request carries a domain name needed to be parsed and at least one of a service identity (ID) for identifying a service type and user information for identifying a user ID;   a network address selecting unit, adapted to select a network address corresponding to the domain name according to at least one of the DNS service ID and the user information; and   a network address providing unit, adapted to return the selected network address as a query result of the DNS query request when the corresponding network address is selected.   
   
   
       21 . The domain name parsing device according to  claim 20 , wherein the domain name parsing device is a DNS server. 
   
   
       22 . A domain name parsing result acquisition method, comprising:
 sending a domain name system (DNS) query request to a DNS server, wherein the DNS query request carries a domain name needed to be parsed and at least one of a service identity (ID) for identifying a service type and user information for identifying a user ID; and   receiving at least one network address corresponding to the domain name provided by the DNS server, wherein the network address is selected by the DNS server according to at least one of the service ID and the user information.   
   
   
       23 . A domain name parsing result acquisition device, comprising:
 a domain name system (DNS) query request sending unit, adapted to send a DNS query request to a DNS server, wherein the DNS query request carries a domain name needed to be parsed and at least one of a service identity (ID) for identifying a service type and user information for identifying a user ID; and   an IP address receiving unit, adapted to receive at least one network address corresponding to the domain name provided by the DNS server, wherein the network address is selected by the DNS server according to at least one of the service ID and the user information.   
   
   
       24 . The domain name parsing result acquisition device according to  claim 23 , further comprising:
 an information loading unit, adapted to load at least one of the service ID for identifying the service type and the user information for identifying the user ID into the DNS query request.   
   
   
       25 . The domain name parsing result acquisition device according to  claim 23 , wherein the domain name parsing result acquisition device is a terminal.

Join the waitlist — get patent alerts

Track US2010023611A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.