Browse Source

Merge pull request #1239 from slingamn/issue1228_disable_lookup_hostnames

fix #1228
tags/v2.3.0-rc1
Shivaram Lingamneni 3 years ago
parent
commit
c8e2dcb1e9
No account linked to committer's email address
1 changed files with 6 additions and 4 deletions
  1. 6
    4
      default.yaml

+ 6
- 4
default.yaml View File

@@ -141,10 +141,11 @@ server:
141 141
     # they cannot be relayed to websocket clients).
142 142
     enforce-utf8: true
143 143
 
144
-    # whether to look up user hostnames with reverse DNS.
145
-    # (disabling this will expose user IPs instead of hostnames;
146
-    # to make IP/hostname information private, see the ip-cloaking section)
147
-    lookup-hostnames: true
144
+    # whether to look up user hostnames with reverse DNS. there are 3 possibilities:
145
+    # 1. lookup-hostnames enabled, IP cloaking disabled; users will see each other's hostnames
146
+    # 2. lookup-hostnames disabled, IP cloaking disabled; users will see each other's numeric IPs
147
+    # 3. [the default] IP cloaking enabled; users will see cloaked hostnames
148
+    lookup-hostnames: false
148 149
     # whether to confirm hostname lookups using "forward-confirmed reverse DNS", i.e., for
149 150
     # any hostname returned from reverse DNS, resolve it back to an IP address and reject it
150 151
     # unless it matches the connecting IP
@@ -258,6 +259,7 @@ server:
258 259
     # DNS, users see fake domain names like pwbs2ui4377257x8.oragono. These names are
259 260
     # generated deterministically from the underlying IP address, but if the underlying
260 261
     # IP is not already known, it is infeasible to recover it from the cloaked name.
262
+    # If you disable this, you should probably enable lookup-hostnames in its place.
261 263
     ip-cloaking:
262 264
         # whether to enable IP cloaking
263 265
         enabled: true

Loading…
Cancel
Save