From 76e253bc11f566444d8edbc539018c4d7778ad77 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 12 Jun 2020 23:05:06 +0200 Subject: [PATCH] Added -DnsOnly --- Scripts/train_dns_cache.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/train_dns_cache.ps1 b/Scripts/train_dns_cache.ps1 index c4345adb..3e3478ba 100755 --- a/Scripts/train_dns_cache.ps1 +++ b/Scripts/train_dns_cache.ps1 @@ -10,8 +10,8 @@ $DomainTable = import-csv domain_table.csv foreach($Row in $DomainTable) { $DomainName = $Row.Domain - write-progress "Training DNS cache: $DomainName ..." - $Ignore = Resolve-DnsName $DomainName + write-progress "Training DNS cache with $DomainName ..." + $Ignore = Resolve-DnsName -Name $DomainName -DnsOnly } $Count = $DomainTable.Length