Route53Domains / Client / update_domain_nameservers
update_domain_nameservers#
- Route53Domains.Client.update_domain_nameservers(**kwargs)#
This operation replaces the current set of name servers for the domain with the specified set of name servers. If you use Amazon Route 53 as your DNS service, specify the four name servers in the delegation set for the hosted zone for the domain.
If successful, this operation returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
See also: AWS API Documentation
Request Syntax
response = client.update_domain_nameservers( DomainName='string', FIAuthKey='string', Nameservers=[ { 'Name': 'string', 'GlueIps': [ 'string', ] }, ] )
- Parameters:
DomainName (string) –
[REQUIRED]
The name of the domain that you want to change name servers for.
FIAuthKey (string) – The authorization key for .fi domains
Nameservers (list) –
[REQUIRED]
A list of new name servers for the domain.
(dict) –
Name server includes the following elements.
Name (string) – [REQUIRED]
The fully qualified host name of the name server.
Constraint: Maximum 255 characters
GlueIps (list) –
Glue IP address of a name server entry. Glue IP addresses are required only when the name of the name server is a subdomain of the domain. For example, if your domain is example.com and the name server for the domain is ns.example.com, you need to specify the IP address for ns.example.com.
Constraints: The list can contain only one IPv4 and one IPv6 address.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'OperationId': 'string' }
Response Structure
(dict) –
The UpdateDomainNameservers response includes the following element.
OperationId (string) –
Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.
Exceptions