Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
[root@MYPC etc]# lsb_release -a
LSB Version:    :core-4.0-ia32:core-4.0-noarch
Distributor ID: Fedora
Description:    Fedora release 14 (Laughlin)
Release:    14
Codename:   Laughlin

[root@MYPC etc]# uname -a
Linux MYPC #1 SMP Mon Feb 7 06:57:55 UTC 2011 i686 i686 i386 GNU/Linux

[root@MYPC etc]# cat /etc/resolv.conf
# Generated by NetworkManager

[root@MYPC etc]# cat /etc/host.conf 
multi on
order hosts,bind

[root@MYPC etc]# cat /etc/hosts MYPC    # Added by NetworkManager   localhost.localdomain   localhost
::1 MYPC    localhost6.localdomain6 localhost6

[root@MYPC etc]# ping
Do you want to ping broadcast? Then -b

[root@MYPC etc]# host -t a has address has address has address has address

Why does ping see as, and why does host -t a see it as is just an example site [hosts ads, etc.]

I just have a caching nameserver on my Fedora PC:

yum -y install caching-nameserver
service named restart
chkconfig named on

I configured my DNS server addresses in the Network-Manager Applet:,

Even with Wireshark, I can see it:

` DNS Standard query A`

So the big question: Why don't the host command or my web browser recognize that I have modified audit.median.hus IP address?

share|improve this question

In /etc/nsswitch.conf do you have

hosts:      files dns


share|improve this answer – LanceBaynes Mar 4 '11 at 11:52
Might be being silly but I'm not sure whether host actually abides by nsswitch.conf... could you try using 'ping' or closing/reopening the browser and trying again? – PriceChild Mar 4 '11 at 11:55
After running strace on host on my Ubuntu 10.10 box I can see no reference to either /etc/host.conf, /etc/nsswitch.conf or libnss. My guess is it doesn't use them. (I could delve into the source code if you like). – Majenko Mar 4 '11 at 15:06
what about ping/your browser after restarting? – PriceChild Mar 4 '11 at 19:46

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.