about the resolver API
srinivasu v v s
srinivvs at future.futsoft.com
Tue Apr 11 13:07:11 UTC 2000
hi all,
My doubt is regarding the DNS resolver API.
If _res_state structure is initialised with proper values in the application
program and gethostbyname() is called, will it consider the initialised
values.(when resolv.h is included)
I have tried in versions like 8.1 and 8.2.2. It is showing different
results like in 8.1 they are not considered and in 8.2.2 they are considered.
Till now i was thinking that only "_res_state.options" field can be set by
the user (as described in man page of res_init()) and the _res_state
structure values are used only by the res_search() like APIs.
But even gethostbyname() API is also responding for the values in some of the
versions.AM I right?
Please any one explain or direct me for exact POSIX standard regarding
the resolver API.
thanx in advance,
Srini
More information about the bind-users
mailing list