```
This prevents the node from trying to connect to random IPs on the internet while running the functional tests. Exceptions are added when required for the test to pass.
```
Backport of [[https://github.com/bitcoin/bitcoin/pull/22490 | core#22490]].
Ref T1696.