Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

For example, I'll buy domain name at I'll configure it with 2 A records with IPs and
Is it possible to ping it for availability and change A records dynamically by some script?

share|improve this question
As far as I know, GoDaddy does not have an API that will let you change DNS-settings via a script. What are you trying to accomplish with this? – Bart De Vos Jun 22 '11 at 9:30
I'm trying to cover some sever fails at least partly – Eugene Jun 22 '11 at 10:35

2 Answers 2

There are ways to do dynamic updates with BIND. But they are server-specific, and must be enabled and configured on the server.

You really need to be asking Godaddy what they support in this area.

Also note that dynamic DNS is a very poor way to do failover, as to be effective, it requires setting a very short TTL, which ends up wasting lots of bandwidth, and is generally annoying.

share|improve this answer

by the sound of it, you have a dynamically assigned ip address from your ISP. You may want to move your DNS to an entity such as and use a dynamic DNS client on one of your hosts to update your DNS when your dynamic ip address changes.

share|improve this answer
This. is also a nice alternative. You can also create a CNAME record for your domain with GoDaddy and have it point to the DNS service so that it's always pointing to the right IP – uzzi09 Jun 22 '11 at 23:48

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.