WiFi

dnsServerIP()

WiFi.dnsServerIP, dnsServerIP

WiFi.dnsServerIP() retrieves the IP address of the DNS server that resolves DNS requests for the device's network connection.

Note that for this value to be available requires calling Particle.process() after Wi-Fi has connected.