<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.hostway.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Domains-domainName-nameservers%3APUT</id>
		<title>Domains-domainName-nameservers:PUT - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Domains-domainName-nameservers%3APUT"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Domains-domainName-nameservers:PUT&amp;action=history"/>
		<updated>2026-05-16T08:33:51Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Domains-domainName-nameservers:PUT&amp;diff=975&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 87</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Domains-domainName-nameservers:PUT&amp;diff=975&amp;oldid=prev"/>
				<updated>2013-11-15T21:22:02Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 87&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:22, 15 November 2013&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Domains-domainName-nameservers:PUT&amp;diff=974&amp;oldid=prev</id>
		<title>Venzi.iliev: /* Request */</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Domains-domainName-nameservers:PUT&amp;diff=974&amp;oldid=prev"/>
				<updated>2013-03-28T16:16:20Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Request&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= PUT /domains/''{domainName}''/nameservers =&lt;br /&gt;
Set (overwrite) the name servers used to serve the Domain Name System (DNS) records for the domain. Name servers are a set of 0 to 13 distinct hostnames that may be assigned to a domain. Once the name servers are modified using this command, the changes are sent immediately to the registry. However these changes may take several hours to propagate depending on the individual zone files and possible registry zone file publication delays.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;PUT /domains/''{domainName}''/nameservers&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
{{DomainName}}&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
=== Request Body ===&lt;br /&gt;
;Name server array&lt;br /&gt;
:An array (list) of name server host names. Name servers are assigned in the order listed. &lt;br /&gt;
:: Example: [&amp;quot;a.dns.hostway.net&amp;quot;,&amp;quot;b.dns.hostway.net&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
;204 OK (No Content)&lt;br /&gt;
: Domain nameservers successfully updated&lt;br /&gt;
&lt;br /&gt;
;400 Bad Request&lt;br /&gt;
: The domain name, or one of the given hostnames is not valid or is not a registered name server at the registry. &lt;br /&gt;
: The request was not completed even if one or more of the name servers is considered valid.&lt;br /&gt;
&lt;br /&gt;
;403 Forbidden&lt;br /&gt;
: Domain is not registered in this account and cannot be accessed.&lt;br /&gt;
&lt;br /&gt;
;404 Not Found&lt;br /&gt;
: No domain records found for the given domain name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
;None&lt;br /&gt;
&lt;br /&gt;
== Example updating nameservers on a domain. ==&lt;br /&gt;
'''Request'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
PUT /domains/example.com/nameservers&lt;br /&gt;
&lt;br /&gt;
[&amp;quot;ns0.example.com&amp;quot;,&amp;quot;ns1.example.com&amp;quot;,&amp;quot;ns2.example.com&amp;quot;,&amp;quot;ns3.example.com&amp;quot;,&amp;quot;ns4.example.com&amp;quot;,&amp;quot;ns5.example.com&amp;quot;,&amp;quot;ns6.example.com&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
204 No Content&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example updating nameservers using one or more name server that is not registered. ==&lt;br /&gt;
'''Request'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
PUT /domains/example.com/nameservers&lt;br /&gt;
&lt;br /&gt;
[&amp;quot;not-registered.example.com&amp;quot;,&amp;quot;ns1.example.com&amp;quot;,&amp;quot;ns2.example.com&amp;quot;,&amp;quot;ns3.example.com&amp;quot;,&amp;quot;ns4.example.com&amp;quot;,&amp;quot;ns5.example.com&amp;quot;,&amp;quot;ns6.example.com&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
400 Bad Request&lt;br /&gt;
&lt;br /&gt;
&amp;quot;not-registered.example.com&amp;quot; is not a registered name server and cannot be used to update the domain.&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Domain Name Registration|Domain Name Registration API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Domain Name Registration API]]&lt;/div&gt;</summary>
		<author><name>Venzi.iliev</name></author>	</entry>

	</feed>