diff options
| author | murilo ijanc | 2026-03-25 03:46:21 -0300 |
|---|---|---|
| committer | murilo ijanc | 2026-03-25 03:46:21 -0300 |
| commit | ee25588324ca61275782a3628dd1838dae58e69e (patch) | |
| tree | 6be0be73ce906cb0d2d7b95b5a9b4cd8231fef23 /tpd.1 | |
| parent | 7aff2e1d279a4e442b32f49ca0a0eca065355787 (diff) | |
| download | tesseras-paste-ee25588324ca61275782a3628dd1838dae58e69e.tar.gz | |
Add DNS SRV bootstrap discovery for automatic peer finding
tpd now queries _tesseras._udp.tesseras.net SRV records to discover
bootstrap peers when no -b flag is given. Add -n flag to disable this
automatic discovery for seed/isolated nodes.
Diffstat (limited to 'tpd.1')
| -rw-r--r-- | tpd.1 | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -22,6 +22,7 @@ .Sh SYNOPSIS .Nm .Op Fl g +.Op Fl n .Op Fl p Ar port .Op Fl d Ar dir .Op Fl s Ar sock @@ -42,12 +43,23 @@ The options are as follows: Bootstrap peer address. This option can be specified multiple times to connect to several peers at startup. +When specified, automatic SRV discovery is skipped. .It Fl d Ar dir Data directory for paste storage and identity key. The default is .Pa /var/tesseras-paste . .It Fl g Enable global NAT mode for public servers. +.It Fl n +Disable automatic bootstrap via DNS SRV discovery. +By default, when no +.Fl b +peers are given, +.Nm +queries the SRV record at +.Em _tesseras._udp.tesseras.net +to discover bootstrap peers. +This flag disables that behavior, useful for running an isolated node. .It Fl p Ar port UDP port for the DHT protocol. A value of 0 selects a random port. @@ -60,6 +72,15 @@ inside the data directory. .It Fl w Ar http_port Enable the HTTP server on the specified port. .El +.Sh BOOTSTRAP DISCOVERY +When no +.Fl b +peers are specified and +.Fl n +is not set, +.Nm +automatically discovers bootstrap peers by querying the DNS SRV record +.Em _tesseras._udp.tesseras.net . .Sh FILES .Bl -tag -width "/var/tesseras-paste/identity.key" -compact .It Pa /var/tesseras-paste/ @@ -84,6 +105,10 @@ Start with a bootstrap peer and HTTP interface: Start as a public server on port 6881: .Pp .Dl # tpd -g -p 6881 +.Pp +Start an isolated node without automatic bootstrap: +.Pp +.Dl # tpd -n .Sh SEE ALSO .Xr tp 1 .Sh AUTHORS |