Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jiggy2011
· 13y ago · 0 comments
To fix that, you can do a DNS lookup and check the domain has a valid MX record.
Comments
[–]
robomartin
13y ago
Just be careful when you do this. If you don't use an absolute FQDN you can trigger severe delay in getting a response from the resolver. It can take twenty or thirty seconds (or more) to get a response.
[–]
guillaumepotier
13y ago
At some point if you want to be absolutely sure, you'll have to send a validation link / email and not doing it frontend in JavaScript ;)
[–]
iambibhas
13y ago
HTTP calls for client side validation? That's a great idea!
[–]
optymizer
13y ago
"This username has already been taken."