On Tue, 18 Apr 2006, Dimitri E. Prado wrote:

I just started using Sofia and I can't get dns resolutiomn to work under
windows. Turning debug on I see that sresolv keeps trying to query my localhost
for dns answers. A quick glance at the code , shows a possible culprit, as

Yeps, this is a known issue:

http://sourceforge.net/tracker/index.php?func=detail&aid=1445560&group_id=143636&atid=756076

Shortly put, Sofia uses its own async DNS resolver instead the system
resolver, and we need to find out the system DNS server addresses on startup. On UNIX systems, this information can be read from /etc/resolv.conf, but and now we need something similar for win32.

I guess the options are:

1) have users create a resolv.conf file for win32 --> define a good
   default location instead of /etc/resolv.conf to use on win32

2) use some win32 API functions (windns.h:DnsQueryConfig() maybe?) to
   query the server addresses on startup

3) fetch the information from win32 registry

... anyways, help to get this working would be appreciated.

--
 under work: Sofia-SIP at http://sofia-sip.sf.net


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to