aboutsummaryrefslogtreecommitdiffstats
path: root/tpd.1
diff options
context:
space:
mode:
Diffstat (limited to 'tpd.1')
-rw-r--r--tpd.125
1 files changed, 25 insertions, 0 deletions
diff --git a/tpd.1 b/tpd.1
index 73a4114..5d9c4fe 100644
--- a/tpd.1
+++ b/tpd.1
@@ -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