Home
last modified time | relevance | path

Searched refs:dns (Results 1 – 25 of 53) sorted by relevance

123

/titanic_50/usr/src/lib/libresolv2/common/irs/
H A Ddns.c61 struct dns_p *dns; in irs_dns_acc() local
70 if (!(dns = memget(sizeof *dns))) { in irs_dns_acc()
75 memset(dns, 0x5e, sizeof *dns); in irs_dns_acc()
76 dns->res = NULL; in irs_dns_acc()
77 dns->free_res = NULL; in irs_dns_acc()
78 if (hesiod_init(&dns->hes_ctx) < 0) { in irs_dns_acc()
84 dns->hes_ctx = NULL; in irs_dns_acc()
86 acc->private = dns; in irs_dns_acc()
111 struct dns_p *dns = (struct dns_p *)this->private; in dns_res_get() local
113 if (dns->res == NULL) { in dns_res_get()
[all …]
H A Ddns_pr.c50 struct dns_p * dns; member
74 struct dns_p *dns = (struct dns_p *)this->private; in irs_dns_pr() local
78 if (!dns->hes_ctx) { in irs_dns_pr()
93 pvt->dns = dns; in irs_dns_pr()
124 struct dns_p *dns = pvt->dns; in pr_byname() local
128 if (!(hes_list = hesiod_resolve(dns->hes_ctx, name, "protocol"))) in pr_byname()
132 hesiod_free_list(dns->hes_ctx, hes_list); in pr_byname()
139 struct dns_p *dns = pvt->dns; in pr_bynumber() local
145 if (!(hes_list = hesiod_resolve(dns->hes_ctx, numstr, "protonum"))) in pr_bynumber()
149 hesiod_free_list(dns->hes_ctx, hes_list); in pr_bynumber()
[all …]
H A Ddns_sv.c53 struct dns_p * dns; member
83 struct dns_p *dns = (struct dns_p *)this->private; in irs_dns_sv() local
87 if (!dns || !dns->hes_ctx) { in irs_dns_sv()
96 pvt->dns = dns; in irs_dns_sv()
140 struct dns_p *dns = pvt->dns; in sv_byname() local
144 if (!(hes_list = hesiod_resolve(dns->hes_ctx, name, "service"))) in sv_byname()
148 hesiod_free_list(dns->hes_ctx, hes_list); in sv_byname()
155 struct dns_p *dns = pvt->dns; in sv_byport() local
161 if (!(hes_list = hesiod_resolve(dns->hes_ctx, portstr, "port"))) in sv_byport()
165 hesiod_free_list(dns->hes_ctx, hes_list); in sv_byport()
[all …]
/titanic_50/usr/src/lib/libldap5/sources/ldap/common/
H A Dufn.c53 LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm, char **dns,
100 char **dns = NULL; in ldap_ufn_search_ctx() local
157 if ( (dns = (char **)NSLDAPI_MALLOC( in ldap_ufn_search_ctx()
163 dns[0] = nsldapi_strdup( prefix ); in ldap_ufn_search_ctx()
164 dns[1] = NULL; in ldap_ufn_search_ctx()
166 dns = NULL; in ldap_ufn_search_ctx()
177 if ( dns == NULL ) { in ldap_ufn_search_ctx()
178 if ( (dns = (char **)NSLDAPI_MALLOC( in ldap_ufn_search_ctx()
187 if ( (dns = (char **)NSLDAPI_REALLOC( in ldap_ufn_search_ctx()
188 dns, sizeof(char *) * 2 * max )) in ldap_ufn_search_ctx()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/dns-sd/
H A DMakefile18 PROG= dns-sd
23 OBJS= ClientCommon.o dns-sd.o
24 SRCS= ClientCommon.c dns-sd.c
/titanic_50/usr/src/cmd/netfiles/
H A Dnsswitch.dns27 # /etc/nsswitch.dns:
35 # DNS service expects that an instance of svc:/network/dns/client be
43 # svc:/network/dns/multicast:default must also be enabled. See mdnsd(1M)
44 hosts: files dns mdns
48 ipnodes: files dns mdns
H A Dnsswitch.ad46 # DNS service expects that an instance of svc:/network/dns/client be
54 hosts: files dns
55 ipnodes: files dns
H A DMakefile32 nsswitch.dns nsswitch.ldap nsswitch.ad
/titanic_50/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c767 u_char dns[2048]; in dst_buffer_to_key() local
785 dnslen = dst_key_to_dnskey(dkey, dns, sizeof(dns)); in dst_buffer_to_key()
786 dkey->dk_id = dst_s_dns_key_id(dns, dnslen); in dst_buffer_to_key()
829 u_char dns[2048]; in dst_s_read_private_key_file() local
901 dnslen = dst_key_to_dnskey(pk_key, dns, sizeof(dns)); in dst_s_read_private_key_file()
902 id = dst_s_dns_key_id(dns, dnslen); in dst_s_read_private_key_file()
956 u_char dns[2048]; in dst_generate_key() local
983 dnslen = dst_key_to_dnskey(new_key, dns, sizeof(dns)); in dst_generate_key()
985 new_key->dk_id = dst_s_dns_key_id(dns, dnslen); in dst_generate_key()
/titanic_50/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dcreate_loc_auto27 set nameservices=dns
28 set nameservices-config-file=/etc/nsswitch.dns
29 set dns-nameservice-configsrc=dhcp
H A Dconditions.c283 char *dns, *nis; in get_adv_domains() local
288 dns = nwamd_get_dhcpinfo_data("DNSdmain", ncu->ncu_name); in get_adv_domains()
291 if (dns != NULL || nis != NULL) { in get_adv_domains()
295 adp->dns_domain = dns; in get_adv_domains()
/titanic_50/usr/src/lib/libdns_sd/
H A DREADME38 dns-sd: usr/src/cmd/cmd-inet/usr.bin/dns-sd.c
59 * svc:/network/dns/multicast:default introduced to manage mDNS daemon
61 to modify nss_mdns configuration in svc:/network/dns/multicast:default
63 * Default nsswitch.dns includes mdns as source for hosts & ipnodes
/titanic_50/usr/src/lib/libsldap/common/
H A Dns_common.c389 char **dns = NULL; in __s_api_getDNs() local
411 dns = (char **)calloc(2, sizeof (char *)); in __s_api_getDNs()
412 if (dns == NULL) { in __s_api_getDNs()
418 dns[0] = strdup((char *)*paramVal); in __s_api_getDNs()
419 if (dns[0] == NULL) { in __s_api_getDNs()
421 free(dns); in __s_api_getDNs()
431 dns[0] = (char *) in __s_api_getDNs()
433 if (dns[0] == NULL) { in __s_api_getDNs()
436 free(dns); in __s_api_getDNs()
439 (void) strcpy(dns[0], in __s_api_getDNs()
[all …]
H A Dns_mapping.c336 char **dns = NULL; in __s_api_parseASearchDesc() local
591 rc = __s_api_getDNs(&dns, service, &error); in __s_api_parseASearchDesc()
593 if (dns) { in __s_api_parseASearchDesc()
594 __s_api_free2dArray(dns); in __s_api_parseASearchDesc()
595 dns = NULL; in __s_api_parseASearchDesc()
602 ptr->basedn = strdup(dns[0]); in __s_api_parseASearchDesc()
603 __s_api_free2dArray(dns); in __s_api_parseASearchDesc()
604 dns = NULL; in __s_api_parseASearchDesc()
H A Dns_sasl.c311 int ldap, dns, i, pserr, rc = NS_LDAP_SUCCESS; in test_dns_nsswitch() local
331 ldap = dns = 0; in test_dns_nsswitch()
352 dns++; in test_dns_nsswitch()
364 if (!dns) { in test_dns_nsswitch()
H A Dns_reads.c3070 char **dns = NULL; in ldap_list() local
3135 rc = __s_api_getDNs(&dns, service, &cookie->errorp); in ldap_list()
3137 if (dns) { in ldap_list()
3138 __s_api_free2dArray(dns); in ldap_list()
3139 dns = NULL; in ldap_list()
3148 dptr->basedn = strdup(dns[0]); in ldap_list()
3149 __s_api_free2dArray(dns); in ldap_list()
3150 dns = NULL; in ldap_list()
3735 char **dns = NULL; in firstEntry() local
3772 rc = __s_api_getDNs(&dns, service, &error); in firstEntry()
[all …]
/titanic_50/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent.c79 char **ips = NULL, **dns = NULL; in _nss_ldap_hosts2str_int() local
133 dns = __ns_ldap_getAttr(entry, _H_DN); in _nss_ldap_hosts2str_int()
134 if (dns == NULL || dns[0] == NULL || strlen(dns[0]) in _nss_ldap_hosts2str_int()
140 be->toglue = _get_domain_name(dns[0]); in _nss_ldap_hosts2str_int()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg_lex.l193 <TSTATE>dns-nameservice-configsrc { return LOC_DNS_CONFIGSRC; }
194 <TSTATE>dns-nameservice-domain { return LOC_DNS_DOMAIN; }
195 <TSTATE>dns-nameservice-servers { return LOC_DNS_SERVERS; }
196 <TSTATE>dns-nameservice-search { return LOC_DNS_SEARCH; }
/titanic_50/usr/src/lib/libresolv2/
H A DMakefile30 MANIFESTDIR= $(ROOT)/lib/svc/manifest/network/dns
35 SVCMETHOD= dns-install
/titanic_50/usr/src/cmd/svc/milestone/
H A Dnet-loc184 DNS_CONFIGSRC=`nwam_get_loc_list_prop $loc dns-nameservice-configsrc`
194 dns-nameservice-servers`
200 dns-nameservice-domain`
202 dns-nameservice-search`
/titanic_50/exception_lists/
H A Dkeywords28 usr/src/cmd/cmd-inet/usr.bin/dns-sd/dns-sd.c
/titanic_50/usr/src/lib/nsswitch/
H A DMakefile30 SUBDIRS= files nis compat dns ldap user mdns ad
/titanic_50/usr/src/cmd/sendmail/cf/feature/
H A Dbadmx.m422 KdnsA dns -R A -a. -T<TEMP>
/titanic_50/usr/src/pkg/manifests/
H A Dservice-network-dns-mdns.mf28 set name=pkg.fmri value=pkg:/service/network/dns/mdns@$(PKGVERS)
39 dir path=lib/svc/manifest/network/dns group=sys
62 file path=lib/svc/manifest/network/dns/multicast.xml group=sys mode=0444
63 file path=usr/bin/dns-sd mode=0555
155 file path=usr/share/man/man1m/dns-sd.1m
/titanic_50/usr/src/cmd/sendmail/cf/sh/
H A Dcheck-hostname.sh161 dns)

123