Register a DAG IP (ipconfig /registerdns for DAG’S)

I ran into an issue recently where I needed to register the IP of a DAG. I discovered this wasn’t well documented and it took a while to figure out how to get it registered.

 

I first tried running ipconfig /registerdns on the primary active manager. To find the primary active manager you must run

 

get-databaseavailabilitygroup <name> -status | select name,primaryactivemanager

 

But that did not work. What does work is running,

cluster . res "Cluster Name" /registerdns

on any of the cluster nodes.

 

Also note:

The DAG will attempt to register on its own at some random time within 2 hours of midnight.

 

Hope it helps.

dw

3 thoughts on “Register a DAG IP (ipconfig /registerdns for DAG’S)

  1. I do agree with all of the ideas you have presented to your post.
    They are very convincing and can certainly work. Still, the posts
    are too quick for starters. May you please prolong them
    a little from subsequent time? Thanks for the post.

  2. Good post. I learn something totally new and challenging on blogs I stumbleupon on a daily basis.

    It’s always helpful to read articles from other writers and
    practice something from other sites.

Leave a reply to click here phen Cancel reply