
I use a quick search tool at my registrar, rebel.com. For any given string of characters, it will instantly check its availability in many, many TLDs - generic ones and country ones being sold as generics - and provide availability and pricing. (including when a TLD marks a string as "premium" so the registry can earn the speculation bonus instead of a reseller) It just checks whether the domains are taken, not whether or how they're in use. I know it's not CLI; you may get better results using `dig` than `ping` or `whois` if going that route. - Evan On Thu, Jul 25, 2024 at 4:05 PM David Mason via talk <talk@gtalug.org> wrote:
grep 'ca$' /usr/share/dict/words|tr '[A-Z]' '[a-z]'|sort -u|sed 's/ca$/.ca/'|while read x;do ping -c1 $x >/dev/null 2>&1 || echo $x;done
but ping isn't very good at seeing if something is registered... and `whois` doesn't seem to have an error code.
Any suggestions on a CLI way to check if a domain is registered?
../Dave