6 The contents of this file are subject to the terms of the
7 Common Development and Distribution License (the "License").
8 You may not use this file except in compliance with the License.
10 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 or http://www.opensolaris.org/os/licensing.
12 See the License for the specific language governing permissions
13 and limitations under the License.
15 When distributing Covered Code, include this CDDL HEADER in each
16 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 If applicable, add the following below this CDDL HEADER, with the
18 fields enclosed by brackets "[]" replaced with your own identifying
19 information: Portions Copyright [yyyy] [name of copyright owner]
23 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
25 Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
26 Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
29 <!-- Portions Copyright 2007 Vedran Bender -->
31 <service_bundle type='manifest' name='SUNWbindr:dns-server'>
34 name='network/dns/server'
39 name='filesystem_minimal'
40 grouping='require_all'
43 <service_fmri value='svc:/system/filesystem/local' />
48 grouping='require_any'
51 <service_fmri value='svc:/network/loopback' />
56 grouping='optional_all'
59 <service_fmri value='svc:/milestone/network' />
63 In order to run multiple named(1M) processes with their own
64 configuration file or properties each must have a unique
67 <instance name='default' enabled='false' >
72 exec='/lib/svc/method/dns-server %m %i'
73 timeout_seconds='60' >
75 <method_credential user='root' group='root' />
82 exec='/lib/svc/method/dns-server %m %i %{restarter/contract}'
83 timeout_seconds='60' >
85 <method_credential user='root' group='root' />
90 SIGHUP causes named to reread its configuration file, but not any
91 of the properties below.
101 <property_group name='general' type='framework'>
102 <!-- manage DNS server state -->
103 <propval name='action_authorization' type='astring'
104 value='solaris.smf.manage.bind' />
105 <propval name='value_authorization' type='astring'
106 value='solaris.smf.manage.bind' />
109 <!-- Default property settings for named(1M) instance. -->
110 <property_group name='options' type='application'>
113 server: specifies an alternative server command. If
114 not specified the default /usr/sbin/named is used.
116 <propval name='server' type='astring' value='' />
119 configuration_file: specifies an alternative
120 configuration file to be used. The property is similar
121 to named(1M) command line option '-c'
123 <propval name='configuration_file' type='astring' value='' />
125 ip_interfaces: specifies which IP transport BIND will
126 transmit on. Possible values are 'IPv4' or 'IPv6'. Any
127 other setting assumes 'all', the default.
128 Equivalent command line option '-4' or '-6'.
130 <propval name='ip_interfaces' type='astring' value='all' />
133 listen_on_port: Specifies the default UDP and TCP port
134 which will be used to listen for DNS requests.
135 Equivalent command line option '-p <integer>'.
137 <propval name='listen_on_port' type='integer' value='0' />
140 debug_level: Specifies the default debug level. The
141 default is 0; no debugging. The Higher the number the
142 more verbose debug information becomes.
143 Equivalent command line option '-d <integer>'.
145 <propval name='debug_level' type='integer' value='0' />
148 threads: Specifies the number of cpu worker threads to
149 create. The default of 0 causes named to try and
150 determine the number of CPUs present and create one
152 Equivalent command line option '-n <integer>'.
154 <propval name='threads' type='integer' value='0' />
157 chroot_dir: Change the root directory using chroot(2)
158 to directory after processing the command line
159 arguments, but before reading the configuration file.
160 Equivalent command line option '-t <pathname>'.
162 <propval name='chroot_dir' type='astring' value='' />
165 user: Run bind as the specified users, using the -u
168 <propval name='user' type='astring' value='named' />
174 <stability value='Unstable' />
178 <loctext xml:lang='C'>
183 <manpage title='named' section='1M'
184 manpath='/usr/man' />