On an ethical level this is closer to typo-squatting, something that there are rules against.
Why not? I'm being earnest here, I'm a name.com customer and I do have such a wildcard record. Are you building a network service that relies on nonexistent subdomains being resolved at the DNS level (rather than a 404 page or a redirect to a subdomain that does exist)? Or is it more of a philosophical thing?
2. I'm in the process of setting up a self-assembling system that will need to be environment aware (public, staging, dev). If I redirect everything to a single A record I actually have to perform logic on my end. A failed request will instead mean to simply move to the next in the list. (Or that is how I am scheming for it to work anyway, not being built yet I don't know how it will turn out.)
if ($host !~ "^(example.com|beta.example.com|valid.example)$") {
rewrite ^/(.*)$ http://example.com/$1 permanent;
}
http://www.example.com/aboutor
http://fuckshit.example.com/about
becomes
This is good practice in any case, so that you're always serving up the canonical URL.
For example, my wife's website is jesleephotos.com. The subdomains store and www (along with some others that I don't wish to advertise :) go to the correct destination. The subdomain stuff, x, random, mail, etc all go to parked domain.
I might end up adding an A record for *.jesleephotos.com as a catchall and point it to some IP address I can get that will forward everything to www.
Downvotes? For a suggestion that will save this person time and money since they seem to think they need more resources to redirect requests which is inferior and will length time from request to content anyway?
The voting on HN is just crap lately. This is third time in as many days that I've been downvoted for accurate technical information. I'm frankly growing weary of it.
I'm far more bothered by the huge variance in pricing from one registrar to another for the same domain.
Correct me if I'm wrong, but I thought this practice was pretty standard across the industry. The "unscrupulous" registrar tactics that I'm more concerned about are registrars that take domains when they sense demand (such as from searching or whois lookups) and hold it from you until you pay a premium. I've never had this issue with name.com and have found it very easy to transfer domains with them as well.