Avahi colisão de nome local

2

Eu defini uma sub-rede no meu servidor, usando aliases de IP para uma única placa ethernet. Hoje, após uma reinicialização, o daemon avahi não está mais resolvendo nomes de host.

Os hosts definidos em / etc / avahi / hosts:

172.17.0.10 loki.local
172.17.0.11 thor.local
172.17.0.12 odin.local
172.17.0.13 brunhild.local
172.17.0.14 heimdall.local
172.17.0.15 baldr.local
172.17.0.16 freyja.local
172.17.0.17 tyr.local

e o daemon.log depois do avahi é reiniciado:

Feb  2 16:42:56 siegfried systemd[1]: Started Avahi mDNS/DNS-SD Stack.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Successfully called chroot().
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Successfully dropped remaining capabilities.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: No service file found in /etc/avahi/services.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Loading new static hostname loki.local.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Loading new static hostname thor.local.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Loading new static hostname odin.local.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Loading new static hostname brunhild.local.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Loading new static hostname heimdall.local.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Loading new static hostname baldr.local.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Loading new static hostname freyja.local.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Loading new static hostname tyr.local.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Joining mDNS multicast group on interface vethbccab72.IPv6 with address fe80::d02a:f0ff:fe76:3d26.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: New relevant interface vethbccab72.IPv6 for mDNS.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Joining mDNS multicast group on interface docker0.IPv6 with address fe80::42:36ff:feb5:43ba.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: New relevant interface docker0.IPv6 for mDNS.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Joining mDNS multicast group on interface docker0.IPv4 with address 172.18.0.1.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: New relevant interface docker0.IPv4 for mDNS.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Joining mDNS multicast group on interface eno1.IPv6 with address fe80::3617:ebff:feeb:cbd6.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: New relevant interface eno1.IPv6 for mDNS.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Joining mDNS multicast group on interface eno1.IPv4 with address 172.17.0.18.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: New relevant interface eno1.IPv4 for mDNS.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Network interface enumeration completed.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for fe80::d02a:f0ff:fe76:3d26 on vethbccab72.*.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for fe80::42:36ff:feb5:43ba on docker0.*.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for 172.18.0.1 on docker0.IPv4.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for fe80::3617:ebff:feeb:cbd6 on eno1.*.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for 172.17.0.18 on eno1.IPv4.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for 172.17.0.17 on eno1.IPv4.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for 172.17.0.16 on eno1.IPv4.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for 172.17.0.15 on eno1.IPv4.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for 172.17.0.14 on eno1.IPv4.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for 172.17.0.13 on eno1.IPv4.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for 172.17.0.12 on eno1.IPv4.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for 172.17.0.11 on eno1.IPv4.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for 172.17.0.10 on eno1.IPv4.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for 172.17.0.9 on eno1.IPv4.
Feb  2 16:42:56 siegfried avahi-daemon[6922]: Registering new address record for 10.0.10.9 on eno1.IPv4.
Feb  2 16:42:57 siegfried avahi-daemon[6922]: Server startup complete. Host name is siegfried.local. Local service cookie is 2939514779.
Feb  2 16:42:57 siegfried avahi-daemon[6922]: Static host name tyr.local: avahi_server_add_address failure: Local name collision
Feb  2 16:42:57 siegfried avahi-daemon[6922]: Static host name freyja.local: avahi_server_add_address failure: Local name collision
Feb  2 16:42:57 siegfried avahi-daemon[6922]: Static host name baldr.local: avahi_server_add_address failure: Local name collision
Feb  2 16:42:57 siegfried avahi-daemon[6922]: Static host name heimdall.local: avahi_server_add_address failure: Local name collision
Feb  2 16:42:57 siegfried avahi-daemon[6922]: Static host name brunhild.local: avahi_server_add_address failure: Local name collision
Feb  2 16:42:57 siegfried avahi-daemon[6922]: Static host name odin.local: avahi_server_add_address failure: Local name collision
Feb  2 16:42:57 siegfried avahi-daemon[6922]: Static host name thor.local: avahi_server_add_address failure: Local name collision
Feb  2 16:42:57 siegfried avahi-daemon[6922]: Static host name loki.local: avahi_server_add_address failure: Local name collision

Então, parece que o avahi está iniciando Ok e removendo os hosts depois. Ele também carrega muitas interfaces das quais não preciso (IPv6 e a rede docker bridge), mas não sei se isso é parte do problema e como desativá-las.

Estava tudo bem antes da última reinicialização (havia apenas dois hosts, loki e thor), e a única grande mudança é que instalei o vsftpd na máquina host.

    
por G B 03.02.2016 / 08:25

0 respostas