public static DnsOptions fromConfig(final EnodeDnsConfiguration enodeDnsConfiguration) {
    final DnsOptions cliOptions = new DnsOptions();
    cliOptions.dnsEnabled = enodeDnsConfiguration.dnsEnabled();
    cliOptions.dnsUpdateEnabled = enodeDnsConfiguration.updateEnabled();
    return cliOptions;
  }
From config dns options.

@param enodeDnsConfiguration the enode dns configuration
@return the dns options
app/src/main/java/org/hyperledger/besu/cli/options/DnsOptions.java