Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
2  
Why don't you just drop the TTL before the switch? –  ceejayoz May 8 '13 at 16:30

1 Answer 1

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

 
discard

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.