Fix: Remove DNS Tests

This commit is contained in:
Winston Smith 2021-06-01 17:01:22 +02:00
parent 5f68023409
commit d4b982ff94
2 changed files with 0 additions and 15 deletions

View File

@ -157,12 +157,6 @@ Add-DnsServerForwarder -IPAddress 9.9.9.9 -PassThru # Forward
Add-DnsServerResourceRecordA -Name "SRV-01" -ZoneName "asrbd.local" -IPv4Address "192.168.8.1" -TimeToLive 01:00:00 Add-DnsServerResourceRecordA -Name "SRV-01" -ZoneName "asrbd.local" -IPv4Address "192.168.8.1" -TimeToLive 01:00:00
Add-DnsServerResourceRecordA -Name "SRV-02" -ZoneName "asrbd.local" -IPv4Address "192.168.8.2" -TimeToLive 01:00:00 Add-DnsServerResourceRecordA -Name "SRV-02" -ZoneName "asrbd.local" -IPv4Address "192.168.8.2" -TimeToLive 01:00:00
Test-DnsServer -IPAddress 192.168.8.1 -ZoneName "asrbd.local"
Test-DnsServer -IPAddress 192.168.128.1 -ZoneName "asrbd.dev"
Test-DnsServer -IPAddress 192.168.8.1 -ZoneName "asrbd.dev"
Test-DnsServer -IPAddress 192.168.128.1 -ZoneName "asrbd.local"
Read-Host "DNS Tests"
# Add local DNS for all Hosts # Add local DNS for all Hosts
echo "Add local DNS for all Hosts" echo "Add local DNS for all Hosts"

View File

@ -106,14 +106,5 @@ Add-DnsServerForwarder -IPAddress 9.9.9.9 -PassThru # Forward
Add-DnsServerResourceRecordA -Name "SRV-01" -ZoneName "asrbd.dev" -IPv4Address "192.168.8.1" -TimeToLive 01:00:00 Add-DnsServerResourceRecordA -Name "SRV-01" -ZoneName "asrbd.dev" -IPv4Address "192.168.8.1" -TimeToLive 01:00:00
Add-DnsServerResourceRecordA -Name "SRV-02" -ZoneName "asrbd.dev" -IPv4Address "192.168.8.2" -TimeToLive 01:00:00 Add-DnsServerResourceRecordA -Name "SRV-02" -ZoneName "asrbd.dev" -IPv4Address "192.168.8.2" -TimeToLive 01:00:00
Test-DnsServer -IPAddress 192.168.8.1 -ZoneName "asrbd.local"
Test-DnsServer -IPAddress 192.168.128.1 -ZoneName "asrbd.dev"
Test-DnsServer -IPAddress 192.168.8.1 -ZoneName "asrbd.dev"
Test-DnsServer -IPAddress 192.168.128.1 -ZoneName "asrbd.local"
Read-Host "DNS Tests"
# Add BGINFO autostart
C:\Program Files\BGINFO\Bginfo64.exe mescouilles2.bgi /all /nolicprompt
Read-Host "Finished?" Read-Host "Finished?"
Restart-Computer Restart-Computer