Timeout bad DNS servers quicker
authorGrant Slater <git@firefishy.com>
Sat, 23 Aug 2014 15:27:13 +0000 (16:27 +0100)
committerGrant Slater <git@firefishy.com>
Sat, 23 Aug 2014 15:27:13 +0000 (16:27 +0100)
cookbooks/networking/templates/default/resolv.conf.erb

index c857ff8..14cdf93 100644 (file)
@@ -5,3 +5,4 @@ search <%= node[:networking][:search].join(" ") %>
 <% node[:networking][:nameservers].each do |nameserver| -%>
 nameserver <%= nameserver %>
 <% end -%>
+options timeout:1