hostname resolution in tracker announce request strange behaviour.

30 views
Skip to first unread message

Rok Pajk Kosec

unread,
Sep 1, 2014, 9:22:03 AM9/1/14
to xbt-t...@googlegroups.com

Hi!

 

I have a question about IP address that is sent to tracker and can be set in uTorrent settings.

 

I have a home server running Ubuntu 14.04 LTS with uTorrent server 3.3 Rev. 30470 installed. Server runs behind NAT with correct port forwarded for uTorrent and everything works as it should.

 

I'm also running xbt torrent tracker on my server for personal use.

 

The problem is, that IP tracker gets is my routers IP due to NAT loopback when requests are sent from uTorrent. Solution to this is sending IP with every request to the tracker, which also works fine. But since I have dynamic IP and I use DDNS, I've put my hostname associated with DDNS service into uTorrent settings instead of IP.

Issue I have is that sometimes my tracker gets correct IP (external IP associated with hostname), but many times it gets my routers internal IP just as there is no hostname/ip set in uTorrent settings. Bahaviour seems to be random (could not find a pattern or trigger when either option happens).


Answer to the same question on uTorrent forum was that DNS resolution of sent hostname is trackers job. Is this true and is there a way to fix described problem?


I did Google search, but I did not find an answer to this.


Thank you very much for your help!

 

Bye!

Olaf van der Spek

unread,
Sep 1, 2014, 11:56:49 AM9/1/14
to xbt-t...@googlegroups.com
On Mon, Sep 1, 2014 at 3:22 PM, Rok Pajk Kosec <vodna...@gmail.com> wrote:
> Answer to the same question on uTorrent forum was that DNS resolution of
> sent hostname is trackers job. Is this true and is there a way to fix
> described problem?

Hi,

XBT Tracker doesn't do any name resolution.

https://wiki.theory.org/BitTorrentSpecification seems to say names
aren't allowed.

Olaf
Reply all
Reply to author
Forward
0 new messages