Update out_resolv.rb

add "hostname_key" param.