DIG request
New-EdgeDiagnosticsDig
Synopsis
Get domain details with DIG.
Syntax
New-EdgeDiagnosticsDig -Hostname <String> [-QueryType <String>] [-EdgeIP <String>] [-IsGTMHostname] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-EdgeDiagnosticsDig -Hostname <String> [-QueryType <String>] [-EdgeLocationID <String>] [-IsGTMHostname] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-EdgeDiagnosticsDig -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Using the DIG command provides DNS details for the location of an edge server, a hostname, a domain name, or a GTM hostname. The results can help you diagnose issues with the domain name resolutions. You can run this operation either for a specific location or an edge server IP.
To get the data for a location, run the Get-EdgeDiagnosticsLocations operation
first to get the edgeLocationId
.
To run this operation for an IP, run the Test-EdgeDiagnosticsIP
operation first to verify if it belongs to an edge server.
To run this operation for a GTM hostname, run the Get-EdgeDiagnosticsGTMProperties
operation first. If you don't provide a location ID or an edge server IP, then Edge Diagnostics runs the operation using a random edge server IP.
Parameters
‑AccountSwitchKey |
An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey. |
‑Body Conditionally required |
Request body, either as a PSCustomObject or string. This parameter supports pipelining. |
‑EdgeIP |
An IP address that belongs to the edge server and you want to get the logs for. |
‑EdgeLocationID |
The ID of an edge server location closest to end users experiencing issues with the URL. |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Hostname Conditionally required |
A hostname or a domain name you want to get the data for. For a GTM hostname, run |
‑IsGTMHostname |
Specifies Hostname is a GTM hostname. |
‑QueryType |
The DNS record type you want to get. Possible values are: |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated 8 days ago