Hi,
For quite a while I had my local domain set to .local. Recently, I learned that this is a bad choice, so I changed it to .lan. Since then, some of my devices are no longer reachable using hostname.local. For example, homeassistant.local:8123 no longer works, but bot homeassistant.lan:8123 and homeassistant:8123 work. The home assistant has two NICs, one is in the lan vlan the other is in the iot vlan. If I connect another device to either of those vlans and try to reach homeassistant.local neither of them works.
If I run ubus call umdns hosts I get a lot of these entries and they keep piling up with increasing numbers:
"homeassistant71246.local": {
"ipv6": "fe80::6f9b:c0a:c46e:3470"
},
"homeassistant71254.local": {
"ipv4": "192.168.30.10",
"ipv6": "fe80::6f9b:c0a:c46e:3470"
},
"homeassistant71260.local": {
"ipv4": "192.168.0.60"
},
"homeassistant71266.local": {
"ipv4": "192.168.30.10",
"ipv6": "fe80::6f9b:c0a:c46e:3470"
},
"homeassistant71275.local": {
"ipv4": "192.168.30.10"
},
I don't think that's healthy. How do I get this fixed? Other machines such as openmediavault work fine.
"openmediavault.local": {
"ipv4": "192.168.0.51"
}
Current config:
/etc/config/umdns:
config umdns
option jail 1
list network lan
list network IoT
/etc/avahi/avahi-daemon.conf
[server]
#host-name=foo
#domain-name=local
use-ipv4=yes
use-ipv6=yes
check-response-ttl=no
use-iff-running=no
[publish]
publish-addresses=yes
publish-hinfo=yes
publish-workstation=no
publish-domain=yes
#publish-dns-servers=192.168.1.1
#publish-resolv-conf-dns-servers=yes
[reflector]
enable-reflector=yes
reflect-ipv=no
[rlimits]
#rlimit-as=
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=30
rlimit-stack=4194304
rlimit-nproc=3