0

We have a DNS alias set up for an SQL database server.

We will be upgrading the SQL server to a new machine, and the machine name will be different. DNS alias will be updated with the new name on the Domain Controller.

Question: Do I need to do ipconfig /flushdns on each machine that uses the alias for them to pick up the change or will it be resolved automatically.

That alias is used in many connection strings on many machines.

Thank you.

myroslav
  • 103
  • 2

1 Answers1

1

Assuming the DNS clients have the record in their DNS cache and you want them to resolve the new record immediately, then yes you would run ipconfig/flushdns on each client.

Two better alternatives to doing this are:

  1. Make the change after hours.

  2. Set the TTL to a low value (5 minutes) then wait for the TTL period after you make the change before running the application on the clients that need to resolve this DNS record.

joeqwerty
  • 109,901
  • 6
  • 81
  • 172