Fix: Remove DNS Tests
This commit is contained in:
parent
aef16c0956
commit
56a8aedd5d
@ -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"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user