On Sat, 19 Jun 1999 14:47:21 +0300 (EET DST),
era eriksson <era(_at_)iki(_dot_)fi> said:
E> I'd love for a portable method to get a host's FQDN.
For what it's worth, the qmail MTA (http://www.qmail.org) contains
several small DNS utilities, one of which is called "dnsfq". Pass in
the hostname, get the FQDN back on stdout. It's in C, so hopefully that
counts as portable.
--
Karl Vogel
ASC/YCOA, Wright-Patterson AFB, OH 45433, USA
vogelke(_at_)c17mis(_dot_)region2(_dot_)wpafb(_dot_)af(_dot_)mil or
kvogel(_at_)sumaria(_dot_)com