1

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

Eugene
  • 11
  • 1

2 Answers2

3

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.

Flimzy
  • 2,454
  • 18
  • 26
1

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 DynDNS.com and use a dynamic DNS client on one of your hosts to update your DNS when your dynamic ip address changes.

joeqwerty
  • 109,901
  • 6
  • 81
  • 172
  • This. afraid.org 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