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.

This is a bit of a weird one. I'm running ubuntu on a Windows domain. If I type "ping server" I can ping correctly and I can connect without any problems. It looks up my search domain (domain.local) and everything is hunky dory.

Problem is when I try to ping server.domain.local. It just can't look up the server and comes back with "ping: unknown host server.domain.local"

Part of me thinks that the name servers aren't set correctly, but I wonder if there is something I can do to get around it.

share|improve this question
add comment

1 Answer

If you haven't a valuable name resolution (DNS) in your network add the needed addresses to /etc/hosts.

See man hosts

share|improve this answer
add comment

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.