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>