Posts

Showing posts from January, 2024

SOLVED: Microsoft PowerShell cmdlet Get-DnsServerRootHint shows error No root hint found by {server} name server on {servername} server

Image
When you run the Microsoft PowerShell cmdlet Get-DnsServerRootHint you see the error  No root hint found by {server} name server on {servername} server When you view the root hints in the DNS server manager MMC you see the root hint listed as "Unknown". If the DNS server is Active Directory Integrated this could be because the record is corrupt. You can view the raw data using ADSIEdit.msc and going to the following (replacing the distinguished name of the domain as required). DC=RootDNSServers,CN=MicrosoftDNS,DC=DomainDnsZones,DC= demo2019 ,DC= int Check the dnsRecord value if this value is missing or corrupt it will display the error above. If the DNS server is not Active Directory integrated then an error may be found in the cache.dns file found by default in the following location: C:\Windows\System32\dns\cache.dns The correct value can be set by clicking the "Edit" button in the DNS manager MMC and entering the correct value, or by clicking "Remove"

How to delete or deactivate your Twitter (X) Account

To delete your Twitter account you need to first deactivate it.  Deactivation initiates a 30-day window where the account can be reactivated and after 30 days the account is deleted. The quickest way to do this is to go to the direct link: https://twitter.com/settings/deactivate This is quicker than going through the menu system https://help.twitter.com/en/managing-your-account/how-to-deactivate-x-account#deactivating-vs-deleting

The Azure REST API for Availability Sets does not show the references for virtual machines in the Availability Set

When you make a GET rest to the Azure Availability Sets REST API you may notice that the virtual machines that are in the availability set are not shown. https://learn.microsoft.com/rest/api/compute/availability-sets/get For example: https://management.azure.com/subscriptions/ 00000000-0000-0000-0000-000000000000 /providers/Microsoft.Compute/availabilitySets?api-version=2023-09-01 For these to be visible you must expand them using the following: https://management.azure.com/subscriptions/ 00000000-0000-0000-0000-000000000000 /providers/Microsoft.Compute/availabilitySets? $expand=virtualMachines/$ref &api-version=2023-09-01