US12218909B2ActiveUtilityA1

Speculative domain name system cache

52
Assignee: SAP SEPriority: Jun 12, 2023Filed: Jun 12, 2023Granted: Feb 4, 2025
Est. expiryJun 12, 2043(~16.9 yrs left)· nominal 20-yr term from priority
H04L 67/56G06F 16/9574H04L 67/101H04L 61/5007H04L 61/4511H04L 61/58
52
PatentIndex Score
0
Cited by
3
References
20
Claims

Abstract

Methods, systems, and computer-readable storage media for requesting, from a domain name system (DNS) server within an enterprise network, an IP address for a DNS name associated with a computing device, receiving the IP address, storing the IP address in a speculative DNS cache, the speculative DNS cache being operable to store IP addresses for a set of DNS names including the DNS name, providing, by the speculative DNS cache, a refresh period for the IP address, and determining that the refresh period of the IP address has tolled, and in response, refreshing the IP address in the speculative DNS cache.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. A computer-implemented method for caching Internet protocol (IP) addresses, the method being executed by one or more processors and comprising:
 requesting, from a domain name system (DNS) server within an enterprise network, an IP address for a DNS name associated with a computing device; 
 receiving the IP address; 
 storing the IP address in a speculative DNS cache, the speculative DNS cache being operable to store IP addresses for a set of DNS names including the DNS name and being absent access to expiration times of any IP addresses stored therein; 
 providing, by the speculative DNS cache, a refresh period for the IP address; 
 determining that the refresh period of the IP address has tolled, and in response:
 refreshing the IP address in the speculative DNS cache; and 
 
 determining that a number of IP addresses to be stored in the speculative DNS cache exceeds a threshold number of IP addresses, and in response:
 storing a sub-set of the IP addresses in a local DNS cache. 
 
 
     
     
       2. The method of  claim 1 , wherein the refresh period is determined based on a refresh rate assigned to the IP address. 
     
     
       3. The method of  claim 2 , wherein the refresh rate of assigned to the IP address is determined based on a request frequency associated with the IP address. 
     
     
       4. The method of  claim 1 , wherein the local DNS cache refreshes the at least one IP address at least partially in response to a request for the IP address from a process. 
     
     
       5. The method of  claim 1 , wherein the speculative DNS cache is used to cache IP addresses in response to determining that a number of DNS names in the set of domain is less than a threshold number of DNS names. 
     
     
       6. The method of  claim 1 , wherein refreshing the IP address in the speculative DNS cache comprises:
 transmitting a DNS name of a URL to the DNS server; and 
 receiving an updated IP address from the DNS server. 
 
     
     
       7. The method of  claim 1 , wherein the speculative DNS cache is an executable library executed by a process. 
     
     
       8. A non-transitory computer-readable storage medium coupled to one or more processors and having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations for caching Internet protocol (IP) addresses, the operations comprising:
 requesting, from a domain name system (DNS) server within an enterprise network, an IP address for a DNS name associated with a computing device; 
 receiving the IP address; 
 storing the IP address in a speculative DNS cache, the speculative DNS cache being operable to store IP addresses for a set of DNS names including the DNS name and being absent access to expiration times of any IP addresses stored therein; 
 providing, by the speculative DNS cache, a refresh period for the IP address; 
 determining that the refresh period of the IP address has tolled, and in response:
 refreshing the IP address in the speculative DNS cache; and 
 
 determining that a number of IP addresses to be stored in the speculative DNS cache exceeds a threshold number of IP addresses, and in response:
 storing a sub-set of the IP addresses in a local DNS cache. 
 
 
     
     
       9. The non-transitory computer-readable storage medium of  claim 8 , wherein the refresh period is determined based on a refresh rate assigned to the IP address. 
     
     
       10. The non-transitory computer-readable storage medium of  claim 9 , wherein the refresh rate of assigned to the IP address is determined based on a request frequency associated with the IP address. 
     
     
       11. The non-transitory computer-readable storage medium of  claim 8 , wherein the local DNS cache refreshes the at least one IP address at least partially in response to a request for the IP address from a process. 
     
     
       12. The non-transitory computer-readable storage medium of  claim 8 , wherein the speculative DNS cache is used to cache IP addresses in response to determining that a number of DNS names in the set of domain is less than a threshold number of DNS names. 
     
     
       13. The non-transitory computer-readable storage medium of  claim 8 , wherein refreshing the IP address in the speculative DNS cache comprises:
 transmitting a DNS name of a URL to the DNS server; and 
 receiving an updated IP address from the DNS server. 
 
     
     
       14. The non-transitory computer-readable storage medium of  claim 8 , wherein the speculative DNS cache is an executable library executed by a process. 
     
     
       15. A system, comprising:
 a computing device; and 
 a computer-readable storage device coupled to the computing device and having instructions stored thereon which, when executed by the computing device, cause the computing device to perform operations for caching Internet protocol (IP) addresses, the operations comprising:
 requesting, from a domain name system (DNS) server within an enterprise network, an IP address for a DNS name associated with a computing device; 
 receiving the IP address; 
 storing the IP address in a speculative DNS cache, the speculative DNS cache being operable to store IP addresses for a set of DNS names including the DNS name and being absent access to expiration times of any IP addresses stored therein; 
 providing, by the speculative DNS cache, a refresh period for the IP address; 
 determining that the refresh period of the IP address has tolled, and in response:
 refreshing the IP address in the speculative DNS cache; and 
 
 determining that a number of IP addresses to be stored in the speculative DNS cache exceeds a threshold number of IP addresses, and in response:
 storing a sub-set of the IP addresses in a local DNS cache. 
 
 
 
     
     
       16. The system of  claim 15 , wherein the refresh period is determined based on a refresh rate assigned to the IP address. 
     
     
       17. The system of  claim 16 , wherein the refresh rate of assigned to the IP address is determined based on a request frequency associated with the IP address. 
     
     
       18. The system of  claim 15 , wherein the local DNS cache refreshes the at least one IP address at least partially in response to a request for the IP address from a process. 
     
     
       19. The system of  claim 15 , wherein the speculative DNS cache is used to cache IP addresses in response to determining that a number of DNS names in the set of domain is less than a threshold number of DNS names. 
     
     
       20. The system of  claim 15 , wherein refreshing the IP address in the speculative DNS cache comprises:
 transmitting a DNS name of a URL to the DNS server; and 
 receiving an updated IP address from the DNS server.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.