DIG request

New-EdgeDiagnosticsDig

Synopsis

Get domain details with DIG.

Syntax

attributes-ip (Default)

New-EdgeDiagnosticsDig -Hostname <String> [-QueryType <String>] [-EdgeIP <String>] [-IsGTMHostname]
 [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

attributes-location

New-EdgeDiagnosticsDig -Hostname <String> [-QueryType <String>] [-EdgeLocationID <String>] [-IsGTMHostname]
 [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

body

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, you need to run the Get-EdgeDiagnosticsLocations operation first to get the edgeLocationId.

To run this operation for an IP, you need to run the Test-EdgeDiagnosticsIP operation to verify if it belongs to an edge server.

To run this operation for a GTM hostname, you need to 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

Account switch key, for use when you have access to multiple accounts and need to specify which one to use. Run the Get-AccountSwitchKey command to list the account switch keys available to you.

Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Body

Request body, either as a PSCustomObject or string. This parameter supports pipelining.

Type: Object
Parameter Sets: body
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-EdgeIP

IP address that belongs to edge server and you want to get the logs for.

Type: String
Parameter Sets: attributes-ip
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-EdgeLocationID

Unique identifier for an edge server location closest to end users experiencing issues with the URL.

Type: String
Parameter Sets: attributes-location
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-EdgeRCFile

EdgeRC file to authenticate your command. Defaults to ~/.edgerc.

Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Hostname

Hostname or a domain name you want to get the data for. For a GTM hostname, run Get-EdgeDiagnosticsGTMProperties first, to get this value.

Type: String
Parameter Sets: attributes-ip, attributes-location
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IsGTMHostname

Specifies Hostname is a GTM hostname.

Type: SwitchParameter
Parameter Sets: attributes-ip, attributes-location
Aliases: None
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-QueryType

DNS record type you want to get. Possible values are: A, AAAA, SOA, CNAME, PTR, MX, NS, TXT, SRV, CAA, or ANY.

Type: String
Parameter Sets: attributes-ip, attributes-location
Aliases:
Accepted values: A, AAAA, SOA, CNAME, PTR, MX, NS, TXT, SRV, CAA, ANY

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Section

EdgeRC section to retrieve authentication credentials from. Defaults to default.

Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object

Related links