Home
last modified time | relevance | path

Searched refs:hosts (Results 1 – 25 of 65) sorted by relevance

123

/titanic_52/usr/src/cmd/svc/milestone/
H A Dnet-svc165 # to change in the nsswitch.conf (hosts or ipnodes) to update with dns.
203 # also uncomment hosts and ipnodes entries which were previously commented
210 -e 's/^\(#hosts:\)\(.*[^#]\)\(#.*\)$/hosts: \2/' \
218 # Remove any lines with the "# Added by DHCP" tag from /etc/inet/hosts.
227 }' /etc/inet/hosts > /tmp/hosts.$$
228 mv_file /tmp/hosts.$$ /etc/inet/hosts 444
256 update_nss hosts
[all...]
/titanic_52/usr/src/cmd/sendmail/aux/
H A Detrn.pl54 my @hosts = @ARGV;
59 if (!@hosts) {
60 push(@hosts, $hostname);
87 push(@hosts, $thishost)
100 push(@hosts, $thishost)
108 # Do this automatically if no client hosts are specified.
206 while (@hosts) {
207 $server = shift(@hosts);
/titanic_52/usr/src/cmd/sendmail/cf/sh/
H A Dcheck-hostname.sh44 # Check the `getent hosts $1` output, skipping the 1st entry (IP address).
47 for host in `getent hosts $1 | awk '{for (f=2; f <= NF; f++) print $f}'`
53 # Parse /etc/hosts, looking for $1 as an entry by itself, and try to find
59 for entry in `sed -e 's/#.*$//' /etc/hosts | \
77 # Check the `ypmatch $1 hosts` output, skipping the 1st entry (IP address).
80 for hst in `ypmatch $1 hosts | awk '{for (f=2; f <= NF; f++) print $f}'`
87 # $3 is the first entry for hosts in /etc/nsswitch.conf .
93 myipaddr=`getent hosts $myhost | head -1 | awk '{print $1}'`
98 set -- `grep "^$myipaddr[ ]" /etc/hosts 2>/dev/null`
103 echo "listing files first for hosts i
[all...]
/titanic_52/usr/src/man/man4/
H A DMakefile79 hosts.4 \
80 hosts.equiv.4 \
222 hosts.allow.4 \
223 hosts.deny.4 \
263 rhosts.4 := LINKSRC = hosts.equiv.4
265 hosts.allow.4 := LINKSRC = hosts_access.4
266 hosts.deny.4 := LINKSRC = hosts_access.4
/titanic_52/usr/src/cmd/ypcmd/net_files/
H A DMakefile36 # resolver for hosts not in the current domain.
41 # If the ipnodes (IPv6 hosts file) lives in a directory other than
81 all: passwd group hosts ipnodes ethers networks rpc services protocols \
141 hosts.time: $(DIR)/hosts
142 @($(MULTI) $(B) -l $(DIR)/hosts);
143 @($(STDHOSTS) -w $(DIR)/hosts $(CHKPIPE))| \
145 $(MAKEDBM) $(B) - $(YPDBDIR)/$(DOM)/hosts.byaddr;
146 @touch hosts.time;
147 @echo "updated hosts";
456 hosts: hosts.time global() target
[all...]
H A Dnicknames5 hosts hosts.byname
/titanic_52/usr/src/cmd/ypcmd/
H A Dypxfr_2perday.sh34 ypxfr hosts.byname
35 ypxfr hosts.byaddr
H A Dmulti.sh29 # Script to examine hosts file and make "magic" entries for
30 # those hosts that have multiple IP addresses.
37 MAP="hosts.byname"
39 USAGE="Usage: multi [-b] [-l] [-s] [-n] [hosts file]
41 -b Add YP_INTERDOMAIN flag to hosts map
43 -s Add YP_SECURE flag to hosts map
46 hosts file defaults to /etc/hosts"
74 HOSTS=/etc/hosts
/titanic_52/usr/src/cmd/initpkg/
H A Dnscd.conf31 # exec_attr, group, hosts, ipnodes, netmasks
36 # enable-cache hosts no
70 positive-time-to-live hosts 3600
71 negative-time-to-live hosts 5
72 keep-hot-count hosts 20
73 check-files hosts yes
/titanic_52/usr/src/cmd/netfiles/
H A Dnsswitch.dns30 # DNS for hosts lookups, otherwise it does not use any other naming service.
32 # "hosts:" and "services:" in this file are used only if the
44 hosts: files dns mdns
47 # before searching the hosts databases.
H A Dnsswitch.ad30 # hosts lookups; and files for the remaining databases.
43 # "hosts:" and "services:" in this file are used only if the
53 # before searching the hosts databases.
54 hosts: files dns
H A DMakefile25 TXTS= nsswitch.conf netconfig hosts services
30 FILES= hosts services
H A Dnsswitch.ldap29 # "hosts:" and "services:" in this file are used only if the
40 hosts: files ldap
43 # before searching the hosts databases.
H A Dnsswitch.nis29 # "hosts:" and "services:" in this file are used only if the
40 hosts: files nis
43 # before searching the hosts databases.
H A Dnsswitch.files31 # "hosts:" and "services:" in this file are used only if the
36 hosts: files
H A Dnsswitch.conf27 # "hosts:" and "services:" in this file are used only if the
32 hosts: files
/titanic_52/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dgram.y353 * Insert or append ARROW command to list of hosts to be updated.
356 insert(label, files, hosts, subcmds) in insert() argument
358 struct namelist *files, *hosts;
365 hosts = expand(hosts, E_ALL);
369 printf("insert: hosts = ");
370 prnames(hosts);
376 for (h = hosts; h != NULL; oldh = h, h = h->n_next, free(oldh)) {
H A Dmain.c208 " hosts\n"));
425 struct namelist *files, *hosts; local
449 hosts = expand(&tnl, E_ALL);
464 printf("hosts = ");
465 prnames(hosts);
467 insert(NULL, files, hosts, cmds);
/titanic_52/usr/src/cmd/cmd-inet/etc/
H A DMakefile23 SYMPROG= hosts inetd.conf networks protocols services netmasks
60 $(SYMLINK) ./hosts $@
/titanic_52/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c81 static struct hostlist_s *hosts; variable
360 hosts_prev = hosts; in parsehosts()
362 hosts = hosts_new; in parsehosts()
363 current_host = hosts; in parsehosts()
366 DPRINT((dfile, "Configured %d hosts.\n", num_of_hosts)); in parsehosts()
549 * - if all hosts where tried tries again for retries number of times
595 /* cycle over the hosts and possibly deliver the record */ in auditd_plugin()
653 current_host = hosts; in auditd_plugin()
663 (void) asprintf(&ext_error, "all hosts defined " in auditd_plugin()
779 *error = strdup(gettext("no hosts configure in auditd_plugin_open()
[all...]
/titanic_52/usr/src/cmd/ipf/examples/
H A Dexample.310 # allow a variety of individual hosts to send any type of IP packet to any
31 # allow any host to send any IP packet out to a limited number of hosts.
/titanic_52/usr/src/cmd/avs/rdc/
H A Dsndrsyncd.c75 char *hosts[MAXHOSTS]; member
247 cleanup_hostlist(rdc_info); /* remove non-existent hosts */
428 if (numfound == 0) /* no matching hosts */ in rdc_sync()
617 * of the thread who is looking for new hosts to spawn threads in rdc_sync()
1023 (host_list->hosts[i] == '\0')) { in cleanup_hostlist()
1029 if (strcmp(host_list->hosts[i], host) == 0) in cleanup_hostlist()
1036 exhost = host_list->hosts[i]; in cleanup_hostlist()
1044 host_list->hosts[k] = k < host_list->numhosts - 1 ? in cleanup_hostlist()
1045 host_list->hosts[k+1] : NULL; in cleanup_hostlist()
1076 if (strcmp(host, host_list->hosts[ in remove_from_hostlist()
[all...]
/titanic_52/usr/src/cmd/sendmail/cf/feature/
H A Dbestmx_is_local.m437 # lower cost method is to list all the expected best MX hosts
39 # low to medium traffic hosts. If you use the limited bestmx
H A Drelay_based_on_MX.m419 # MX map (to allow relaying to hosts that we MX for)
/titanic_52/usr/src/pkg/manifests/
H A Dlibrary-security-tcp-wrapper.mf62 link path=usr/share/man/man4/hosts.allow.4 target=hosts_access.4
63 link path=usr/share/man/man4/hosts.deny.4 target=hosts_access.4

123