Hi,
Just migrated my Proxmox stuff to TrueNAS Scale and really satisfied. Last challenge I ran into was that my Home Assistant using ESPHome was unable to resolve .local hosts to their IP addresses. This is for example used by the ESPHome plugin if you don't want to assign all fixed IP to your devices.
After some digging I found that also in TrueNAS shell I was unable to ping xxxx.local and the cause was found in the /etc/nsswitch.conf file which did not contain an mdns entry in the hosts: section.
This is what my /etc/nsswitch.conf looked like:
I changed the hosts: line to:
And all is working great now.
Kind regards, Roger.
Just migrated my Proxmox stuff to TrueNAS Scale and really satisfied. Last challenge I ran into was that my Home Assistant using ESPHome was unable to resolve .local hosts to their IP addresses. This is for example used by the ESPHome plugin if you don't want to assign all fixed IP to your devices.
After some digging I found that also in TrueNAS shell I was unable to ping xxxx.local and the cause was found in the /etc/nsswitch.conf file which did not contain an mdns entry in the hosts: section.
This is what my /etc/nsswitch.conf looked like:
Code:
# # nsswitch.conf(5) - name service switch configuration file # group: files winbind ldap hosts: files dns mymachines networks: files passwd: files winbind ldap shells: files services: files protocols: files rpc: files sudoers: files
I changed the hosts: line to:
Code:
hosts: files dns mymachines mdns4_minimal [NOTFOUND=return]
And all is working great now.
Kind regards, Roger.