Invoke ADCAddDnsnameserver - j81blog/J81.ADCToolkit GitHub Wiki
Add Domain Name Service configuration Object.
Invoke-ADCAddDnsnameserver [[-Ip] <String>] [[-Dnsvservername] <String>] [[-Local] <Boolean>]
[[-State] <String>] [[-Type] <String>] [[-Dnsprofilename] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
Configuration for name server resource.
Invoke-ADCAddDnsnameserver
An example how to add dnsnameserver configuration Object(s).
IP address of an external name server or, if the Local parameter is set, IP address of a local DNS server (LDNS).
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseName of a DNS virtual server. Overrides any IP address-based name servers configured on the Citrix ADC.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseMark the IP address as one that belongs to a local recursive DNS server on the Citrix ADC. The appliance recursively resolves queries received on an IP address that is marked as being local. For recursive resolution to work, the global DNS parameter, Recursion, must also be set. If no name server is marked as being local, the appliance functions as a stub resolver and load balances the name servers.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseAdministrative state of the name server. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: ENABLED
Accept pipeline input: False
Accept wildcard characters: FalseProtocol used by the name server. UDP_TCP is not valid if the name server is a DNS virtual server configured on the appliance. Possible values = UDP, TCP, UDP_TCP
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: UDP
Accept pipeline input: False
Accept wildcard characters: FalseName of the DNS profile to be associated with the name server.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
File Name : Invoke-ADCAddDnsnameserver Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/dns/dnsnameserver/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.