This is a discussion on Re: Specify DNS server address to query within the Bind Users forums, part of the DNS and Related Forums category; In article <c540md$25pu$1@sf1.isc.org>, eigenchen@yahoo.com (Eigen Chen) wrote: > Is there any ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
In article <c540md$25pu$1@sf1.isc.org>,
eigenchen@yahoo.com (Eigen Chen) wrote: > Is there any software that can allow application to specify DNS server > address while making a query ? for example, > > xxx_gethostbyname( hostname, dnsserveraddr ) > > many thanks, You can call res_init() before calling gethostbyname(), and any settings you configure should apply to it. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** |
![]() |
| Thread Tools | |
| Display Modes | |
|
|