Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've a strange problem.

On ubuntu server 11. I've avahi running.

When I restart machine, in about 1 min server is up, I can connect through SSH or ping it via IP. But not via hostname server.local - it takes about 3-4 minutes for server.local to become accessible. That's allot!

I installed avahi to handle hostname. I believe there is something wrong with startup procedure and it gets delayed or smth. How should I diagnose the problem? or is there way to configure avahi to be more responsive?

p.s. I also noticed few times, hostname was accessible but not IP. Which makes me believe there is something really wrong going on.

THANKS!

share|improve this question

2 Answers 2

up vote 1 down vote accepted

I fixed problem by disabling ipv6 in avahi settings file. It was in /etc/avahi/avahi-daemon.conf

share|improve this answer

try to edit /etc/nsswitch.conf

I had the same issue, and i disabled mdns, so if you have:

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

try to replace with:

hosts:      files dns
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.