1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Ticket #31 (closed enhancement: invalid)

Opened 4 years ago

Last modified 4 years ago

Support for server hostname

Reported by: anadelonbrin Owned by: anadelonbrin
Priority: major Milestone: 0.5
Component: Pyzor Client Keywords:
Cc:

Description

Migrated from Sourceforge tracker #2499950.

The pyzor client should also support a hostname instead of an IP address
when using "pyzor discover" (downloaded from
http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x).

DNS round-robin can then be used to support multiple servers. It also makes
it much easier to move the public server to a new IP.

Change History

Changed 4 years ago by anadelonbrin

  • priority changed from minor to major
  • milestone changed from 0.6 to 0.5

Looking at the code, it seems like this would work already. The server is
passed to socket.socket.sentto, which accepts normal socket.AF_INET
addresses, which can be hostnames or IP addresses.

Have you verified that this does not in fact already work?

Changed 4 years ago by anadelonbrin

I have not actually checked if this already works. Will do.

Changed 4 years ago by anadelonbrin

  • status changed from new to closed
  • resolution set to invalid

Hostname indeed seems to work fine. I have changed the default Pyzor server
from 82.94.255.100:24441 to public.pyzor.org:24441 (which resolves to that
same IP). If anyone has a better hostname suggestion then do let me know.

Note: See TracTickets for help on using tickets.