During the last week or so, I've been having trouble with the avahi-daemon on my local network. Frequently, when a machine is rebooted or wakes from suspension, avahi starts publishing the hostname with a -2 appended. I didn't used to have this problem. I've edited the /etc/nsswitch.conf file to use only ipv4, as suggested by the wiki, but it's not solving the problem.