Is there a way to query a host for its name directly instead of calling on DNS?
I am aware of gethostbyaddr(), but I much rather be able to ask a host directly for its name - for as long as it knows it has one.