--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.
☆PhistucK
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.
I tried node's DNS module and did dns.lookup('google.com') and still got the same result as that of ping. And according to node's documentation too dns.lookup is the direct mapping to OS's getaddrinfo(). So therefore chrome's behavior seems to be a bit off (or that of custom implementation of dns lookup).
On Friday, December 16, 2016 at 7:53:36 PM UTC+5:30, Christian Biesinger wrote:
It's likely just that ping uses ipv4-only host lookups and chrome doesn't...Christian
On Dec 16, 2016 9:16 AM, "Prashant Agrawal" <prashanta...@gmail.com> wrote:
Yeah, that's why I was interested to know how chrome overrides this behavior
::1 nodejs.orgping nodejs.org::1 nodejs.orgconst dns = require('dns');
dns.lookup('nodejs.org' ,(err, addresses, family) => {
console.log('addresses:', addresses);
});Have you cleared your DNS cache as well? If v4 is cached then it would be returned.
--