Results 1 to 10 of 13
I'm trying to setup a number of different things which rely on the host command to function, however it is not working for me.
Code:
[root@Omega ~]# host www.google.com
*** ...
- 06-18-2007 #1Just Joined!
- Join Date
- Jun 2006
- Posts
- 27
host not working
I'm trying to setup a number of different things which rely on the host command to function, however it is not working for me.
Code:[root@Omega ~]# host www.google.com *** www.google.com does not exist (Authoritative answer)
for some reason it is dns querying:
PTR 255.255.255.255.in-addr.arpa
and predictably my dns server replies with not found, any ideas?
- 06-18-2007 #2
- 06-18-2007 #3Just Joined!
- Join Date
- Jun 2006
- Posts
- 27
seems normal.. those are my isp's nameservers.Code:# Generated by dhcpcd for interface eth0 search hsd1.ca.comcast.net. nameserver 68.87.76.178 nameserver 68.87.78.130
while were at it heres /etc/hosts
Code:# # /etc/hosts: static lookup table for host names # #<ip-address> <hostname.domain.org> <hostname> 127.0.0.1 localhost 127.0.0.1 Omega.schreknet.net Omega # End of file
- 06-18-2007 #4
Try explicitly like this:
Then like this (using opendns server):Code:$ host google.com 68.87.76.178
Anything?Code:$ host google.com 208.67.222.222
- 06-18-2007 #5Just Joined!
- Join Date
- Jun 2006
- Posts
- 27
Code:[root@Omega ~]# host google.com 68.87.76.178 *** google.com does not exist at cns.sanjose.ca.sanfran.comcast.net (Authoritative answer)
Code:[root@Omega ~]# host google.com 208.67.222.222 *** google.com does not exist at resolver1.opendns.com (Authoritative answer)
- 06-18-2007 #6
Btw, that /etc/hosts entry seems strange to me.
You want that to apply to your external interface, right? e.g.:Code:127.0.0.1 Omega.schreknet.net Omega
I'm not sure if that may be related to the problem.Code:10.0.0.80 Omega.schreknet.net Omega
- 06-18-2007 #7Just Joined!
- Join Date
- Jun 2006
- Posts
- 27
could be it?? set it that way from a wiki post I read a while ago
so:
??Code:127.0.0.1 localhost 192.168.0.2 Omega.schreknet.net Omega
anyway to apply that without restarting the entire system?
- 06-18-2007 #8
You should not need to restart at all. Changes to /etc/hosts should take immediately.
- 06-18-2007 #9Just Joined!
- Join Date
- Jun 2006
- Posts
- 27
ah, then no didn't help.
- 06-18-2007 #10
Ok, something's borked.
Look at your output when you explicitly specified nameservers. It did a reverse lookup and gave you the host name of the dns server!
How about try a ping or nslookup (anything other than host) to google.com.


Reply With Quote
