Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: dwater on May 16, 2005, 04:45:31 AM
-
How come I get this at the command line :
% host www.bejing-olympic.org.cn
Host www.bejing-olympic.org.cn not found: 3(NXDOMAIN)
but my web browser still manages to show the web page?
Max.
-
I can not reach them in any way. I guess their DNS entry is 'under constuction'
-
I can not reach them in any way. I guess their DNS entry is 'under constuction'
Well, it shouldn't be, in that they've existed for several year.
..but in any case, I am wondering how 'host' can fail, yet a web browser can succeed, to resolve the domain?
-
dwater
% host www.bejing-olympic.org.cn
Host www.bejing-olympic.org.cn not found: 3(NXDOMAIN)
Try
http://www.beijing-olympic.cn
-
dwater
% host www.bejing-olympic.org.cn
Host www.bejing-olympic.org.cn not found: 3(NXDOMAIN)
Try
http://www.beijing-olympic.cn
Actually, 'host' is resolving www.beijing-olympic.org.cn now too :
% host www.beijing-olympic.org.cn
www.beijing-olympic.org.cn is an alias for www.chinacache.beijing-olympic.org.cn.
www.chinacache.beijing-olympic.org.cn has address 211.154.222.24
...but you miss the point, which is about name resolution.
How can the application 'host' fail to resolve a name and, at the same time, the application 'firefox' succeed in resolving a name? They both use the same DNS server (my SME server)....I guess my browser could have cached the name in it's own cache (does it have a DNS cache of it's own?), or perhaps squid cached it...and (obviouslt) 'host' doesn't use the squid cache.
Max.