Skip to content

Commit d7ecd9c

Browse files
add explanations in config.dist.php
1 parent c2afed9 commit d7ecd9c

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

config.dist.php

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,30 @@
2828
// define('HOST', 'server');
2929

3030

31-
// If set to true, the script will check for your public IPv4 address and add it as an A-Record / change an existing A-Record for the host.
32-
// You may want to deactivate this, for example, when using a carrier grade NAT (CGNAT).
33-
// Most likely though, you should keep this active, unless you know otherwise.
34-
define('USE_IPV4', true);
35-
36-
31+
// Set a URL to use to determine the public IPv4 address. It must
32+
// only return an IPv4 address in plain text, otherwise the script will fail.
3733
define('IPV4_ADDRESS_PROVIDER', 'https://api.ipify.org');
34+
35+
// Set a URL to use as fallback to determine the public IPv4
36+
// address. It must only return an IPv4 address in plain text, otherwise the
37+
// script will fail.
3838
define('IPV4_ADDRESS_PROVIDER_FALLBACK', 'https://ipv4.seeip.org');
39+
40+
// Set a URL to use to determine the public IPv6 address. It must
41+
// only return an IPv6 address in plain text, otherwise the script will fail.
3942
define('IPV6_ADDRESS_PROVIDER', 'https://ipv6.seeip.org');
43+
44+
// Set a URL to use as fallback to determine the public IPv6
45+
// address. It must only return an IPv6 address in plain text, otherwise the
46+
// script will fail.
4047
define('IPV6_ADDRESS_PROVIDER_FALLBACK', 'https://v6.ident.me/');
4148

4249

50+
// If set to true, the script will check for your public IPv4 address and add it as an A-Record / change an existing A-Record for the host.
51+
// You may want to deactivate this, for example, when using a carrier grade NAT (CGNAT).
52+
// Most likely though, you should keep this active, unless you know otherwise.
53+
define('USE_IPV4', true);
54+
4355
// If set to true, the script will check for your public IPv6 address too and add it as an AAAA-Record / change an existing AAAA-Record for the host.
4456
// Activate this only if you have IPv6 connectivity, or you *WILL* get errors.
4557
define('USE_IPV6', false);

0 commit comments

Comments
 (0)