ihome.nas: disable ipv6 on avahi to try to mitigate intermittent problems

This commit is contained in:
Franzi 2025-01-05 10:46:51 +01:00
parent d27c42d51a
commit f67de1ea1b
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 8 additions and 2 deletions

View file

@ -1,7 +1,7 @@
[server]
host-name=${node.name.split('.')[-1]}
use-ipv4=yes
use-ipv6=yes
use-ipv6=${'yes' if node.metadata.get('avahi-daemon/use-ipv6') else 'no'}
allow-interfaces=${','.join(sorted(node.metadata.get('interfaces', {}).keys()))}
ratelimit-interval-usec=1000000
ratelimit-burst=1000
@ -14,7 +14,7 @@ disable-publishing=no
disable-user-service-publishing=no
publish-hinfo=yes
publish-workstation=no
publish-aaaa-on-ipv4=yes
publish-aaaa-on-ipv4=no
publish-a-on-ipv6=no
[reflector]

View file

@ -5,4 +5,7 @@ defaults = {
'libnss-mdns': {},
},
},
'avahi-daemon': {
'use-ipv6': True,
}
}

View file

@ -56,6 +56,9 @@ nodes['home.nas'] = {
# systemctl start yate
},
},
'avahi-daemon': {
'use-ipv6': False, # because having a dynamic address confuses the network somehow
},
'backups': {
'paths': {
'/storage/nas/Audiobooks',