On Tue, Jul 26, 2011 at 10:27 AM, Michael R <[email protected]> wrote:

>
>
>
> wes wrote:
> > I have a customer that is waiting on a DNS update
> for his site to start
> > working. He's bugging my guys constantly, so I
> promised him we'd call him
> > the moment it "works."
> Currently, I'm checking his DNS server every few
> > minutes manually.
> If I could automate this to alert me when it's updated, we
> > could
> make the call and be done.
> >
> > It was also worth the email
> because I'd like to be able to do this on a
> > broader scale - I'm
> curious about how often some public DNS servers update.
> > I could
> submit a change and time how long it takes each server I'm curious
> >
> about to return the new data. I'm particularly interested in the difference
> > in response time between 4.2.2.2 and 8.8.8.8.
>
> You could wrap
> dig output in a script watching for your expected value and trigger an
> email
> from there.
>
> --
>     Michael Rasmussen
>
>
scripting something is the backup plan. I just wanted to see if such a wheel
already existed before I go inventing my own :)

also, dig appears to return status code 0 no matter what, so I'd have to
script on some other util. "host" is my favorite in general.

-wes
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to