Ubuntu 12.04 LTS.
Hi, when I ping two specific domain names (I'll just call them foo.net and foo.org) they both resolve to my localhost. I am on my home network and resolve.conf has 127.0.0.1 as name server. It's also only my host that has this problem, my VMs and brothers machine don't resolve the name at all.
Also, when I type foo.net or foo.org into my browser, it sends me to my local apache server root. I tried other random names but only those two are resolving to localhost, everything else seems to work normal.
/etc/hosts and /etc/resolv.conf look normal, although I'm not an expert on either. Dig shows the correct DNS server and the answer comes out to my loopback address. Tracepath completes at localhost with one hop.
Not sure what's going on.
dnsdomainname
andhostname
?dnsdomainname
is blank, and outputhostname
is my correct hostname.