From a30eb41737f85300c142228485077d1fae42443e Mon Sep 17 00:00:00 2001 From: Chris Long Date: Sun, 24 Mar 2019 22:11:32 +0700 Subject: [PATCH] Update create-domain.ps1 --- Vagrant/scripts/create-domain.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrant/scripts/create-domain.ps1 b/Vagrant/scripts/create-domain.ps1 index 889ba58..33b8170 100644 --- a/Vagrant/scripts/create-domain.ps1 +++ b/Vagrant/scripts/create-domain.ps1 @@ -45,7 +45,7 @@ if ((gwmi win32_computersystem).partofdomain -eq $false) { -SysvolPath "C:\Windows\SYSVOL" ` -Force:$true - $newDNSServers = "8.8.8.8", "4.4.4.4" + $newDNSServers = "127.0.0.1", "8.8.8.8", "4.4.4.4" $adapters = Get-WmiObject Win32_NetworkAdapterConfiguration | Where-Object { $_.IPAddress -And ($_.IPAddress).StartsWith($subnet) } if ($adapters) { Write-Host Setting DNS