Aging and scavenging of DNS resource records
First Claim
1. A method for aging and scavenging domain name service (DNS) resource records in a DNS database, comprising:
- configuring at least one DNS server and at least one zone in a DNS database with parameters for performing aging and scavenging according to predefined temporal intervals;
adding a timestamp to at least one resource record in said at least one configured zone when said at least one resource record is one of created, updated and refreshed;
determining the age of said at least one resource record;
determining in accordance with said determined age to which predefined temporal interval of a plurality of temporal intervals defined by said parameters said resource record belongs; and
scavenging said at least one resource record in said at least one zone with said at least one DNS server at a scavenging time determined by said parameters, if said at least one resource record'"'"'s age is such that the temporal interval to which said at least one resource record belongs is a temporal interval that permits scavenging as determined by said parameters.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for aging and scavenging resource records in a DNS database is provided. DNS resource records that are stored in a DNS database are assigned the timestamps indicating the last time the records were updated. Clients (owners of the resource records) periodically refresh timestamps of the DNS resource records that they registered using standard dynamic DNS update protocol. The DNS server then periodically searches its database for the stale records and deletes them. DNS database zone parameters and DNS server parameters are configured to define when a timestamp for a resource record may be updated, when a resource record may be scavenged (deleted) and which server may perform scavenging of a zone. A non-refresh interval follows the timestamp, a refresh interval follows the non-refresh interval and a scavengable period follows the refresh interval. During the non-refresh interval, an authorized DNS server may neither refresh nor scavenge the associated resource record. During the refresh interval, an authorized DNS server may refresh, but not scavenge the associated resource record. During the scavengable period, the resource record may be scavenged, if the timestamp is not renewed in the meantime. The build up of stale resource records, or records that have outlived their utility, is thus prevented improving system performance and conserving system memory and resources.
56 Citations
34 Claims
-
1. A method for aging and scavenging domain name service (DNS) resource records in a DNS database, comprising:
-
configuring at least one DNS server and at least one zone in a DNS database with parameters for performing aging and scavenging according to predefined temporal intervals;
adding a timestamp to at least one resource record in said at least one configured zone when said at least one resource record is one of created, updated and refreshed;
determining the age of said at least one resource record;
determining in accordance with said determined age to which predefined temporal interval of a plurality of temporal intervals defined by said parameters said resource record belongs; and
scavenging said at least one resource record in said at least one zone with said at least one DNS server at a scavenging time determined by said parameters, if said at least one resource record'"'"'s age is such that the temporal interval to which said at least one resource record belongs is a temporal interval that permits scavenging as determined by said parameters. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer system for performing aging and scavenging of domain name service (DNS) resource records, comprising:
-
at least one DNS server;
at least one zone of at least one DNS database;
a network connection to at least one client computer;
wherein at least one resource record in said at least one zone is given a timestamp when it is one of created, refreshed and updated, wherein parameters are configured for said at least one DNS server and said at least one zone that enable a determination of the age of at least one resource record in said at least one zone and a determination of to which of a plurality of time intervals said at least one resource record belongs, and wherein if said age is such that said at least one resource record belongs to a scavenging interval, said at least one resource record may be scavenged by said at least one DNS server at a scavenging time also defined by said parameters. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. A method for determining whether to scavenge a resource record in a domain name service (DNS) database at a scavenging time, including:
-
retrieving the timestamp of the resource record in the DNS database;
adding a non-refresh interval to the timestamp to produce a first result;
adding a refresh interval to the first result to produce a second result; and
determining whether the current time is greater than the second result, wherein if the current time is greater than the second result, the resource record is scavenged. - View Dependent Claims (32, 33, 34)
determining whether the current time is greater than the first result but less than the second result, wherein if the current time is greater than the first result but less than the second result, the resource record may be one of refreshed and updated, but not scavenged.
-
-
33. A method according to claim 31, further including:
-
determining whether the current time is greater than the timestamp but less than the first result, wherein if the current time is greater than the timestamp but less than the first result, the resource record may be updated, but the resource record may not be scavenged and the resource record may not be refreshed.
-
-
34. A method according to claim 31, wherein the non-refresh interval and the refresh interval are assigned default values.
Specification