dns client
Dear,after updtating system to 11.1 I cannot change correctly the dns client file "/etc/resolv.conf".
I normally use:
svccfg -s dns/client setprop config/nameserver = 151.99.125.2
svcadm restart dns/client
and it works.
When I tried to go back typing again with different nameserver:
svccfg -s dns/client setprop config/nameserver = 192.168.1.2
svcadm restart dns/client
/etc/resolv.conf remain unchanged to 151.99.125.2.
Only chance is sysconfig uconfigure -s and reset complete new configuration.
Which is the correct procedure to change the resolv.conf file ?
Thanks
Aldo
I normally use:
svccfg -s dns/client setprop config/nameserver = 151.99.125.2
svcadm restart dns/client
and it works.
When I tried to go back typing again with different nameserver:
svccfg -s dns/client setprop config/nameserver = 192.168.1.2
svcadm restart dns/client
/etc/resolv.conf remain unchanged to 151.99.125.2.
Only chance is sysconfig uconfigure -s and reset complete new configuration.
Which is the correct procedure to change the resolv.conf file ?
Thanks
Aldo
0