Ethernet

dnsServerIP()

Ethernet.dnsServerIP, dnsServerIP

Ethernet.dnsServerIP() retrieves the IP address of the DNS server that resolves DNS requests for the device's network connection. This will often be 0.0.0.0.