35 Commits
Author SHA1 Message Date
Shreyas Zare fc287a6328 DnsServerApp: Updated console message to use HTTPS URL when available. 2026-10-10 14:56:16 +05:30
Shreyas Zare a64f5a23dd DnsServerApp: Updated code to include server version and start time stamp in output. 2026-10-03 13:28:36 +05:30
Shreyas Zare 6b06ca2cf3 DnsServerApp: updated app to allow running explicitly as a portable app. 2026-03-14 16:05:36 +05:30
Shreyas Zare 4598ad0f9b DnsServerApp: updated code to keep posix signal registration handle to prevent it from getting unregistered due to garbage collector. 2025-12-20 18:05:57 +05:30
Shreyas Zare ffc1e6aca5 DnsServerApp: updated platform check to work for all unix like platforms. 2025-12-20 15:23:30 +05:30
Ingmar Stein e8b6e0d436 feat: Implement graceful shutdown on SIGTERM
Adds a handler for the SIGTERM signal on Linux and macOS to allow the DNS server to shut down gracefully. This is the standard signal sent by `systemd` and Docker to stop a service.

- Updated `DnsServerApp/Program.cs` to handle `PosixSignal.SIGTERM`.
- Removed `KillSignal=SIGINT` from `systemd.service` to use the default `SIGTERM`.
- Removed `STOPSIGNAL SIGINT` from `Dockerfile` to use the default `SIGTERM`.

This ensures that the application has a chance to clean up resources properly before exiting when stopped as a service or container.
2025-11-24 10:58:46 +01:00
Shreyas Zare 9552abdaa2 DnsServerApp: Updated code to use StartAsync() method. Code refactoring changes done. 2025-11-02 15:56:20 +05:30
Shreyas Zare 1edf8069fa DnsServerApp: updated code for refactoring changes. 2025-09-27 13:27:01 +05:30
Shreyas Zare adbffc5764 DnsServerApp: updated code to support new --stop-if-bind-fails parameter. 2025-05-31 13:20:20 +05:30
Shreyas Zare 31acdbbe61 DnsServerApp: implemented new '--icu-test' command line option to allow testing for ICU package from install script. 2025-04-19 15:18:03 +05:30
Shreyas Zare 9125745690 DnsServerApp: updated code to print console message as a single string. 2025-03-29 17:34:53 +05:30
Shreyas Zare 781d02fb48 minor code refactoring. 2024-09-14 16:26:13 +05:30
Shreyas Zare 65669d9c9e DnsServerApp: minor change. 2023-01-01 17:36:27 +05:30
Shreyas Zare fe26665162 DnsServerApp: updated app store path. 2022-09-18 18:18:59 +05:30
Shreyas Zare 6eb7e8711e DnsServerApp: updated the update check url. 2021-10-02 13:17:37 +05:30
Shreyas Zare a3cadc2461 DnsServerApp: added app store uri. 2021-04-10 13:31:38 +05:30
Shreyas Zare 1f2aa73298 minor refactoring changes. 2021-03-06 17:58:14 +05:30
Shreyas Zare 0828126c83 DnsServerApp: using platform specific update notification url. 2020-12-26 17:33:32 +05:30
Shreyas Zare 62ec89ebd7 refactored dotnet core project name. 2020-12-06 17:31:53 +05:30
Shreyas Zare e77fe15a33 removing .NET framework based portable app in favor of .NET 5 portable app. 2020-12-06 17:22:38 +05:30
Shreyas Zare 68d52e4f65 updated console project main method to use wait handles. 2020-06-06 18:13:01 +05:30
Shreyas Zare 1ff00e7ace added windows firewall auto entry support. 2020-05-23 18:05:50 +05:30
Shreyas Zare 30d4549a5f minor changes 2019-06-29 14:00:57 +05:30
Shreyas Zare 888d53c801 writing web service hostname on console. 2019-04-28 17:01:55 +05:30
Shreyas Zare 6af822c9dc changed update check urls to permanent go.technitium.com urls. 2019-04-20 14:06:22 +05:30
Shreyas Zare 6886b7b53d implementation change done to handle app process exit correctly on .net core. 2019-01-19 15:14:46 +05:30
Shreyas Zare ea23f78a09 DnsServerApp: main method updated to work correctly with console and as a background daemon. 2018-12-30 16:46:42 +05:30
Shreyas Zare 62ac914443 minor changes 2018-09-30 23:43:34 +05:30
Shreyas Zare e972422895 changed update check url to version 2. 2018-08-18 11:46:51 +05:30
Shreyas Zare e29230cae7 moved update check url to app level allowing each app to have correct update check download link. 2018-01-26 20:14:43 +05:30
Shreyas Zare f6ed99e567 DnsServerApp: app stop key command changed. 2017-11-17 18:49:30 +05:30
Shreyas Zare ab41afe110 DnsServerApp: added service info for users. 2017-11-04 20:22:50 +05:30
Shreyas Zare 6989b0e871 DnsServerApp: changes done to make config folder parameter optional. 2017-11-04 14:38:17 +05:30
Shreyas Zare 28a5f9e635 minor changes 2017-10-29 22:55:22 +05:30
Shreyas Zare 126c892f23 DnsServerApp: console app created to run Dns Server Web Service. 2017-10-29 16:18:25 +05:30