Modifying Solaris SMF DNS Options

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

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

Leave a Reply

avatar
3000
  Subscribe  
Notify of