> Thanks, this finally looks like what I need.

it won't work. something like the code i posted is needed.
for ptr resolution, /net/dns requires the numeric ip address, reversed,
with ".in-addr.arpa" appended. also, the address read back
from /net/dns is not the straight domain name (but you'll find
that out soon enough).

documentation on /net/dns is not great.
if one knew more about DNS, maybe the .in-addr.arpa thing
would be obvious...

Reply via email to