Is there a way (API) to get list of nameservers on Linux except of well known res_(n)init?
options:
- use of .nscount and .nsaddr_list[] after res_(n)init() call
- parsing resolv.conf on your own
- ???
trying to find a more-less portable way to get NSes
Is there a way (API) to get list of nameservers on Linux except of well known res_(n)init?
options:
trying to find a more-less portable way to get NSes
Copyright © 2021 Jogjafile Inc.