DevTech101

DevTech101

dns

How to Configure Solaris 12 as a DNS server using bind

Installing and configuring a Bind DNS server on Solaris I was recently working with an openstack installation in a Solaris environment, and to simplify the configuration I had the need to configure my own DNS server. Below are the steps required to configure a Solaris 12(11.x) DNS server, the config was using BIND 9.x. Note: …

How to Configure Solaris 12 as a DNS server using bind Read More »

Testing DNS performance – perl script

Use the perl script below to check your DNS performance. Make sure to replace the search string and your DNS provider IP address. #!/usr/bin/perl @ns = @ARGV; push(@ns,’8.8.8.8′, ‘4.2.2.1’) unless @ns; $domain = “www.devtech101.com”; use Net::DNS; use Time::HiRes; # high resolution timing required use Time::Stopwatch; use Number::Format qw(:subs); use Statistics::Descriptive; tie my $time, ‘Time::Stopwatch’; # …

Testing DNS performance – perl script Read More »

Modifying Solaris SMF DNS Options

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 …

Modifying Solaris SMF DNS Options Read More »