title: ANSI C How to get name server (DNS) address in linux?
body: <p>I want to use in my code local DNS addresses and am looking for a library that would produce it. Is there anything like it or do I have to parse /etc/resolv.conf myself?</p>
  
  <p>Thanks</p>