Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jodrellblank
· 14y ago · 0 comments
Not at all cleaner. Don't test DNS resolution if you want to know about HTTP access, they are different and many networks or firewalls will allow DNS but require a login for HTTP.
Comments
[–]
undantag
14y ago
You really should test both, HTTP can't be trusted if DNS has been compromised.