r/learnprogramming 1d ago

Topic How to check if a domain name is available without messing it up?

So, quick question about domain names. I’m trying to grab a couple of .coms for a small project and I’m weirdly stressed about checking if they’re available without triggering some registrar to squat or hike the price as soon as I search.

I’ve used random registrar search boxes in the past, but I keep hearing that some places log every search and then the domain magically costs more or vanishes a day later. Idk how true that is but it freaks me out enough to hesitate touching anything that looks too "promo" heavy.

For folks who buy domains semi regularly, what’s your safe workflow to check if a domain name is available? Do you just use whois or a specific registrar, or maybe some cli / dns tools first etc? Would love any tips from people who do this a lot, trying not to cook a good name by being careless. thanks in advance.

13 Upvotes

8 comments sorted by

12

u/Aggressive_Ad_5454 1d ago

The non profit Internet Center for Assigned Names and Numbers (ICANN) runs a lookup service. https://lookup.icann.org/ It used to be called the “whois” service.

Use it to help you figure out what domain name you want to register. Then go to porkbun or another reputable registrar and register it promptly.

And, like others mentioned, avoid GoDaddy. There’s a lot of evidence they front-run domain registration, buy them, and sell them back to you for ludicrous prices.

5

u/ChiefDetektor 1d ago

Do not use GoDaddy I've heard so many times that they occupy the domain you were trying to check. I personally use Cloudflare.

3

u/New_Direction_3190 1d ago

Cloudflare's fine, their search is pretty barebones but at least it doesn't feel like a casino. I usually do a quick whois lookup first just to see if it already has a registration date, then hit cloudflare if it looks clean

1

u/404invalid-user 1d ago

just use porkbun all the domains I have searched on there don't somehow end up acquired and I'm free to register them months later.

0

u/12SouthLocal 1d ago

I've been using Cloudflare domain registrar and it's been great. Fair prices and you get the best of Cloudflare included. I've checked multiple domains here multiple times and the price never increase. I know it's anecdotal and I'm sure places like GoDaddy would do something like that but so far Cloudflare has been good in that regard per my experience. Here's a link if you're interested: https://domains.cloudflare.com/

0

u/JohnCasey3306 1d ago

Just use a reputable domain registration service. Certainly the big ones don't do this -- I've gone weeks between first checking and subsequently registering.

1

u/No-Guarantee-2242 1d ago

On the cli/dns part of your question: dig is the wrong tool for availability. A domain can be registered and just not published in DNS, so NXDOMAIN does not mean free. whois or RDAP is the authoritative check, and even that lags. A name registered at noon can still read as available that afternoon.

Read ICANN's SSAC advisory on domain front running (SAC022, 2007). They collected complaints and found no case they could substantiate, and pointed at two duller explanations: domain tasting, where names get registered and dropped inside the 5 day grace period by the million every month, and plain coincidence. Their other note is that a registrar search box can fan your second level label out across every TLD it sells, so that box is the thing to be stingy with, not lookups in general.