Searched refs:hostname (Results 1 - 19 of 19) sorted by relevance

/bind-9.6-ESV-R11/lib/bind9/include/bind9/
H A Dgetaddresses.h33 bind9_getaddresses(const char *hostname, in_port_t port,
36 * Use the system resolver to get the addresses associated with a hostname.
38 * If a hostname lookup is performed and addresses of an unknown family is
46 *\li 'hostname' is not NULL.
55 *\li #ISC_R_NOFAMILYSUPPORT - 'hostname' is an IPv6 address, and IPv6 is
/bind-9.6-ESV-R11/lib/bind9/
H A Dgetaddresses.c50 bind9_getaddresses(const char *hostname, in_port_t port, argument
65 REQUIRE(hostname != NULL);
82 if (inet_pton(AF_INET, hostname, &in4) == 1) {
89 } else if (strlen(hostname) <= 127U) {
93 strcpy(tmpbuf, hostname);
151 result = getaddrinfo(hostname, NULL, &hints, &ai);
193 he = gethostbyname(hostname);
/bind-9.6-ESV-R11/lib/lwres/
H A Dgetaddrinfo.c27 * numbers for host hostname and service servname. The function is the
29 * RFC2133. hostname and servname are pointers to null-terminated strings
30 * or NULL. hostname is either a host name or a numeric host address
45 * char *ai_canonname; // canonical name for hostname
76 * containing the canonical name of the specified hostname in
80 * case, if the hostname argument is a NULL pointer, then the IP
90 * will be set to the loopback address if hostname is a NULL
93 * If ai_flags is set to AI_NUMERICHOST it indicates that hostname
124 * listed in gai_strerror() if an error occurs. If both hostname and
160 static int add_ipv4(const char *hostname, in
174 lwres_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
560 add_ipv4(const char *hostname, int flags, struct addrinfo **aip, int socktype, int port) argument
623 add_ipv6(const char *hostname, int flags, struct addrinfo **aip, int socktype, int port) argument
[all...]
H A Dgetrrset.c26 * a hostname, class, and type. hostname is a pointer a to
140 /*% Returns a set of resource records associated with a hostname, class, and type. hostname is a pointer a to null-terminated string. */
142 lwres_getrrsetbyname(const char *hostname, unsigned int rdclass, argument
181 lwresult = lwres_getrdatabyname(lwrctx, hostname,
/bind-9.6-ESV-R11/contrib/queryperf/missing/
H A Dgetaddrinfo.c109 "Address family for hostname not supported", /* EAI_ADDRFAMILY */
115 "No address associated with hostname", /* EAI_NODATA */
116 "hostname nor servname provided, or not known",/* EAI_NONAME */
199 getaddrinfo(hostname, servname, hints, res)
200 const char *hostname, *servname;
227 if (hostname == NULL && servname == NULL)
330 * hostname == NULL.
334 if (hostname == NULL) {
374 /* hostname as numeric name */
376 if (inet_pton(afdl[i].a_af, hostname, pto
[all...]
/bind-9.6-ESV-R11/contrib/sdb/ldap/
H A Dldapdb.c62 char *hostname; member in struct:ldapdb_data
200 *ldp = ldap_open(data->hostname, data->portno);
465 if (data->hostname != NULL)
466 isc_mem_free(ns_g_mctx, data->hostname);
606 data->hostname = isc_mem_strdup(ns_g_mctx, data->hostport + (*data->hostport == '[' ? 1 : 0));
607 if (data->hostname == NULL) {
613 (s = strchr(data->hostname, ']')) != NULL )
616 s = data->hostname;
H A Dzone2ldap.c73 /* Put a hostname into a char ** array */
74 char **hostname_to_dn_list (char *hostname, char *zone, unsigned int flags);
586 /* take a hostname, and split it into a char ** of the dc parts,
591 hostname_to_dn_list (char *hostname, char *zone, unsigned int flags) argument
599 zname = strdup (hostname);
/bind-9.6-ESV-R11/bin/named/
H A Dbuiltin.c22 * The built-in "version", "hostname", "id", "authors" and "empty" databases.
111 if (ns_g_server->hostname == NULL)
114 return (put_txt(lookup, ns_g_server->hostname));
234 else if (strcmp(argv[0], "hostname") == 0)
H A Dserver.c4033 result = ns_config_get(maps, "hostname", &obj);
4035 CHECKM(setoptstring(server, &server->hostname, obj), "strdup");
4045 /* The parser translates "hostname" to ISC_TRUE */
4405 server->hostname = NULL;
4465 if (server->hostname != NULL)
4466 isc_mem_free(server->mctx, server->hostname);
/bind-9.6-ESV-R11/bin/tests/system/checkconf/
H A Dbad.conf34 hostname none;
H A Dgood.conf38 hostname none;
/bind-9.6-ESV-R11/bin/named/include/named/
H A Dserver.h60 isc_boolean_t hostname_set; /*%< User has set hostname */
61 char * hostname; /*%< User-specified hostname */ member in struct:ns_server
62 /*% Use hostname for server id */
/bind-9.6-ESV-R11/bin/dig/
H A Dhost.c151 " [-R number] [-m flag] hostname [server]\n"
659 char hostname[MXNAME]; local
838 strlcpy(hostname, argv[isc_commandline_index], sizeof(hostname));
848 if (get_reverse(store, sizeof(store), hostname,
856 strncpy(lookup->textname, hostname, sizeof(lookup->textname));
/bind-9.6-ESV-R11/contrib/queryperf/
H A Dconfigure540 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3517 on `(hostname || uname -n) 2>/dev/null | sed 1q`
/bind-9.6-ESV-R11/unit/atf-src/bootstrap/
H A Dtestsuite1156 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
/bind-9.6-ESV-R11/contrib/query-loc-0.4.0/
H A Dconfigure245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
971 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
5688 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
/bind-9.6-ESV-R11/contrib/zkt/
H A Dconfigure557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1369 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
6517 on `(hostname || uname -n) 2>/dev/null | sed 1q`
/bind-9.6-ESV-R11/
H A Dconfigure587 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
589 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
2336 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
19577 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20759 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
/bind-9.6-ESV-R11/unit/atf-src/
H A Dconfigure715 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
717 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
2273 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
17221 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18494 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:

Completed in 411 milliseconds