DNS issue with installation

Hi, I have a running home assistant on rpi4 working fine with the following network settings:

right now I’m trying to setup a new rpi4 with home assistant in the same network, using the following network details, however I get a DNS error during the first installation but the network details are identical (except for IP address) to those of the other (working) hassio.


[connection]
id=my-network
uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3
type=802-11-wireless

[802-11-wireless]
mode=infrastructure
ssid=SSID
# Uncomment below if your SSID is not broadcasted
#hidden=true

[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=PASSWORD

[ipv4]
method=manual
address=192.168.1.16/24;192.168.1.1
dns=8.8.8.8;8.8.4.4;

[ipv6]
addr-gen-mode=stable-privacy
method=disabled

How is it possibile that the old rpi4 works fine and I cannot install new one with pretty much same DNS and other details? Any ide what I could try to edit in the network config file?

thanks

Are you sure it is a DNS error and not a mDNS error?
If you did not rename one of your servers in the network settings, then they might have the same name.

hi, thanks. sorry never heard of mDNS. How would I rename it?

In HAOS it is Settings → System → Network → Top field
If you are using another installation type, then it might be in the hostOS.