Lines Matching refs:hostname
107 return this.callback(dnsException(err, 'getaddrinfo', this.hostname));
118 return this.callback(dnsException(err, 'getaddrinfo', this.hostname));
138 // lookup(hostname, [options,] callback)
140 function lookup(hostname, options, callback) {
147 if (hostname) {
148 validateString(hostname, 'hostname');
194 if (!hostname) {
195 emitInvalidHostnameWarning(hostname);
204 const matchedFamily = isIP(hostname);
208 callback, null, [{ address: hostname, family: matchedFamily }]);
210 process.nextTick(callback, null, hostname, matchedFamily);
218 req.hostname = hostname;
222 req, hostname, family, hints, verbatim,
225 process.nextTick(callback, dnsException(err, 'getaddrinfo', hostname));
230 hostname,
244 function onlookupservice(err, hostname, service) {
246 return this.callback(dnsException(err, 'getnameinfo', this.hostname));
248 this.callback(null, hostname, service);
250 stopPerf(this, kPerfHooksDnsLookupServiceContext, { detail: { hostname, service } });
270 req.hostname = address;
290 { __proto__: null, value: ['hostname', 'service'], enumerable: false });