title: Get DNS server IP address and Search Domain from iOS
body: <p>How can I get the <strong>DNS</strong> server IP address and the <strong>Search Domain</strong> from the WiFi connection shown in the picture below in objective-c or swift.</p>
  
  <p><img src="https://i.stack.imgur.com/DrtmE.png" alt="WiFi Connection information"></p>