Skip to content

Get-IBDNSAlias

SYNOPSIS

Retrieve DNS aliases for a specified hostname from Infoblox.

SYNTAX

Get-IBDNSAlias [-Hostname] <String> [<CommonParameters>]

DESCRIPTION

This function retrieves DNS aliases for a given hostname from Infoblox. If the hostname does not include the DNS domain, it appends the default domain before querying Infoblox. The function returns the list of aliases associated with the hostname.

EXAMPLES

EXAMPLE 1

Get-IBDNSAlias -Hostname "printer01"

Retrieves DNS aliases for the hostname "printer01" from Infoblox.

EXAMPLE 2

Get-IBDNSAlias -Hostname "printer01.gentgrp.gent.be"

Retrieves DNS aliases for the fully qualified hostname "printer01.gentgrp.gent.be" from Infoblox.

PARAMETERS

-Hostname

The hostname for which DNS aliases will be retrieved. If the hostname does not include the DNS domain, it will be appended automatically.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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

OUTPUTS

NOTES