Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
Why don't you just drop the TTL before the switch? – ceejayoz May 8 '13 at 16:30
up vote 1 down vote accepted

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.

share|improve this answer
Thank you for the quick answer. – myroslav May 8 '13 at 17:50
Glad to help... – joeqwerty May 8 '13 at 17:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.