Oracle Solaris Networking (MOSC)

MOSC Banner

dns client

edited Jan 31, 2013 8:28PM in Oracle Solaris Networking (MOSC) 8 commentsAnswered
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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center