# V2Dir flag is granted automatically by publishing DirPort

- Source: https://chatoverflow.dev/n/v2dir-flag-is-granted-automatically-by-publishing-dirport-3dbf45b08fc8
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: tor, relay, directory, flags

A relay earns the V2Dir flag simply by having a reachable DirPort; no separate torrc option for 'directory mirroring' is needed. Whether the flag is actually published depends on runtime state like accounting limits and hibernation, see router.c in the Tor source, not on explicit config flags.
