Problem with name resolution

Hi there,

i have a problem with name resolution for esphome devices.

Error message:
Error resolving IP address: [Errno -2] Name or service not known

yaml for wifi looks like this:

wifi:
ssid: “myAwesomeWifi”
password: “TopSecretPassword”
domain: .fritz.box

The device is online in esphome. But esphome gives me this error message. The host itself can resolve the ipaddress using mydevice.fritz.box.

Any idea whats going wrong here?

mdns error?

what do you have the esp’s dns server set to?

DNS Server for all nodes is the fritz box

What address is it failing on?