diff --git a/InternetTest/InternetTest/InternetTest.csproj b/InternetTest/InternetTest/InternetTest.csproj
index 8e24a957..6c39eeab 100644
--- a/InternetTest/InternetTest/InternetTest.csproj
+++ b/InternetTest/InternetTest/InternetTest.csproj
@@ -34,6 +34,7 @@
+
diff --git a/InternetTest/InternetTest/Pages/DnsPage.xaml b/InternetTest/InternetTest/Pages/DnsPage.xaml
index 0e9e3cbd..9390c29b 100644
--- a/InternetTest/InternetTest/Pages/DnsPage.xaml
+++ b/InternetTest/InternetTest/Pages/DnsPage.xaml
@@ -15,6 +15,7 @@
+
@@ -41,24 +42,31 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/InternetTest/InternetTest/Pages/DnsPage.xaml.cs b/InternetTest/InternetTest/Pages/DnsPage.xaml.cs
index e2aded38..12908a22 100644
--- a/InternetTest/InternetTest/Pages/DnsPage.xaml.cs
+++ b/InternetTest/InternetTest/Pages/DnsPage.xaml.cs
@@ -22,7 +22,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
+using DnsClient;
using InternetTest.Classes;
+using InternetTest.UserControls;
using System.Linq;
using System.Net;
using System.Windows;
@@ -101,6 +103,14 @@ private void GetDnsInfo(string website)
IPAddress ip = host.AddressList[0];
UrlTxt.Text = website;
IpTxt.Text = ip.ToString();
+
+ // Get DNS records
+ var lookup = new LookupClient();
+ var result = lookup.QueryAsync(website, QueryType.ANY).Result;
+ foreach (var record in result.AllRecords)
+ {
+ RecordDisplayer.Children.Add(new DnsRecordItem(record.RecordType.ToString(), record.ToString()));
+ }
}
private void DismissBtn_Click(object sender, RoutedEventArgs e)
diff --git a/InternetTest/InternetTest/UserControls/ActionCard.xaml b/InternetTest/InternetTest/UserControls/ActionCard.xaml
index 65d0f77c..1f6e80ed 100644
--- a/InternetTest/InternetTest/UserControls/ActionCard.xaml
+++ b/InternetTest/InternetTest/UserControls/ActionCard.xaml
@@ -4,7 +4,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:InternetTest.UserControls"
- mc:Ignorable="d" FontFamily="../Fonts/#Hauroa"
+ mc:Ignorable="d" FontFamily="../Fonts/#Hauora"
Height="30" Width="Auto" Margin="5 2" Foreground="{Binding Source={StaticResource Foreground1}}">