Find & Print DNS obtained by DHCP ??

Hello.
I have set up a Wemos D1 Mini to connect to Wifi by DHCP.
Everything works fine, and I can print all the IP parameters
by using :

Serial.print(WiFi.macAddress());
Serial.print(WiFI.localIP());
Serial.print(WiFi.subnetMask());
Serial.print(WiFi.gateway.IP());

But how do I print the DNS-address ??

I cant find a function for this ???

/Kind regards : Gurra

google got me this

Serial.print("DNS #1, #2 IP: ");
WiFi.dnsIP().printTo(Serial);
Serial.print(", ");
WiFi.dnsIP(1).printTo(Serial);
Serial.println();

more on

https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/station-class.html#dnsip