Python CreateOrder - Nameserver_Update

Replaces the nameserver with a new handle. There are 2 ways to submit the new Nameserver:

  • Submit a Handle-ID. The handle linked to the domain will be replaced
  • Submit new data. A new handle will be created. The handle linked to the domain will be replaced

With the Nameserver Update, it is possible to change Tech Contact, DnsSec and Nameservers in one request.

For .com, .net and some other TLDs glue records are needed. Please contact support for help.

Response CreateOrder(string sessionId,Order order)

Response codes

ResultCodeMessageValue
200Order validated
200Order received
400Order not validatedMessages
401Authorization failed
405Access denied

CreateOrder Request

PropertyDescription
sessionIdExample: o58t9fjgw9bjarp6q7byv13e
order

CreateOrderResponse

Property
CreateOrderResult
order
PropertyValue
OrderTypeNameserver_Update

Python example

import zeep
import base64

wsdl = "https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl"
client = zeep.Client(wsdl=wsdl,strict=False)


#NameServer
nameServer1 =  {
	"HostName" : "ns1.ascio.net"
}

#NameServer
nameServer2 =  {
	"HostName" : "ns2.ascio.net"
}

#NameServers
nameServers =  {
	"NameServer1" : nameServer1,
	"NameServer2" : nameServer2
}

#Domain
domain =  {
	"DomainName" : "test-domain.com",
	"NameServers" : nameServers
}

#Order
order =  {
	"Type" : "Nameserver_Update",
	"Domain" : domain
}
result = client.service.CreateOrder(sessionId = "sessionId", order = order)
print(result)
WSDL for AWS v2
https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl (OTE)
https://aws.ascio.com/2012/01/01/AscioService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.