Commit Graph

1838 Commits

Author SHA1 Message Date
Shreyas Zare
963565e5a5 ZoneTree: updated FindZoneNode() to fix minor issues and updated GetClosestValuesForZone() definition. 2022-05-08 15:24:59 +05:30
Shreyas Zare
872544e2a7 VendorSpecificInformationOption: fixed formating issue in ToString(). 2022-05-08 15:20:02 +05:30
Shreyas Zare
d23829d3f4 minor changes 2022-05-08 15:17:57 +05:30
Shreyas Zare
b86fa6633f ZoneTree: updated FindZone() to clear closestSubDomain when closestAuthority value changes. 2022-04-30 18:14:56 +05:30
Shreyas Zare
eb720faaee AuthZoneTree: updated GetClosestValuesForZone() to fix issue with getting delegation for the zone value. 2022-04-30 18:14:07 +05:30
Shreyas Zare
ed3f904b07 updated api docs. 2022-04-30 16:24:14 +05:30
Shreyas Zare
10770a861c zone.js: Updated addRecord() and updateRecord() implementation to use the new api return values and update the zone record html in place without reloading all zone records. Other minor UI changes done to prevent reloading records data. Code refactoring done. 2022-04-30 16:23:29 +05:30
Shreyas Zare
7f1c8646aa webapp: minor html changes done. 2022-04-30 16:19:50 +05:30
Shreyas Zare
683a488b80 DnsWebService: minor changes done. 2022-04-30 16:19:24 +05:30
Shreyas Zare
1b83d6d72f WebServiceZonesApi: updated AddRecord() and UpdateRecord() to return the new record details. Code refactoring done. 2022-04-30 16:19:02 +05:30
Shreyas Zare
e17a43109c dhcp.js: updated deleteDhcpScope() implementation to avoid refreshing scopes list. 2022-04-30 13:29:54 +05:30
Shreyas Zare
3f4e0086ec updated api docs. 2022-04-30 13:07:55 +05:30
Shreyas Zare
daf69eff61 dhcp.js: updated code to use client identifier to convert to reserved/dynamic lease. Updated removeLease() to avoid refreshing entire leases list. 2022-04-30 13:07:08 +05:30
Shreyas Zare
dce60e2a29 WebServiceDhcpApi: Updated RemoveDhcpLease() to directly find scope and use its methods. Updated ConvertToReservedLease() and ConvertToDynamicLease() methods to support using both hardware address and client identifier. 2022-04-30 13:04:36 +05:30
Shreyas Zare
0e4f8f4d57 Scope: refactored RemoveLease() methods. Updated ConvertToReservedLease() and ConvertToDynamicLease() methods to support using both hardware address and client identifier. Code refactoring done. 2022-04-30 13:02:11 +05:30
Shreyas Zare
cca8433b0e DhcpServer: removed the remove lease methods. 2022-04-30 13:00:45 +05:30
Shreyas Zare
a879af9caa DnsServer: updated PrepareRecursiveResolveResponse() & RemoveOPTFromAdditional() to remove DNSSEC records when not requested. Updated CacheMaintenanceTimerCallback() to force garbage collection after removing cache records to quickly free memory. 2022-04-30 12:21:54 +05:30
Shreyas Zare
69cb6eb0c7 CacheZoneManager: Updated ResolveAdditionalRecords() to add RRSIG for additional records. Updated Query() to return response with EDNS only when request had EDNS. 2022-04-30 12:18:33 +05:30
Shreyas Zare
ecd8864401 dhcp.js: updated code to use client identifier to remove lease. 2022-04-30 12:12:27 +05:30
Shreyas Zare
22a80e65e3 WebServiceDhcpApi: updated ListDhcpLeases() to add clientIdentifier for each lease. Updated RemoveDhcpLease() to allow removing lease by both hardware address and client identifier. 2022-04-30 12:11:43 +05:30
Shreyas Zare
50f3ac388f DhcpServer: renamed RemoveLease() to RemoveLeaseByHardwareAddress(). Implemented RemoveLeaseByClientIdentifier() method. Minor refactoring changes done. 2022-04-30 12:04:46 +05:30
Shreyas Zare
ed5a831f95 Scope: implemented RemoveLeaseByClientIdentifier() method and renamed RemoveLease() to RemoveLeaseByHardwareAddress(). 2022-04-30 12:03:25 +05:30
Shreyas Zare
c52211fb47 Lease: minor refactoring done. 2022-04-30 12:02:17 +05:30
Shreyas Zare
02242a9bdf ClientIdentifierOption: implemented Parse() and ToString() helper methods. 2022-04-30 12:01:48 +05:30
Shreyas Zare
d1b528b0d6 DropRequests: updated app to support blocking entire zone of the configured qname. 2022-04-30 12:00:45 +05:30
Shreyas Zare
279feebbbf DnsWebService: updated SetDnsSettings() to detect server domain name change to regenerate new self signed cert for web service. 2022-04-24 18:10:10 +05:30
Shreyas Zare
317310579c DnsServer: updated ProcessANAMEAsync() to set last used on value when returning authority records for ANAME response. 2022-04-24 17:28:17 +05:30
Shreyas Zare
b24be82552 AuthZoneManager: updated GetReferralResponse() to set last used on value for stub authority records. 2022-04-24 17:23:54 +05:30
Shreyas Zare
1af2c91a78 main.js: implemented feature to store token in local storage to prevent logging out on page refresh. 2022-04-23 19:35:44 +05:30
Shreyas Zare
6b2666d222 zone.js: implemented show/hide dnssec records feature. 2022-04-23 19:34:18 +05:30
Shreyas Zare
d19de0a4b0 webapp: updated html to add DNSSEC records show/hide menu items. 2022-04-23 19:33:29 +05:30
Shreyas Zare
3ff0486e78 zone.js: Added last used on value to zone records. Other minor changes done. 2022-04-23 18:08:43 +05:30
Shreyas Zare
8fc6dc0e77 main.js: implemented support for cache maximum entries. 2022-04-23 18:06:50 +05:30
Shreyas Zare
b7ec954602 webapp: updated main.css for dashboard changes. 2022-04-23 18:05:57 +05:30
Shreyas Zare
826fda6d0c webapp: updated html to add cached entries value in dashboard and to add cache maximum entries in settings. Other minor changes done. 2022-04-23 18:05:32 +05:30
Shreyas Zare
58c3af71f8 WebServiceZonesApi: Updated WriteRecordsAsJson() to removed SHA1 computed digests for DNSKEY and add lastUsedOn value. Updated enum parsing to ignore case. 2022-04-23 18:03:17 +05:30
Shreyas Zare
ac81c5c327 WebServiceDashboardApi: updated GetStats() to add cached entries value. 2022-04-23 18:00:53 +05:30
Shreyas Zare
907dad125a DnsWebService: updated settings api and config code for cache maximum entries option. Setting NS Revalidation default value to true for security reasons. 2022-04-23 18:00:12 +05:30
Shreyas Zare
32169d9313 DnsServer: Updated RecursiveResolveAsync() forwarder implementation to use ConditionalForwardingZoneCut option to trim CNAME records in response to allow the DNS server to query each CNAME separately for cases when conditional forwarder is configured for a CNAME domain. 2022-04-23 17:57:46 +05:30
Shreyas Zare
80f1f75526 ResolverDnsCache: implemented IDnsCache.CacheResponse() changes. 2022-04-23 17:55:50 +05:30
Shreyas Zare
c2a3d38beb AuthZone: updated FilterDisabledRecords() and AppendRRSigTo() to set last used value for records. 2022-04-23 17:55:14 +05:30
Shreyas Zare
9dd2364bfe CacheZoneManager: Implemented maximum entries feature. 2022-04-23 17:54:14 +05:30
Shreyas Zare
96c66ace10 CacheZone: updated ValidateRRSet(), SetRecords() to set cached record's LastUsedOn value. Updated SetRecords() to return true when record was added. Updated RemoveExpiredRecords() to return number of entries removed. Added RemoveLeastUsedRecords() to remove least used entries by given cutoff. Added TotalEntries property. 2022-04-23 17:53:04 +05:30
Shreyas Zare
1b00b0ba09 CacheZoneTree: renamed TryRemove() to TryRemoveTree() and added out int to return number of removed entries from the all the cache zones. 2022-04-23 17:50:10 +05:30
Shreyas Zare
181e57d194 DnsResourceRecordInfo: added LastUsedOn non-serialized property. 2022-04-23 17:48:47 +05:30
Shreyas Zare
b2efaf2550 DhcpServer: setting default scope's domain name to home. 2022-04-23 17:47:50 +05:30
Shreyas Zare
4bd1488d27 DnssecPrivateKey: added validation check in RolloverDays. 2022-04-23 17:47:03 +05:30
Shreyas Zare
c282a5d56f PrimaryZone: updated RevokeKskDnsKeys() and UnpublishDnsKeys() to fix issue of missing dnskey in zone history. 2022-04-23 17:45:55 +05:30
Shreyas Zare
20f8efdd7a updated moment.min.js to latest 2022-04-17 16:41:48 +05:30
Shreyas Zare
2e3b153a03 DnsServer: updated ProcessBlockedQuery() to handle other type requests correctly. Updated RecursiveResolveAsync() to handle exceptions to add exdended dns errors to failure responses when forwarder is configured. 2022-04-17 16:41:12 +05:30