Commit Graph

398 Commits

Author SHA1 Message Date
Shreyas Zare
4576fcbbbe webapp: fixed minor UI css issue. 2019-12-29 13:35:26 +05:30
Shreyas Zare
5408b69db4 proxy bypass list feature implemented. 2019-12-15 18:35:36 +05:30
Shreyas Zare
508f61de33 minor refactoring changes 2019-12-14 18:19:37 +05:30
Shreyas Zare
1c5a22db0a WebService: implemented GetThisDnsServerAddress() to get the correct ip address the server is listening on for querying. 2019-12-14 18:19:20 +05:30
Shreyas Zare
38608fc7f2 Zone: SetRecords() added check to prevent CNAME record from being set to zone root. 2019-12-14 18:04:18 +05:30
Shreyas Zare
5bb9a8c8dd DnsServer: removed draft-ietf-doh-resolver-associated-doh implementation since the draft is expired. 2019-12-14 17:52:56 +05:30
Shreyas Zare
eb46123cde webapp: fixed ui issue in dhcp reserved lease comment field by implementing optional feature to allow submitting empty comments. 2019-12-14 17:37:50 +05:30
Shreyas Zare
e5496841e8 Merge branch 'secondary-zones' into develop 2019-12-14 16:58:12 +05:30
Shreyas Zare
0deba1f705 DnsServer: fixed bug in Start() due to incorrect exception handing causing the server to crash when socket object fails to instantiate. Updated SOA default parameters. 2019-12-14 16:55:16 +05:30
Shreyas Zare
5a38e2c4d5 StatsManager: fixed minor bug to count stats correctly using case insensitive domain name. 2019-12-14 16:50:42 +05:30
Shreyas Zare
58a5f75b63 WebService: implemented inner error message feature. SetDnsSettings() change to read forwarder protocol first to allow automatic config of TLS port 853. Updated zone default SOA parameters. Fixed issues in ResolveQuery() to allow querying PTR record directly. 2019-12-14 16:48:05 +05:30
Shreyas Zare
08d937951a webapp: implemented show inner error feature. 2019-12-14 16:43:46 +05:30
Shreyas Zare
f17397a084 DhcpServer: fixed bug due to invalid host name causing scope to fail to activate. Updated SOA paramerters for zone created by dhcp. 2019-12-14 16:41:49 +05:30
Shreyas Zare
7194c79b43 webapp: removed Quad9 HTTPS-JSON protocol entries since as per email from John Todd, Quad9 is phasing out the JSON reply model as it is not supported in dnsdist 1.4 (which uses h2o) and is not a general standard. 2019-07-28 18:53:54 +05:30
Shreyas Zare
b8d4cf7607 webapp: added comments field to dhcp scope reserved lease settings and made hostname read only text. 2019-07-28 15:54:57 +05:30
Shreyas Zare
b726aff442 WebService: updated dhcp scope api to add comments property. 2019-07-28 15:53:34 +05:30
Shreyas Zare
72ff15a91e Scope: using hostname from request instead of resserved lease hostname in GetOffer(). 2019-07-28 15:52:39 +05:30
Shreyas Zare
8a712cf739 DhcpServer: added reserved lease hostname update code after dhcp request message lease commit. 2019-07-28 15:50:29 +05:30
Shreyas Zare
144c952b70 Scope: removed code to update hostname in reserved lease in GetOffer(). 2019-07-28 15:47:57 +05:30
Shreyas Zare
fe5ea94ca0 Lease: added comments parameter to constructors. 2019-07-28 15:47:20 +05:30
Shreyas Zare
5df1677269 Lease: added comments field. 2019-07-27 12:35:44 +05:30
Shreyas Zare
fb29d181c3 DhcpServer: updated no offer handling in ProcessDhcpMessage() for Discover request. Fixed issue with space in host name option. Removed using hostname from reserved lease since hostname field will be removed from UI. Added hostname check in UpdateDnsAuthZone() to fix DHCP server failing to activate scope bug if client has not hostname. Added error handling in ActivateScope() to avoid partial binding of scope causing inconsistent state. 2019-07-27 12:34:12 +05:30
Shreyas Zare
f8682743ba webapp: added quad9 https-json options. 2019-07-27 12:29:02 +05:30
Shreyas Zare
4e1c46cc70 Scope: throwing error in GetOffer() to allow correctly logging the reason for no offer. 2019-07-27 12:27:57 +05:30
Shreyas Zare
5e0be86dfa webapp: removed zeus tracker block list url since it is now discontinued. added ransomeware tracker block list url. 2019-07-13 14:36:35 +05:30
Shreyas Zare
22847f1c72 assembly version updated to v4.0 2019-06-29 14:01:18 +05:30
Shreyas Zare
2580003067 webapp: redesigned zone UI code. Updated dashboard with new stats and chart. Added Google DoH url. 2019-06-29 12:19:16 +05:30
Shreyas Zare
193e13734d dhcp.js: updated js code with minor enhancements. 2019-06-29 12:16:42 +05:30
Shreyas Zare
4c6652decd WebService: updated GetStats() api with new stats and new chart. Updated zone api to support CAA record. Refactored UpdateRecord() api call for simple usage. Fixed minor TTL related issue with dns client import record feature. Updated zone file loading from 'zones' directory. 2019-06-29 12:15:46 +05:30
Shreyas Zare
fdb686a9af DnsServer: implemented stats manager changes. 2019-06-29 12:12:36 +05:30
Shreyas Zare
42cc59c3c4 StatsManager: updated stats collection implementation to record auth & recursive response stats. 2019-06-29 12:11:54 +05:30
Shreyas Zare
c8367f191d Zone: fixed issue in SetRecords() with stale record getting overwritten by failure record in cache. 2019-06-29 12:08:57 +05:30
Shreyas Zare
16665fe8f9 webapp: updated refreshDhcpScopes() to allow overriding refresh. 2019-06-23 20:21:25 +05:30
Shreyas Zare
9a13dd9493 Scope: added check for offers in IsAddressAvailable() that can cause issues in small scope ranges. Added lock for finding offer address in address pool to avoid race condition. 2019-06-23 16:43:48 +05:30
Shreyas Zare
f2dd188e2a WebService: Updated dashboard api to return client domain name for display. Implemented useThisDnsServer feature for dhcp api calls. Minor dhcp api call changes done. 2019-06-22 15:42:00 +05:30
Shreyas Zare
e6965f988e fixed minor typo 2019-06-22 15:40:42 +05:30
Shreyas Zare
43b8194bcc webapp: updated html markup for dhcp. Added minor ui changes. 2019-06-22 15:40:31 +05:30
Shreyas Zare
932b6f9703 minor ui changes done 2019-06-22 15:39:38 +05:30
Shreyas Zare
8e0f06f227 webapp: added dhcp refresh tab option. Implemented UseThisDnsServer option. Added minor changes and fixes. 2019-06-22 15:39:14 +05:30
Shreyas Zare
713b0fd05b DhcpServer: added default scope of first start. Changed implementation to bind to ANY address only when a scope is active. Fixed minor issues. 2019-06-22 15:37:43 +05:30
Shreyas Zare
7ba8e62611 Scope: implemented UseThisDnsServer feature. Updated FindInterface() to do validations to check if interface has static ip address. Implemented LeaseType changes. 2019-06-22 15:35:57 +05:30
Shreyas Zare
0baf2bfed3 Lease: added LeaseType option. Changed ResetLeaseTime() to ExtendLease() to keep leased obtained time unchanged. Minor refactoring done. 2019-06-22 15:34:24 +05:30
Shreyas Zare
dfb93c343b minor ui changes done 2019-06-16 21:59:12 +05:30
Shreyas Zare
4a5ab0516a WebService: minor bug fixes done. 2019-06-16 21:47:47 +05:30
Shreyas Zare
ff412bfd03 DhcpServer: minor bug fixes done. 2019-06-16 21:47:27 +05:30
Shreyas Zare
162a053f42 minor ui code fix. 2019-06-16 21:27:31 +05:30
Shreyas Zare
d23baaefab WebService: fixed minor issues with dhcp api calls. 2019-06-16 21:27:16 +05:30
Shreyas Zare
6fa2c5406b DhcpServer: socket implementation redesigned to resolve cross platform issues with consistent behavior on windows and linux. FindScope() implementation changed to use IPPacketInformation for scope selection. BindUdpListener() updated with SocketOptionName.ReuseAddress to work on Unix platforms. 2019-06-16 21:26:34 +05:30
Shreyas Zare
5c3be88616 Scope: added interface index property to allow matching broadcast message from specific interface to scope for cross platform consistent way. Implemented FindInterface() independent to be called while activating scope. 2019-06-16 21:20:17 +05:30
Shreyas Zare
8b99eca75c minor ui css changes done 2019-06-16 14:27:47 +05:30