Server Fault is a question and answer site for system and network administrators. 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

I use debian:

 /etc/hostname => static  (meaning my hostname is called static)


/etc/hosts     =>       localhost

and now

traceroute static ==> Traceroute resolves to (xx.xx.xx.30) a very strange and unknown/wrong host.


dig static => resloves to the ROOT-Namesevers ...

My Question:

  1. Most likely I need to define in /etc/hosts my hostname to ip adress mapping. that is the cause of the problem. (something like yyy.yyy.yyy.yyy static =>myip to hostname mapping)

  2. But(!!!) I want to understand where traceroute gets this weired IP-Adress. I would be very thankfull if someone can explain how this IP Adress is retrievend and where does it come from

Thank you very much!!! Markus

share|improve this question
up vote 0 down vote accepted

What's the result when you enter "nslookup static"? That should show you which nameserver is beint used and which record that nameserver has for "static"

share|improve this answer
hello Jannemans, Thanks very much for your help! You fixed it;-) with nslookup I realized that (I have two virutal machines, one is working, the other one had this problem described) had different Name-Servers. And that got me to /etc/reslov.conf where the machine that was not working had this strange IP Adress as "search IP Adress"... Althrough the nameserveras are diffrent, the problem was the wrong "search..." statement... When I commented out that line I got an NXDOMAIN. Now everything is working. Thanks for your help!! – Markus Jul 13 '11 at 6:11
Glad to have nudged you in the right direction :) – Jannemans Jul 13 '11 at 7:28

Instead of returning NXDOMAIN (this host doesn't exist), your ISP's DNS server is returning the IP of their search page. Try popping open a web browser and going to http://static; my guess is that you'll hit a page saying "we couldn't find 'static' -- did you mean something else?" along with a bunch of ads.

That said, add: static

to your /etc/hosts file, and you should be good to go.

share|improve this answer

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.