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 have added few host files in my /etc/hosts but still DNS is querying those files.

i have already tried /etc/nsswitch.conf

hosts : files dns also /etc/host.conf:

order hosts,bind but still its doing the dns query.

share|improve this question
Well, by definition /etc/hosts isn't used for DNS lookups. What kind of hostname lookups are we talking about? Performed by what programs? –  andol Jan 2 at 5:26
actually its a hostfile named system.gaiamobile.org.Its used for launching firefox os in debug mode. I have already added this in /etc/hosts file and it should be ideally checked within the system and not by dns. –  user230858 Jan 2 at 5:57

Your Answer


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

Browse other questions tagged or ask your own question.