Many moons ago, I figured out how to get my websites to be accessible without the www subdomain. When I recently moved one of my three websites to Azure, I didn’t immediately solve that problem. As the website isn’t ever visited and isn’t important, this isn’t an issue, but I do want to solve it… Continue reading Skip the www (part 2)
Tag: DNS
DNS PowerShell one liner
This is a “one liner” that pulls all the DNS Entries for a particular zone, including the IPv4 and IPv6. If you don’t care about the IPv6, you can remove that segment of the code. Get-DnsServerResourceRecord –ComputerName <DNSServerName> –ZoneName <YourZoneName> | Select-Object DistinguishedName,HostName,@{Name=’IPv4Address’;Expression={$_.RecordData.IPv4Address.IPAddressToString}},@{Name=’IPv6Address’;Expression={$_.RecordData.IPv6Address.IPAddressToString}},RecordType,Timestamp,TimeToLive | Export-Csv $env:TEMP\DNSExport.csv –NoTypeInformation It is amazing how much you can do… Continue reading DNS PowerShell one liner