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

I have edited /etc/hosts file. It says as abc.company.edu.uk 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 abc.company.edu.pk i get no reply?

Kindly help.


You would need to edit /etc/hosts on each machine that will connect to your abc.company.edu.uk 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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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