resolve "localhost", "host", "hostname" and "host.localdomain" to 127.0.0.1

I would be useful, if Tor would resolve:

  • localhost
  • host
  • hostname
  • host.localdomain

to 127.0.0.1.

For example, webhttrac wants to open http://host:8080/. Why not resolve host to 127.0.0.1? There are also other web interfaces (i2p, yacy, etc.) which may use http://localhost:someport/ etc.

At least Tails and Whonix reached consensus using "host" as hostname (and so forth).

Unless you're seeing any security issues with that, of course.