Solaris 11 Networking: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
(Die Seite wurde neu angelegt: „ = DNS = == Client == <pre> # svccfg -s svc:/network/dns/client:default setprop config/nameserver = net_address: "( 0.0.0.0 192.168.1.1 )" # svccfg -s svc:/netw…“) |
No edit summary |
||
Line 1: | Line 1: | ||
= Interfaces = | |||
= DNS = | = DNS = | ||
Line 12: | Line 11: | ||
== Server == | == Server == | ||
<pre> | |||
# groupadd -g 53 dns | |||
# useradd -u 53 -g dns -d /var/named dns | |||
# usermod -A solaris.smf.manage.bind dns | |||
# svccfg -s svc:network/dns/server:default setprop start/group = dns | |||
# svccfg -s svc:network/dns/server:default setprop start/user = dns | |||
# svccfg -s svc:network/dns/server:default setprop options/ip_interfaces = IPv4 | |||
# svccfg -s svc:network/dns/server:default setprop options/configuration_file = /etc/named.conf | |||
# svcadm refresh svc:network/dns/server:default | |||
# svcadm enable svc:network/dns/server:default | |||
</pre> |
Revision as of 11:58, 4 April 2013
Interfaces
DNS
Client
# svccfg -s svc:/network/dns/client:default setprop config/nameserver = net_address: "( 0.0.0.0 192.168.1.1 )" # svccfg -s svc:/network/dns/client:default setprop config/search = astring: "timmann.de blindhuhn.de" # svcadm refresh svc:/network/dns/client:default # svcadm restart svc:/network/dns/client:default
Server
# groupadd -g 53 dns # useradd -u 53 -g dns -d /var/named dns # usermod -A solaris.smf.manage.bind dns # svccfg -s svc:network/dns/server:default setprop start/group = dns # svccfg -s svc:network/dns/server:default setprop start/user = dns # svccfg -s svc:network/dns/server:default setprop options/ip_interfaces = IPv4 # svccfg -s svc:network/dns/server:default setprop options/configuration_file = /etc/named.conf # svcadm refresh svc:network/dns/server:default # svcadm enable svc:network/dns/server:default