> this didn't work?

It doesn't seem to be working.

> err =
>
NetLibSettingSet(AppNetRefnum,netSettingSecondaryDNS,&(yourDNS2NumberHere)
,s
> izeof(DWord));

But just in case I missed something, here is my procedure:

Connect to ISP with good DNS servers listed.
Use ping program to do a lookup.  Ping/resolve works.
Run simple app that uses NetLibSettingSet to change primary and secondary
DNS servers to 0.0.0.1.
Use ping program to do a lookup on a different name (in case it was cached
from the previous lookup).  Ping/resolve still works.
Run another simple app that uses NetLibSettingGet to retrieve primary and
secondary DNS servers.  Verified that they are still set to 0.0.0.1.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to