Загрузка данных



Write-Host "`n===== RECORDS USING 10.191.125.5 =====" -ForegroundColor Cyan

Get-DnsServerResourceRecord `
    -ComputerName "ru-dc-p01.sys.clz.ru" `
    -ZoneName "clz.ru" `
    -RRType A |
Where-Object {
    $_.RecordData.IPv4Address.IPAddressToString -eq "10.191.125.5"
} |
Select-Object HostName, @{
    Name = "IP"
    Expression = { $_.RecordData.IPv4Address.IPAddressToString }
}, TimeToLive |
Format-Table -AutoSize

Write-Host "`n===== HTTPS DELIVERY =====" -ForegroundColor Cyan

curl.exe --noproxy "*" -I -v `
    --connect-timeout 5 --max-time 12 `
    https://delivery.clz.ru/ 2>&1

Write-Host "`n===== HTTPS STAGE =====" -ForegroundColor Cyan

curl.exe --noproxy "*" -I -v `
    --connect-timeout 5 --max-time 12 `
    https://stage-delivery.clz.ru/ 2>&1