Problems with _res structure
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Fri Sep 7 01:26:33 UTC 2001
>
> Hello all,
>
> I am trying to write a DNS application using libbind.dll on the Windows2000
> platform (BIND8.x). I can query the DNS server for records using the
> res_query function. But when I try to delete a record, my application
> crashes. Here is the sequence:
>
> 1) Call res_init()
> 2) Call res_query() to find the record I want to delete. Succeeds.
> 3) Before calling res_mkupdate() and res_send(), I try to set the options
> (turn off search algorithm and default domains) using the following line:
> _res.options &= ~(RES_DNSRCH | RES_DEFNAMES);
> 4) Crashes with Access Violation error.
>
> Any help is appreciated.
>
> Thanks
>
> Gopal
>
The problem could be anything. Without seeing the exact code
used it's impossible to tell what is going wrong.
Note: saying 8.x also really doesn't help as we don't know
which version of the library you are trying to work with.
Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at isc.org
More information about the bind-users
mailing list