Using nsupdate to change NS servers

You have an old DNS server:

You have a new DNS server:

You have a domain,, for which you want to swap the old DNS server with the new DNS using nsupdate.

NOTE: the domain is

The NS servers are in (different domains).

These are the commands you issue:

update delete      IN NS
update add 3600 IN NS

Of note, you mention the domain first, the NS server second.

This took me a while to figure out tonight.

You will also want to update the records with your domain registrar.

Website Pin Facebook Twitter Myspace Friendfeed Technorati Digg Google StumbleUpon Premium Responsive

3 thoughts on “Using nsupdate to change NS servers”

    1. Reading over my article, I see it’s short and terse. That’s usually because I was so pissed off at how difficult it was to discover the solution that I wanted to blog about it. RIGHT NOW.

      Some stuff is so cryptic. Practical examples are always appropriate.

      Just SHOW ME ONE example to get me going with this, then I can adopt it to what I need.

      Thank you for coming to to my TED talk.

Leave a Comment

Scroll to Top