diff --git a/nanoFramework.System.Net/NetworkHelper/NetworkHelperInternal.cs b/nanoFramework.System.Net/NetworkHelper/NetworkHelperInternal.cs index 759bc3c..e60f0e5 100644 --- a/nanoFramework.System.Net/NetworkHelper/NetworkHelperInternal.cs +++ b/nanoFramework.System.Net/NetworkHelper/NetworkHelperInternal.cs @@ -92,7 +92,11 @@ public static void InternalSetupHelper( } else { - networkInterface.EnableDhcp(); + if (!networkInterface.IsDhcpEnabled) + { + networkInterface.EnableDhcp(); + } + networkInterface.EnableAutomaticDns(); } }