Commit Graph

1416 Commits

Author SHA1 Message Date
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
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
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
Shreyas Zare
bc9803c18a BlockListZoneManager: updated Query() to handle SOA request correctly. 2022-04-17 16:34:38 +05:30
Shreyas Zare
11600e6699 PrimaryZone: fixed bug causing issue with ixfr history when soa record is updated with out of date serial. 2022-04-17 16:33:40 +05:30
Shreyas Zare
53ac9c1817 DnsWebService: updated RestoreSettingsAsync() to use async IO to read request input stream. Updated LoadConfigFile() to add support for DNS_SERVER_LOG_USING_LOCAL_TIME env var. Other minor changes done. 2022-04-09 17:40:27 +05:30
Shreyas Zare
c8c43f8372 WebServiceAppsApi: updated InstallAppAsync(), UpdateAppAsync(), and SetAppConfigAsync() to use async IO to read request input stream. 2022-04-09 17:38:02 +05:30
Shreyas Zare
a2fd925cea WebServiceOtherZonesApi: updated ImportAllowedZones() and ImportBlockedZones() to use async IO for reading request input stream. 2022-04-09 17:36:52 +05:30
Shreyas Zare
dd3aaea1fd main.js: fixed minor UI issues. 2022-04-09 17:35:25 +05:30
Shreyas Zare
e6cd956940 webapp: minor html changes 2022-04-09 17:34:35 +05:30
Shreyas Zare
e1dc278ff3 PrimaryZone: updated GetZoneSoaMinimum() to get the minimum value only. Updated SetRecords() to use the minimum property directly. 2022-04-09 17:33:55 +05:30
Shreyas Zare
2ca9d2179b assembly version updated for release 2022-04-03 17:02:47 +05:30
Shreyas Zare
d497a2df8c webapp: minor UI changes. 2022-04-03 16:03:49 +05:30
Shreyas Zare
64fcbf3525 PrimaryZone: added RefreshNSec() and RefreshNSec3() to allow refreshing the records when SOA minimum TTL value changes. 2022-04-03 16:03:29 +05:30