[Bug 1091645] Re: When ISP changes dynamic IP address avahi-daemon changes Zeroconf host name

Till Kamppeter 1091645 at bugs.launchpad.net
Wed Jun 11 07:06:18 UTC 2014


Problem still persists.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to avahi in Ubuntu.
https://bugs.launchpad.net/bugs/1091645

Title:
  When ISP changes dynamic IP address avahi-daemon changes Zeroconf host
  name

Status in “avahi” package in Ubuntu:
  Confirmed

Bug description:
  I have a home network with several Ubuntu and one Mac OS X machine.
  Internet access is via VDSL with dynamic IP addresses, amd the ISP
  changes the IP address every night, around 4am. ISP is Deutsche
  Telekom in Germany. On my Ubuntu (Quantal) machines, connecting to the
  network only via ethernet (wired, W-Fi connection turned off on the
  machines, due to bug 1083565) avahi-daemon sometimes switches the
  Zeroconf hostname from the originally given one (like "till-hp") to a
  name with an added number, (like "till-hp-2"). This happens on the
  nightly IP address change as the attached syslog shows. Problem is
  that on clients I cannot refer to the Zeroconf names as they can
  change on the next day. If I restart avahi-daemon during the day the
  Zeroconf name gets reset to the original.

  It is possible that bug 1083565 is this one in reality, but I am not
  absolutely sure.

  As BonJour replaces the IPP-based CUPS broadcasting for printer
  discovery from CUPS 1.6.x on, avahi must be made more reliable.

  Also Zeroconf as replacement for DNS on the local network, to avoid
  the need that home users have to register host names on the router,
  need a reliable Avahi in term of the Zeroconf host names.

  In the attached syslog, aroung 4:18am the following appears (machine
  set up with "till-hp" as host name):

  ----------
  Dec 17 04:09:41 till-hp avahi-daemon[822]: Registering new address record for 2002:5ddb:9586:0:7c4d:f18c:29e3:8b33 on eth0.*.
  Dec 17 04:09:42 till-hp NetworkManager[853]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv6 routing and DNS.
  Dec 17 04:09:43 till-hp avahi-daemon[822]: Withdrawing address record for 2002:5ddb:9586:0:e0b8:4178:444a:af6c on eth0.
  Dec 17 04:17:01 till-hp CRON[3993]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
  Dec 17 04:18:45 till-hp avahi-daemon[822]: Withdrawing address record for 2002:5ddb:9586:0:7c4d:f18c:29e3:8b33 on eth0.
  Dec 17 04:18:45 till-hp avahi-daemon[822]: Registering new address record for 2002:5ddb:9586:0:7c4d:f18c:29e3:8b33 on eth0.*.
  Dec 17 04:18:45 till-hp avahi-daemon[822]: Registering new address record for 2002:5ddb:9586:0:e0b8:4178:444a:af6c on eth0.*.
  Dec 17 04:18:45 till-hp avahi-daemon[822]: Registering new address record for fe80::20f:b0ff:fe6e:a460 on eth0.*.
  Dec 17 04:18:46 till-hp NetworkManager[853]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv6 routing and DNS.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Registering new address record for fd00::20f:b0ff:fe6e:a460 on eth0.*.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing address record for 2002:5ddb:9586:0:7c4d:f18c:29e3:8b33 on eth0.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing address record for 2002:5ddb:9586:0:e0b8:4178:444a:af6c on eth0.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing address record for 2002:5ddb:9586:0:20f:b0ff:fe6e:a460 on eth0.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing address record for fe80::20f:b0ff:fe6e:a460 on eth0.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing workstation service for eth1.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing address record for 192.168.178.34 on eth0.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing workstation service for eth0.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Withdrawing workstation service for lo.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Host name conflict, retrying with till-hp-2
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Registering new address record for fd00::20f:b0ff:fe6e:a460 on eth0.*.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Registering new address record for 192.168.178.34 on eth0.IPv4.
  Dec 17 04:18:46 till-hp avahi-daemon[822]: Registering HINFO record with values 'I686'/'LINUX'.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Registering new address record for fd00::7c4d:f18c:29e3:8b33 on eth0.*.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Leaving mDNS multicast group on interface eth0.IPv6 with address 2002:5ddb:9586:0:e0b8:4178:444a:af6c.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Joining mDNS multicast group on interface eth0.IPv6 with address fd00::7c4d:f18c:29e3:8b33.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Withdrawing address record for fd00::7c4d:f18c:29e3:8b33 on eth0.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Registering new address record for fd00::7c4d:f18c:29e3:8b33 on eth0.*.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Registering new address record for 2002:5ddb:9586:0:20f:b0ff:fe6e:a460 on eth0.*.
  Dec 17 04:18:47 till-hp avahi-daemon[822]: Registering new address record for fe80::20f:b0ff:fe6e:a460 on eth0.*.
  Dec 17 04:18:48 till-hp NetworkManager[853]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv6 routing and DNS.
  Dec 17 04:18:49 till-hp avahi-daemon[822]: Registering new address record for 2002:5ddb:91de:0:20f:b0ff:fe6e:a460 on eth0.*.
  Dec 17 04:18:49 till-hp avahi-daemon[822]: Withdrawing address record for fd00::7c4d:f18c:29e3:8b33 on eth0.
  Dec 17 04:18:49 till-hp avahi-daemon[822]: Withdrawing address record for fd00::20f:b0ff:fe6e:a460 on eth0.
  Dec 17 04:18:49 till-hp avahi-daemon[822]: Withdrawing address record for 2002:5ddb:9586:0:20f:b0ff:fe6e:a460 on eth0.
  Dec 17 04:18:49 till-hp avahi-daemon[822]: Withdrawing address record for fe80::20f:b0ff:fe6e:a460 on eth0.
  Dec 17 04:18:49 till-hp avahi-daemon[822]: Registering new address record for 2002:5ddb:91de:0:7c4d:f18c:29e3:8b33 on eth0.*.
  Dec 17 04:18:50 till-hp avahi-daemon[822]: Server startup complete. Host name is till-hp-2.local. Local service cookie is 296843173.
  Dec 17 04:18:51 till-hp avahi-daemon[822]: Service "till-hp-2" (/services/udisks.service) successfully established.
  Dec 17 04:28:26 till-hp avahi-daemon[822]: Leaving mDNS multicast group on interface eth0.IPv6 with address fd00::7c4d:f18c:29e3:8b33.
  Dec 17 04:28:26 till-hp avahi-daemon[822]: Joining mDNS multicast group on interface eth0.IPv6 with address 2002:5ddb:91de:0:7c4d:f18c:29e3:8b33.
  Dec 17 04:28:27 till-hp NetworkManager[853]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv6 routing and DNS.
  ----------

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1091645/+subscriptions



More information about the foundations-bugs mailing list