diff options
| author | Bobby <[email protected]> | 2026-03-08 23:38:54 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-03-08 23:38:54 +0530 |
| commit | 94d5561e7cc39eb2909bdc36d4ef4972cd21e56d (patch) | |
| tree | 98d9792dda80f76f185ab2eb37c1de005be9ea0f /router | |
| parent | 1136af49815be77a0aca151f3b8ec7348bf4b4c8 (diff) | |
| download | dove-94d5561e7cc39eb2909bdc36d4ef4972cd21e56d.tar.xz dove-94d5561e7cc39eb2909bdc36d4ef4972cd21e56d.zip | |
Refactor DNS and SMTP configurations; add system DNS management
- Updated DNS server address configuration to use BindAddress and DnsPort.
- Enhanced email submission to utilize BindAddress for SMTP server address.
- Improved error messages for unknown recipient domains.
- Introduced a new OrderedMap structure for route management.
- Added system DNS management functions for Linux, Darwin, and Windows platforms.
- Created new dashboard services for DNS configuration and overview.
- Updated UI to include Proxy Rules section and improved descriptions.
- Added new utility functions for handling DNS configurations.
Diffstat (limited to 'router')
| -rw-r--r-- | router/dashboard.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/router/dashboard.go b/router/dashboard.go index 5de1dd1..0dd2b3c 100644 --- a/router/dashboard.go +++ b/router/dashboard.go @@ -1,6 +1,7 @@ package router import ( + dashboardController "dove/controllers/dashboard" "dove/pages/dashboard" "dove/utils/auth" "dove/utils/urls" @@ -10,4 +11,6 @@ func init() { urls.SetNamespace("dashboard") urls.Path(urls.Get, "/", auth.RequireAuthentication(dashboard.Overview), "index") + urls.Path(urls.Post, "/dns/configure", auth.RequireAuthentication(dashboardController.ConfigureSystemDns), "dns-configure") + urls.Path(urls.Post, "/dns/disable", auth.RequireAuthentication(dashboardController.DisableSystemDns), "dns-disable") } |
