David Schwartz wrote:
> "zoltan" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) oups.com...
>
> > I was wondering if DNS support ( for queries such as NAPTR, SRV and
> > A records ) was available in any version of Linux. Specifically, for
> > example, there is a query called "res_nmkquery" supported in Solaris .
> > However, there is no such entry in Linux! I needed to check some
> > project code at home, but I don't have Solaris installed. Currently I
> > have Asianux Linux installed at home. Can any one please enlighten it
> > and if there are any alternatives to installing Solaris for the mere
> > purpose of using DNS???
>
> You should have res_nmkquery. On my linux box:
>
> $ grep res_nmkq /usr/include/*.h
> /usr/include/resolv.h:#define res_nmkquery __res_nmkquery
> /usr/include/resolv.h:int res_nmkquery (res_state, int, const
> char *, int, int,
Hi David,
Thanks so much for that help. Yes, it works on my system too! I
just didn't know that it was named "res_mkquery" in Linux! I think I
should be able to take it from here.
Regards,
Timmy Jose.
>
> $ nm /usr/lib/libresolv.a | grep res_nmkq
> U __res_nmkquery
> 00000000 T __res_nmkquery
> U __res_nmkquery
>
> DS
|