News for hackers. Stuff that matters.
Re:GoDaddy fires employee for bidding in domain name auctions by indigodaddy on Friday March 29, 2019 @06:30PM (#19526193)
How are you constructing your dig? Is a null dig result always an indication of an unregistered domain?
Re:GoDaddy fires employee for bidding in domain name auctions by Canada on Saturday March 30, 2019 @08:51AM (#19529158)
Usually something like this:

cat /tmp/wants.txt | while read d; do echo -n $d:; dig $d in ns | grep '>>HEADER<<' | awk '{print $6}'; done

You get NXDOMAIN if it doesn't exist. That doesn't necessarily mean you can register it though. Maybe it's expired but in the grace period, or some other kind of exits-but-disabled state. If it does exist it might be for sale. Anyway, for quickly checking what's probably unregistered from the shell this one liner works great. A whois query usually takes about a second. Dig takes about a tenth of a second, and DNS queries aren't rate limited like WHOIS.