Cross Reference: /osnet-11/usr/src/lib/libresolv2/client.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
2N/A<?xml version="1.0"?>
2N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
2N/A<!--
2N/A CDDL HEADER START
2N/A
2N/A The contents of this file are subject to the terms of the
2N/A Common Development and Distribution License (the "License").
2N/A You may not use this file except in compliance with the License.
2N/A
2N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A or http://www.opensolaris.org/os/licensing.
2N/A See the License for the specific language governing permissions
2N/A and limitations under the License.
2N/A
2N/A When distributing Covered Code, include this CDDL HEADER in each
2N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A If applicable, add the following below this CDDL HEADER, with the
2N/A fields enclosed by brackets "[]" replaced with your own identifying
2N/A information: Portions Copyright [yyyy] [name of copyright owner]
2N/A
2N/A CDDL HEADER END
2N/A
2N/A Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
2N/A
2N/A NOTE: This service manifest is not editable; its contents will
2N/A be overwritten by package or patch operations, including
2N/A operating system upgrade. Make customizations in a different
2N/A file.
2N/A-->
2N/A
2N/A<service_bundle type='manifest' name='SUNWcsr:dns-client'>
2N/A
2N/A<service
2N/A name='network/dns/client'
2N/A type='service'
2N/A version='1'>
2N/A
2N/A <create_default_instance enabled='false' />
2N/A
2N/A <single_instance />
2N/A
2N/A <dependency
2N/A name='filesystem'
2N/A grouping='require_all'
2N/A restart_on='none'
2N/A type='service'>
2N/A <service_fmri value='svc:/system/filesystem/root' />
2N/A <service_fmri value='svc:/system/filesystem/usr' />
2N/A <service_fmri value='svc:/system/filesystem/minimal' />
2N/A </dependency>
2N/A
2N/A <dependency
2N/A name='loopback'
2N/A grouping='require_any'
2N/A restart_on='error'
2N/A type='service'>
2N/A <service_fmri value='svc:/network/loopback' />
2N/A </dependency>
2N/A
2N/A <dependency
2N/A name='network'
2N/A grouping='optional_all'
2N/A restart_on='error'
2N/A type='service'>
2N/A <service_fmri value='svc:/milestone/network' />
2N/A </dependency>
2N/A
2N/A <!--
2N/A During system configuration, explicitly wait until manifest-import
2N/A is online and has imported the new profile explicitly.
2N/A -->
2N/A <dependency
2N/A name='manifest_import'
2N/A grouping='optional_all'
2N/A restart_on='none'
2N/A type='service'>
2N/A <service_fmri value='svc:/system/manifest-import' />
2N/A </dependency>
2N/A
2N/A <dependency
2N/A name='milestone'
2N/A grouping='require_all'
2N/A restart_on='none'
2N/A type='service'>
2N/A <service_fmri value='svc:/milestone/unconfig' />
2N/A </dependency>
2N/A
2N/A <dependent
2N/A name='network-dns-client_self-assembly-complete'
2N/A grouping='optional_all'
2N/A restart_on='none'>
2N/A <service_fmri value='svc:/milestone/self-assembly-complete' />
2N/A </dependent>
2N/A
2N/A <exec_method
2N/A type='method'
2N/A name='start'
2N/A exec='/lib/svc/method/dns-client %m'
2N/A timeout_seconds='30' />
2N/A
2N/A <exec_method
2N/A type='method'
2N/A name='refresh'
2N/A exec='/lib/svc/method/dns-client %m'
2N/A timeout_seconds='30' />
2N/A
2N/A <exec_method
2N/A type='method'
2N/A name='stop'
2N/A exec=':true'
2N/A timeout_seconds='30' />
2N/A
2N/A <exec_method
2N/A type='method'
2N/A name='unconfigure'
2N/A exec='/lib/svc/method/dns-client unconfigure'
2N/A timeout_seconds='30' >
2N/A </exec_method>
2N/A
2N/A <property_group name='general' type='framework'>
2N/A <!-- to start stop the service -->
2N/A <propval name='action_authorization' type='astring'
2N/A value='solaris.smf.manage.name-service.dns.client' />
2N/A <!-- to manage properties of the service -->
2N/A <propval name='value_authorization' type='astring'
2N/A value='solaris.smf.manage.name-service.dns.client' />
2N/A </property_group>
2N/A
2N/A <property_group name='startd' type='framework'>
2N/A <propval name='duration' type='astring' value='transient' />
2N/A </property_group>
2N/A
2N/A <property_group name='config' type='application'>
2N/A <!-- to manage properties of the service -->
2N/A <propval name='value_authorization' type='astring'
2N/A value='solaris.smf.value.name-service.dns.client' />
2N/A </property_group>
2N/A
2N/A <property_group name='sysconfig' type='sysconfig'>
2N/A <propval name='group' type='astring' value='naming_services' />
2N/A </property_group>
2N/A
2N/A <stability value='Unstable' />
2N/A
2N/A <template>
2N/A <common_name>
2N/A <loctext xml:lang='C'>
2N/A DNS resolver
2N/A </loctext>
2N/A </common_name>
2N/A <documentation>
2N/A <manpage title='resolver' section='3RESOLV'
2N/A manpath='/usr/share/man' />
2N/A </documentation>
2N/A <pg_pattern name='config' type='application'
2N/A target='this' required='false'>
2N/A <description> <loctext xml:lang='C'>
2N/A DNS configuration data used to configure DNS client.
2N/A </loctext> </description>
2N/A <prop_pattern name='nameserver' type='net_address'
2N/A required='false'>
2N/A <description> <loctext xml:lang='C'>
2N/A The value used to construct the "nameserver" directive in resolv.conf(4).
2N/A </loctext> </description>
2N/A <cardinality min='1' max='3'/>
2N/A </prop_pattern>
2N/A <prop_pattern name='domain' type='astring'
2N/A required='false'>
2N/A <description> <loctext xml:lang='C'>
2N/A The value used to construct the "domain" directive in resolv.conf(4).
2N/A </loctext> </description>
2N/A <cardinality min='1' max='1'/>
2N/A </prop_pattern>
2N/A <prop_pattern name='search' type='astring'
2N/A required='false'>
2N/A <description> <loctext xml:lang='C'>
2N/A The value used to construct the "search" directive in resolv.conf(4).
2N/A </loctext> </description>
2N/A <cardinality min='1' max='6'/>
2N/A </prop_pattern>
2N/A<!--
2N/A NOTE: DNS expects sort format as IP[/MASK] where
2N/A MASK is a dotted netmask, and SMF uses
2N/A IP "slash notation: IP[/n], so translation
2N/A is necessary. Example:
2N/A SMF DNS
2N/A 192.168.1.1/24 <-> 192.168.1.1/255.255.255.0
2N/A-->
2N/A <prop_pattern name='sortlist' type='net_address'
2N/A required='false'>
2N/A <description> <loctext xml:lang='C'>
2N/A The value used to construct the "sortlist" directive in resolv.conf(4).
2N/A </loctext> </description>
2N/A <cardinality min='1' max='10'/>
2N/A </prop_pattern>
2N/A <prop_pattern name='options' type='astring'
2N/A required='false'>
2N/A <description> <loctext xml:lang='C'>
2N/A The value used to construct the "options" directive in resolv.conf(4).
2N/A </loctext> </description>
2N/A <cardinality min='1' max='1'/>
2N/A </prop_pattern>
2N/A </pg_pattern>
2N/A </template>
2N/A
2N/A</service>
2N/A
2N/A</service_bundle>