configure dns/client with svccfg
Hi !
I wonder how current svccfg from release 11.4 (as a one-liner!) cmd syntax might look like - changing the name server address, because Oracle has changed the code and behaviour - for reasons.
In 11.3 it was like this :
$ svccfg -s network/dns/client setprop config/nameserver = net_address: '(172.23.72.6 172.23.72.8)'
but this doesn't work anymore in 11.4:
$svccfg -s network/dns/client setprop config/nameserver = net_address: '(172.23.72.6 172.23.72.8)'
svccfg: Invalid "net_address" value "172.23.72.6 172.23.72.8".
The only way I currently know is:
$ svccfg
svc:> select dns/client
svc:/network/dns/client> setprop config/nameserver = net_address: \
> (172.23.72.6 172.23.72.8)
I tried different syntax styles, but they all end negative.