Lines Matching refs:dns
5 const dns = require('dns');
13 obs.observe({ type: 'dns' });
23 dns.lookup('localhost', common.mustCall((err) => { !err && inc(); }));
24 dns.lookupService('127.0.0.1', 80, common.mustCall((err) => { !err && inc(); }));
25 dns.resolveAny('localhost', common.mustCall((err) => { !err && inc(); }));
27 dns.promises.lookup('localhost').then(inc).catch(() => {});
28 dns.promises.lookupService('127.0.0.1', 80).then(inc).catch(() => {});
29 dns.promises.resolveAny('localhost').then(inc).catch(() => {});
35 assert.strictEqual(entry.entryType, 'dns');