[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference lassie::ucx

Title:DEC TCP/IP Services for OpenVMS
Notice:Note 2-SSB Kits, 3-FT Kits, 4-Patch Info, 7-QAR System
Moderator:ucxaxp.ucx.lkg.dec.com::TIBBERT
Created:Thu Nov 17 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5568
Total number of notes:21492

5319.0. "how does nslookup do this?" by UTRTSC::KNOPPERS (Oswald Knoppers) Fri Mar 07 1997 09:15

Hi,

My customer uses bind in combination with TXT records. With ucx$nslookup
you can the do:

> set q=txt
> hostname

And it will return something like:

vosi09.uto.dec.com      This is the txt record

Is it possible to get the same info using a qio or socket call?

Regards,

Oswald
T.RTitleUserPersonal
Name
DateLines
5319.1UTRTSC::KNOPPERSOswald KnoppersMon Mar 10 1997 05:156
Anybody know how this can be done? Or does anybody have (a pointer to)
sources of nslookup?

Thanks,

Oswald
5319.2twick.nio.dec.com::PETTENGILLmulpFri Mar 14 1997 02:526
Get the source to nslookup and steal the code from it.  To find the sources,
use Altavista.  Search for nslookup and faq, and I bet you find an FAQ that
lists the location of sources related to dns.

Alternatively, pick up the oreilly book on bind/dns which describes how
this works and includes pointers to various dns tool sources.