diff --git a/Netch/Forms/SettingForm.Designer.cs b/Netch/Forms/SettingForm.Designer.cs index 4b20309c..300b3bde 100644 --- a/Netch/Forms/SettingForm.Designer.cs +++ b/Netch/Forms/SettingForm.Designer.cs @@ -595,7 +595,6 @@ namespace Netch.Forms // // ProxyDNSCheckBox // - this.ProxyDNSCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.UseCustomDNSCheckBox, "Checked", true));; this.ProxyDNSCheckBox.AutoSize = true; this.ProxyDNSCheckBox.Location = new System.Drawing.Point(261, 139); this.ProxyDNSCheckBox.Name = "ProxyDNSCheckBox"; diff --git a/Netch/Forms/SettingForm.cs b/Netch/Forms/SettingForm.cs index c7f33c77..b6ac08c4 100644 --- a/Netch/Forms/SettingForm.cs +++ b/Netch/Forms/SettingForm.cs @@ -206,10 +206,7 @@ namespace Netch.Forms if (UseCustomDNSCheckBox.Checked) TUNTAPDNSTextBox.Text = Global.Settings.TUNTAP.DNS.Any() ? DnsUtils.Join(Global.Settings.TUNTAP.DNS) : "1.1.1.1"; else - { TUNTAPDNSTextBox.Text = "AioDNS"; - ProxyDNSCheckBox.Checked = false; - } } private void InitSTUN()