File tree 1 file changed +13
-3
lines changed
nixos/modules/services/networking
1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 17
17
host = ${ cfg . dns . address }
18
18
port = ${ toString cfg . dns . port }
19
19
oldDNSMethod = NO_OLD_DNS
20
- externalIP = ${ cfg . dns . address }
20
+ externalIP = ${ cfg . dns . externalAddress }
21
21
22
22
[http]
23
23
host = ${ cfg . api . hostname }
47
47
type = types . str ;
48
48
default = "127.0.0.1" ;
49
49
description = ''
50
- The IP address that will be used to reach this machine.
51
- Leave this unchanged if you do not wish to directly expose the DNSChain resolver.
50
+ The IP address the DNSChain resolver will bind to.
51
+ Leave this unchanged if you do not wish to directly expose the resolver.
52
+ '' ;
53
+ } ;
54
+
55
+ dns . externalAddress = mkOption {
56
+ type = types . str ;
57
+ default = cfg . dns . address ;
58
+ description = ''
59
+ The IP address used by clients to reach the resolver and the value of
60
+ the <literal>namecoin.dns</literal> record. Set this in case the bind address
61
+ is not the actual IP address (e.g. the machine is behind a NAT).
52
62
'' ;
53
63
} ;
54
64
You can’t perform that action at this time.
0 commit comments