Skip to content

Comment on Show HN: Dogebark.sh - Get notified when DNS propogates

Comments

Fill out the form to get code you can run in your terminal without verifying its security.

Great advice. I hope this is supposed to be a joke? Other than that, why not make it a shellscript where you can give it the paramters using arguments?

And last but not least I think just checking the TTL of the DNS record and then sleeping for that amount of time would be more elegant.

    sleep $(dig google.com | grep -A1 "ANSWER SECTION" | tail -n1 | awk '{ print $2 }'); echo -ne '\007' # or bark.sh
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.