Method and device for storing domain name system records, method and device for parsing domain name
First Claim
Patent Images
1. A method for storing domain name system (DNS) records, the method comprising:
- 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;
receiving a plurality of DNS records including at least one DNS record returned by the DNS server according to the DNS query request;
locally storing received DNS records that need to be stored; and
if a size of all the stored DNS records does not satisfy a preset storing threshold, deleting a part of the stored DNS records, wherein a size of the remaining DNS records after deletion satisfies the storing threshold.
0 Assignments
0 Petitions
Accused Products
Abstract
A method for storing domain name system (DNS) records includes locally storing received DNS records needed to be stored. If the size of all the stored DNS records does not satisfy a preset storing threshold, a part of the stored DNS records are deleted to make the size of the remaining DNS records after deletion satisfy the storing threshold. A domain name parsing method, device, and server are also provided.
48 Citations
20 Claims
-
1. A method for storing domain name system (DNS) records, the method comprising:
-
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; receiving a plurality of DNS records including at least one DNS record returned by the DNS server according to the DNS query request; locally storing received DNS records that need to be stored; and if a size of all the stored DNS records does not satisfy a preset storing threshold, deleting a part of the stored DNS records, wherein a size of the remaining DNS records after deletion satisfies the storing threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A device for storing domain name system (DNS) records, the device comprising:
-
a requesting unit configured to send 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; a receiving unit configured to receive a plurality of DNS records including at least one DNS record returned by the DNS server according to the DNS query request; a storage unit, configured to store received DNS records needed to be stored; a DNS record size detection unit, configured to detect whether a size of all the DNS records stored in the storage unit satisfies a preset storing threshold; and a DNS record cleanup unit, configured 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, wherein a size of remaining DNS records after deletion satisfy the storing threshold. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A method for storing domain name system (DNS) records, the method comprising:
-
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; receiving a plurality of DNS records including at least one DNS record returned by the DNS server according to the DNS query request; locally storing the received DNS records; determining that a size of the locally stored DNS records does not satisfy a preset storing threshold; and deleting a part of the locally stored DNS records, wherein a size remaining DNS records satisfies the storing threshold. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification