This commit is contained in:
EonaCat 2023-03-02 19:33:00 +01:00
parent 46f8786acd
commit 80f09ecf39
3 changed files with 50 additions and 33 deletions

View File

@ -31,6 +31,8 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
RunTest = new System.Windows.Forms.Button();
panel1 = new System.Windows.Forms.Panel();
numericUpDown2 = new System.Windows.Forms.NumericUpDown();
label2 = new System.Windows.Forms.Label();
comboBox1 = new System.Windows.Forms.ComboBox();
numericUpDown1 = new System.Windows.Forms.NumericUpDown();
label3 = new System.Windows.Forms.Label();
@ -60,13 +62,11 @@
txtResolveIP = new System.Windows.Forms.TextBox();
label5 = new System.Windows.Forms.Label();
label1 = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label();
numericUpDown2 = new System.Windows.Forms.NumericUpDown();
panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)numericUpDown2).BeginInit();
((System.ComponentModel.ISupportInitialize)numericUpDown1).BeginInit();
panel2.SuspendLayout();
panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)numericUpDown2).BeginInit();
SuspendLayout();
//
// RunTest
@ -77,7 +77,7 @@
RunTest.Name = "RunTest";
RunTest.Size = new System.Drawing.Size(435, 115);
RunTest.TabIndex = 12;
RunTest.Text = "Run Test";
RunTest.Text = "Execute";
RunTest.UseVisualStyleBackColor = false;
RunTest.Click += RunTest_Click;
//
@ -105,15 +105,37 @@
panel1.Size = new System.Drawing.Size(2209, 396);
panel1.TabIndex = 24;
//
// numericUpDown2
//
numericUpDown2.Location = new System.Drawing.Point(804, 228);
numericUpDown2.Maximum = new decimal(new int[] { 1000000000, 0, 0, 0 });
numericUpDown2.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
numericUpDown2.Name = "numericUpDown2";
numericUpDown2.Size = new System.Drawing.Size(120, 47);
numericUpDown2.TabIndex = 61;
numericUpDown2.Value = new decimal(new int[] { 5, 0, 0, 0 });
//
// label2
//
label2.AutoSize = true;
label2.Location = new System.Drawing.Point(566, 228);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(201, 41);
label2.TabIndex = 60;
label2.Text = "Total Threads:";
//
// comboBox1
//
comboBox1.ForeColor = System.Drawing.Color.Black;
comboBox1.FormattingEnabled = true;
comboBox1.Items.AddRange(new object[] { "A", "NS", "CNAME", "MX", "TXT" });
comboBox1.Location = new System.Drawing.Point(1583, 71);
comboBox1.Name = "comboBox1";
comboBox1.Size = new System.Drawing.Size(302, 49);
comboBox1.TabIndex = 59;
comboBox1.Text = "Select record type";
comboBox1.SelectedIndexChanged += comboBox1_SelectedIndexChanged;
comboBox1.KeyPress += comboBox1_KeyPress;
//
// numericUpDown1
//
@ -224,6 +246,8 @@
dnsList2.Name = "dnsList2";
dnsList2.Size = new System.Drawing.Size(320, 49);
dnsList2.TabIndex = 38;
dnsList2.Text = "Select Dns2";
dnsList2.KeyPress += comboBox1_KeyPress;
//
// dnsList1
//
@ -234,6 +258,8 @@
dnsList1.Name = "dnsList1";
dnsList1.Size = new System.Drawing.Size(451, 49);
dnsList1.TabIndex = 37;
dnsList1.Text = "Select Dns 1";
dnsList1.KeyPress += comboBox1_KeyPress;
//
// lblDns2
//
@ -385,25 +411,6 @@
label1.TabIndex = 66;
label1.Text = "Resolve ip address:";
//
// label2
//
label2.AutoSize = true;
label2.Location = new System.Drawing.Point(566, 228);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(201, 41);
label2.TabIndex = 60;
label2.Text = "Total Threads:";
//
// numericUpDown2
//
numericUpDown2.Location = new System.Drawing.Point(804, 228);
numericUpDown2.Maximum = new decimal(new int[] { 1000000000, 0, 0, 0 });
numericUpDown2.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
numericUpDown2.Name = "numericUpDown2";
numericUpDown2.Size = new System.Drawing.Size(120, 47);
numericUpDown2.TabIndex = 61;
numericUpDown2.Value = new decimal(new int[] { 5, 0, 0, 0 });
//
// MainForm
//
AutoScaleDimensions = new System.Drawing.SizeF(240F, 240F);
@ -424,11 +431,11 @@
Load += TesterUI_Load;
panel1.ResumeLayout(false);
panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)numericUpDown2).EndInit();
((System.ComponentModel.ISupportInitialize)numericUpDown1).EndInit();
panel2.ResumeLayout(false);
panel3.ResumeLayout(false);
panel3.PerformLayout();
((System.ComponentModel.ISupportInitialize)numericUpDown2).EndInit();
ResumeLayout(false);
}

View File

@ -416,5 +416,10 @@ namespace EonaCat.DnsTester
{
SetUI();
}
private void comboBox1_KeyPress(object sender, KeyPressEventArgs e)
{
e.Handled = true;
}
}
}

View File

@ -2,25 +2,30 @@
<Servers>
<!-- My Local Blocky Dns -->
<server name="Local Blocky" ip="127.0.0.1"></server>
<!-- My External Blocky Dns -->
<server name="External Blocky" ip="192.168.1.10"></server>
<!-- My Remote Blocky Dns -->
<server name="Remote Blocky" ip="192.168.1.254"></server>
<!--AdGuard DNS-->
<!--AdGuard Dns servers-->
<server name="AdGuard Dns (94.140.14.15)" ip="94.140.14.15"></server>
<server name="AdGuard Dns (94.140.15.15)" ip="94.140.15.15"></server>
<!--Verisign-->
<server name="Verisign (64.6.64.6)" ip="64.6.64.6"></server>
<server name="Verisign (64.6.65.6)" ip="64.6.65.6"></server>
<!--Google Dns Servers-->
<server name="Google (8.8.8.8)" ip="8.8.8.8"></server>
<server name="Google (8.8.4.4)" ip="8.8.8.8"></server>
<!--CloudFlare Dns servers-->
<server name="CloudFlare Standard (1.1.1.1)" ip="1.1.1.1"></server>
<server name="CloudFlare Standard (1.0.0.1)" ip="1.0.0.1"></server>
<!--Quad9 DNS-->
<!--Google Dns servers-->
<server name="Google (8.8.8.8)" ip="8.8.8.8"></server>
<server name="Google (8.8.4.4)" ip="8.8.4.4"></server>
<!--Quad9 Dns servers-->
<server name="Quad9 Dns 1 (9.9.9.9)" ip="9.9.9.9"></server>
<server name="Quad9 Dns 2 (149.112.112.9)" ip="149.112.112.9"></server>
<!--Verisign Dns servers-->
<server name="Verisign (64.6.64.6)" ip="64.6.64.6"></server>
<server name="Verisign (64.6.65.6)" ip="64.6.65.6"></server>
</Servers>