Skip to content

Conversation

@crazydi4mond
Copy link
Contributor

@crazydi4mond crazydi4mond commented Jan 22, 2026

Summary

Add menu option to completely uninstall dnstt server and clean up all traces from the system.

When selected, the uninstall option will:

  • Confirm with the user before proceeding
  • Stop and disable the systemd service
  • Remove the service file
  • Remove the dnstt-server binary
  • Remove all configuration files and keys (/etc/dnstt)
  • Remove firewall rules (iptables, ip6tables, UFW, firewalld)
  • Remove the dnstt system user

After uninstall, the system will be as if dnstm was never run.

Test plan

  • Verify uninstall option appears in menu when dnstt is installed
  • Verify confirmation prompt works (cancel and proceed)
  • Verify service is stopped and removed
  • Verify binary is removed from /usr/local/bin
  • Verify /etc/dnstt directory is removed
  • Verify firewall rules are cleaned up
  • Verify dnstt user is removed

Add menu option to uninstall dnstt server and clean up all traces:
- Stop and disable systemd service
- Remove service file
- Remove dnstt-server binary
- Remove configuration directory and keys
- Remove firewall rules (iptables, UFW, firewalld)
- Remove dnstt system user

Requires user confirmation before proceeding.
@crazydi4mond crazydi4mond merged commit dbbf612 into main Jan 22, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants