Route53Domains / Client / update_domain_nameservers



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(
            'Name': 'string',
            'GlueIps': [
  • DomainName (string) –


    The name of the domain that you want to change name servers for.

  • FIAuthKey (string) – The authorization key for .fi domains

  • Nameservers (list) –


    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 and the name server for the domain is, you need to specify the IP address for

        Constraints: The list can contain only one IPv4 and one IPv6 address.

        • (string) –

Return type:



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.