Re: DNS Client

Joseph S. Barrera III (joe@barrera.org)
Thu, 31 Dec 1998 00:46:52 -0800


>I found lots of programs to let you do look ups from a command line. Bu I
>need an interface I can call from my program to retrieve svr and possibly
>naptr records. Is my only hope to dig through bind (never touched it
>before) and try to extract the code that does look ups?

You might also check out http://www.fuhr.net/users/mfuhr/perldns/ (which I
found via http://www.acmebw.com/askmrdns/00246.htm)

I don't know Perl (shame on me) but the naptr.pm module is only 112 lines
(not counting the appended man page) so with a little work you ought to be
able to glean something useful from it even if you (also) don't know Perl.

Best wishes,

- Joe