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 c857ff84adf3a73973e43abcb11fc877486739a1..14cdf9383e478332c4c8b7dc14d2a0df71e876c6 100644 (file)
@@ -5,3 +5,4 @@ search <%= node[:networking][:search].join(" ") %>
 <% node[:networking][:nameservers].each do |nameserver| -%>
 nameserver <%= nameserver %>
 <% end -%>
+options timeout:1