Configure node with Dynamic IP (Mojo branch)

From The DXSpider Documentation Wiki
Revision as of 16:11, 14 February 2023 by EA3CV (talk | contribs) (Created page with "Introduce aliasing for localhost in DX Spots and outgoing PC92 A records on login. There are two variables which can be set with the alias to use: <pre> $main::localhost_alias_ipv4 $main::localhost_alias_ipv6 </pre> These can be set in the '''/spider/scripts/startup''' <pre> set/var $main::localhost_alias_ipv4 = "your_IP" </pre> but this is only necessary if the node has more than one interface, virtual hosts or Dynamic IP. You can check what your IP is with the foll...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduce aliasing for localhost in DX Spots and outgoing PC92 A records on login. There are two variables which can be set with the alias to use:

 $main::localhost_alias_ipv4
 $main::localhost_alias_ipv6

These can be set in the /spider/scripts/startup

 set/var $main::localhost_alias_ipv4 = "your_IP"

but this is only necessary if the node has more than one interface, virtual hosts or Dynamic IP.

You can check what your IP is with the following command:

 curl ifconfig.me

If there is ONLY ONE ipv4 and/or ipv6 Static IP address on the node machine then these variables will be automatically populated on first use. But the SAFE thing to do is to set them in the startup file.

There is a utility external to the project that performs the automatic search and update process.