Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I' using lucid 10.04 i used centrify agent to add my ubuntu machine into AD. The machine name is suppose to be

I have edited /etc/hosts file. It says as abc.

In etc/resolve.conf i have specified dns servers. Do i need to change anything in nsswitch.conf files. When i try to ping from other lan pc to i get no reply?

Kindly help.

share|improve this question

You would need to edit /etc/hosts on each machine that will connect to your machine, as well as on the machine itself. That file is not used to advertise a computer's name across a network.

If you want to advertise the computer name without editing anything on the other computers, you would need to use a proper DNS setup.

share|improve this answer
and how can i do proper dns setup? please inform. – asadz Oct 19 '12 at 3:20
Please see any of the Related questions in the right-hand sidebar -> – ImaginaryRobots Oct 19 '12 at 18:00

Your Answer


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.