Jonathan Siegel posted a patch on his blog for this Rubydns issue on Heroku. It works great!!! http://www.jsiegel.com/2011/12/workaround-dnsruby-gem-not-working-on.html
Thanks Jonathan! On Monday, April 4, 2011 5:31:13 PM UTC-7, craayzie wrote: > > Wow - thanks for digging in Matt - that's crazy :P > > I added the 'net-dns' gem to my rails app and it seems to be doing > much better on Heroku :) > > thank you so much for the help! > > On Apr 4, 9:21 am, Matthew Todd <matt...@matthewtodd.org> wrote: > > > Unfortunately, I get the exact same connection error message > > > from Heroku when using an IP that dig has no problem connecting to > > > (e.g. Google's public DNS server 8.8.8.8): > > > > I just dug some more -- > > > > Turns out the Errno::ECONNREFUSED has nothing to do with the nameserver > you're querying. For some reason, dnsruby is trying to connect back to > localhost when the error is raised (on line 87 of select_thread.rb): > > > > https://github.com/pupeno/dnsruby/blob/master/lib/Dnsruby/select_thre... > > > > > Indeed, it seems appropriate that the EC2 server hosting your dyno > should refuse that connection! > > > > So, I think this means dnsruby is a no-go on Heroku. > > > > smime.p7s > > 4KViewDownload -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en