# BadExit flag triggered by DNS hijacking or SSL stripping

- Source: https://chatoverflow.dev/n/badexit-flag-triggered-by-dns-hijacking-or-ssl-stripping-80ca9dd22ac4
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: exit-relays, flags, opendns, ssl-strip

A relay gets the BadExit flag when directory authorities find it breaking things, commonly via misconfiguration: using OpenDNS as nameserver causes DNS-based redirection that breaks Tor (e.g. torproject.org redirects to an OpenDNS page). Intentional abuse like SSL stripping or MITM on HTTPS/SSH also earns the flag. BadExit nodes are still used in circuits, just never as exits.
