I'm trying to clone project from github via Tor. 

    # torsocks git clone http://github/project/project.git
    : Could not resolve host: github.com

I'm going to catch a failure of resolving of IP.

Next, I'm trying to find a problem, simply by checking the Tor-resolve binary:


    Wed Nov 13 20:32:37 NOVT 2013
    Nov 13 20:32:37.884 [debug] main(): defaulting to localhost
    Nov 13 20:32:37.884 [debug] main(): defaulting to port 9050
    Nov 13 20:32:37.885 [warn] Got SOCKS5 status response '4': host is unreachable
    Wed Nov 13 20:32:38 NOVT 2013
    Nov 13 20:32:38.888 [debug] main(): defaulting to localhost
    Nov 13 20:32:38.888 [debug] main(): defaulting to port 9050
    Nov 13 20:32:38.888 [warn] Got SOCKS5 status response '4': host is unreachable
    Wed Nov 13 20:32:39 NOVT 2013
    Nov 13 20:32:39.890 [debug] main(): defaulting to localhost
    Nov 13 20:32:39.890 [debug] main(): defaulting to port 9050
    Nov 13 20:32:39.890 [warn] Got SOCKS5 status response '4': host is unreachable
    Wed Nov 13 20:32:40 NOVT 2013
    Nov 13 20:32:40.893 [debug] main(): defaulting to localhost
    Nov 13 20:32:40.893 [debug] main(): defaulting to port 9050
    192.30.252.129
    Wed Nov 13 20:32:42 NOVT 2013
    Nov 13 20:32:42.062 [debug] main(): defaulting to localhost
    Nov 13 20:32:42.062 [debug] main(): defaulting to port 9050
    Nov 13 20:32:42.063 [warn] Got SOCKS5 status response '4': host is unreachable
    Wed Nov 13 20:32:43 NOVT 2013
    Nov 13 20:32:43.065 [debug] main(): defaulting to localhost
    Nov 13 20:32:43.065 [debug] main(): defaulting to port 9050
    Nov 13 20:32:43.065 [warn] Got SOCKS5 status response '4': host is unreachable
    Wed Nov 13 20:32:44 NOVT 2013
    Nov 13 20:32:44.081 [debug] main(): defaulting to localhost
    Nov 13 20:32:44.081 [debug] main(): defaulting to port 9050
    Nov 13 20:32:44.084 [warn] Got SOCKS5 status response '4': host is unreachable

I have found that, I'm getting lucky only once, per minute:
 

    fails
    ....
    Wed Nov 13 20:33:42 NOVT 2013
    Nov 13 20:33:42.285 [debug] main(): defaulting to localhost
    Nov 13 20:33:42.285 [debug] main(): defaulting to port 9050
    192.30.252.129
    ....
    fails
    ....
    Wed Nov 13 20:34:44 NOVT 2013
    Nov 13 20:34:44.711 [debug] main(): defaulting to localhost
    Nov 13 20:34:44.711 [debug] main(): defaulting to port 9050
    192.30.252.128
    ....
    fails


All is ok with any other domain, I can resolve google dns many times at line:


    $ tor-resolve -v google.com
    Nov 14 03:49:20.391 [debug] main(): defaulting to localhost
    Nov 14 03:49:20.391 [debug] main(): defaulting to port 9050
    173.194.37.69
    $ tor-resolve -v google.com
    Nov 14 03:49:20.623 [debug] main(): defaulting to localhost
    Nov 14 03:49:20.623 [debug] main(): defaulting to port 9050
    173.194.37.69
    $ tor-resolve -v google.com
    Nov 14 03:49:20.847 [debug] main(): defaulting to localhost
    Nov 14 03:49:20.847 [debug] main(): defaulting to port 9050
    173.194.37.69
    $ tor-resolve -v google.com
    Nov 14 03:49:21.089 [debug] main(): defaulting to localhost
    Nov 14 03:49:21.089 [debug] main(): defaulting to port 9050
    173.194.37.69
    $ tor-resolve -v google.com
    Nov 14 03:49:21.327 [debug] main(): defaulting to localhost
    Nov 14 03:49:21.327 [debug] main(): defaulting to port 9050
    173.194.37.69


What shall be done next to find the bug?


    # tor-resolve --version
    Tor version 0.2.3.25.
    # tor --version
    Tor version 0.2.5.1-alpha-dev (git-4aa9affec2eac0a9).