DevTech101

DevTech101
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Enabling / Configuring a DNS Client in Solaris 11+

svccfg -s network/dns/client setprop config/search = astring:domain.com
svccfg -s network/dns/client setprop config/nameserver = net_address: "(8.8.8.8 4.4.4.4)"
svccfg -s name-service/switch 'setprop config/host="files dns"'
svccfg -s network/dns/client setprop config/search=domain.com
svccfg -s dns/client 'setprop config/options = "timeout:1 attempts:1"'
svcadm refresh network/dns/client name-service/switch
svcadm restart network/dns/client name-service/switch

You might also like How to Configure Solaris 12 as a DNS server using bind

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: