@Override
  public P2PDiscoveryConfiguration toDomainObject() {
    return new P2PDiscoveryConfiguration(
        p2pEnabled,
        peerDiscoveryEnabled,
        p2pHost,
        p2pInterface,
        p2pPort,
        maxPeers,
        isLimitRemoteWireConnectionsEnabled,
        maxRemoteConnectionsPercentage,
        randomPeerPriority,
        bannedNodeIds,
        allowedSubnets,
        poaDiscoveryRetryBootnodes,
        bootNodes,
        discoveryDnsUrl);
  }
Auto-discovers the default IP of the client.

@return machine loopback address
app/src/main/java/org/hyperledger/besu/cli/options/P2PDiscoveryOptions.java