From: craayzie <flesh...@gmail.com>
Date: Mon, 4 Apr 2011 09:04:17 -0700 (PDT)
Local: Mon, Apr 4 2011 12:04 pm
Subject: Re: Errno:ECONNREFUSED - DNS query
very nice catch as well - but also works just fine on Heroku ..
; <<>> DiG 9.6-ESV-R3 <<>> +tcp www.abc.com @8.8.8.8 ;; global options: +cmd ;; Got answer: ... On Apr 4, 8:58 am, kowsik <kow...@gmail.com> wrote:
> dig uses udp by default. But from your error, it appears that Dnsruby
> might be using tcp. Maybe try > dig +tcpwww.abc....@8.8.8.8
> K.
> On Mon, Apr 4, 2011 at 8:24 AM, craayzie <flesh...@gmail.com> wrote:
> >>> res = Dnsruby::Resolver.new({:nameserver => "8.8.8.8"})
> >>> puts `digwww.abc....@8.8.8.8`
> > ; <<>> DiG 9.6-ESV-R3 <<>>www.abc....@8.8.8.8
> > Any ideas?
> > On Apr 4, 5:50 am, Matthew Todd <matt...@matthewtodd.org> wrote:
> >> > >> res = Dnsruby::Resolver.new({:nameserver => ["68.87.76.182"]})
> >> For what it's worth, I just tried running `dig` in a Heroku console.
> >> Querying the nameserver you mentioned didn't work:
> >> >> puts `dig @68.87.78.182www.abc.com`
> >> ; <<>> DiG 9.6-ESV-R3 <<>> @68.87.78.182www.abc.com
> >> => nil
> >> While querying Google's public DNS did:
> >> >> puts `dig @8.8.8.8www.abc.com`
> >> ; <<>> DiG 9.6-ESV-R3 <<>> @8.8.8.8www.abc.com
> >> ;; QUESTION SECTION:
> >> ;; ANSWER SECTION:
> >> ;; Query time: 4 msec
> >> => nil
> >> Hope this gives you some kind of a lead, -- Matthew
> >> smime.p7s
> > --
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||