external help file | Module Name | online version | schema |
---|---|---|---|
DNSHealth-help.xml |
DNSHealth |
2.0.0 |
Resolves DNS record using DoH JSON query
Resolve-DnsHttpsQuery [-Domain] <String> [[-MacroExpand] <String>] [[-RecordType] <String>]
[<CommonParameters>]
This function uses Google or Cloudflare DoH REST APIs to resolve DNS records
Resolve-DnsHttpsQuery -Domain google.com -RecordType A
name type TTL data
google.com. 1 30 142.250.80.110
Domain to query
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill MacroExpand Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type of record - Examples: A, CNAME, MX, TXT
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: A
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.