nslookup fails but web access is OK

1

I failed to get ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R3.zip, so I did nslookup mozilla.org, which returns Non-existent domain. But it's OK when I visit https://developer.mozilla.org

Why is this happening?

I am in a LAN and the DNS is in the LAN.

onemach

Posted 2012-02-22T06:15:02.680

Reputation: 2 575

Any firewall/proxy in your LAN? – Sam Liao – 2012-02-22T08:55:58.933

@arsane proxy. But will the browser use proxy for name resolv? – onemach – 2012-02-22T08:58:37.717

Yes, you can either use proxy for name solving or local dns. I'm not sure which is the default way. I think the previous is reasonable, since for http proxy, the browser just send the url to proxy and leave the proxy to resolve address. As for one ip may map more than one domain name, so it's not reasonable to send the ip address to the proxy. – Sam Liao – 2012-02-22T09:48:32.503

No answers