Hi,
I am trying to set two dynamic nameserver IP addresses in my QNX system. I have been able to use confstr to set up an address by setting a "_nameserver=xxx.xxx.xxx.xxx" string into _CS_RESOLVE. Then res_search returns the correct IP address for a given name. I actually have two questions:
How do I set up two nameservers (primary and secondary) using setconf?
If the nameserver IP addresses change, can I just call setconf again to change them while my application is running?
Thanks,
Randy