I checked the source, there are two methods for windows. Dnsjava checks if
the OS is a windows nt descendant, then calls ipconfig, otherwise (win 3.x?,
9x) it calls winipcfg. 2003 is not checked, so it Windows 2003 is handled as
a win 9x. Becase all future windows version will be nt descendant, it would
be better to do the opposite: explicitly check for old windows and the
default should be nt. But I don't know what are the 9.x and 3.x specific
strings.
----- Original Message -----
From: "Hontvari Jozsef" <hon...@so...>
To: <dns...@li...>
Sent: Saturday, January 31, 2004 10:29 PM
Subject: finding name server / Windows 2003
> Somehow dnsjava cannot find the local name server on a Windows 2003
machine.
> It is working well on other Windows os-s.
>
> If I use -Ddnsjava.options=verbose and do a lookup, it is shown that it
> sends the requests to 127.0.0.1:53. I know this is the fallback address.
The
> windows ipconfig command correctly displays two DNS servers.
>
> Any idea why it doesn't use the dns servers returned by ipconfig?
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> dnsjava-users mailing list
> dns...@li...
> https://lists.sourceforge.net/lists/listinfo/dnsjava-users
|