Which API is used to query address information from the Name Service Switch (NSS) resolver?

Which API is used to query address information from the Name Service Switch (NSS) resolver?Category: Introduction to Linux IIWhich API is used to query address information from the Name Service Switch (NSS) resolver?
Linux Questions Staff asked 1 year ago

Which API is used to query address information from the Name Service Switch (NSS) resolver?

  • getaddrinfo()
  • getaddrent()
  • getaddrfields()
  • gethostinfo()

About the author