Commit Graph

1395 Commits

Author SHA1 Message Date
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
Shreyas Zare
64415c2fc6 AuthZone: Updated GetUpdatedNSecRRSet() and GetUpdatedNSec3RRSet() to compare TTL values too for deciding if new records should be used. 2022-04-03 16:02:14 +05:30
Shreyas Zare
6787984e33 assembly version updated for release 2022-03-29 20:54:25 +05:30
Shreyas Zare
648a28cc2e DnsServer: Updated ProcessANAMEAsync() to correctly handle NO DATA and error responses. 2022-03-29 19:27:58 +05:30
Shreyas Zare
05a1853734 AuthZoneManager: updated Query() to return SOA in authority for ANAME queries to allow DNS server to respond with NO DATA response correctly. 2022-03-29 19:26:30 +05:30
Shreyas Zare
aa87040726 added root-anchors.xml file 2022-03-27 14:42:04 +05:30
Shreyas Zare
a39162749c DnsResourceRecordInfo: fixed issue of missing null check causing error when saving SOA record without comments or when changing server name. 2022-03-27 14:41:37 +05:30
Shreyas Zare
1615e7705a assembly version updated for release 2022-03-26 17:37:55 +05:30
Shreyas Zare
297a05ff2d zone.js: Updated code for auto key rollover feature implementation changes. Updated code for DNSSEC API changes. 2022-03-26 12:18:25 +05:30
Shreyas Zare
b7a7adb919 other-zones.js: Updated code to support flush option for cache, allowed and blocked zones. Other minor changes done. 2022-03-26 12:16:16 +05:30
Shreyas Zare
8150dc7af7 main.js: Updated checkForReverseProxy() check to correctly detect reverse proxy when TLS is disabled. 2022-03-26 12:15:05 +05:30
Shreyas Zare
8fd3e4e8a7 webapp: Updated html to add Flush option for Cache, Allowed and Blocked zone tabs. Added warning message for NTP issue for DNSSEC validation option. Updated UI for rollover feature implementation changes. Other minor changes done. 2022-03-26 12:14:11 +05:30
Shreyas Zare
7699dd7ce8 WebServiceZonesApi: Updated API code for rollover feature implementation changes. Minor refactoring done. 2022-03-26 12:11:10 +05:30
Shreyas Zare
4a4119ac9e DnsWebService: Added API support for flushing Allowed and Blocked zones. Removed updateDnsKeyRollover API and added updatePrivateKey API. Updated LoadConfigFile() to create forwarder zone for ntp.org when enabling DNSSEC by default. 2022-03-26 12:09:49 +05:30
Shreyas Zare
91f76d4138 WebServiceOtherZonesApi: implemented API support for flushing Allowed and Blocked zones. 2022-03-26 11:56:52 +05:30
Shreyas Zare
6dd36ae304 updated named.root 2022-03-26 11:49:37 +05:30
Shreyas Zare
c5af5988df LogManager: minor change done. 2022-03-26 11:49:21 +05:30
Shreyas Zare
9d69359d66 PrimaryZone: Added validation to prevent disabling records for signed zones. Removed zskRolloverDays implementation and implemented rolloverDays for DnssecPrivateKey. Updated SignRRSet() to not sign NS refererrer records. 2022-03-26 11:48:52 +05:30
Shreyas Zare
e30d451c6b PrimarySubDomainZone: Added validation to prevent disabling records for signed zones. 2022-03-26 11:45:28 +05:30
Shreyas Zare
39f60523b3 ForwarderZone: Updated constructor to allow setting FWD record comments. 2022-03-26 11:44:36 +05:30
Shreyas Zare
45aa092620 AuthZoneInfo: Removed zskRolloverDays related code to revert to previous version. 2022-03-26 11:43:59 +05:30
Shreyas Zare
70be2f4fff BlockedZoneManager: implemented Flush(). 2022-03-26 11:42:45 +05:30