py2exe distribution wants internet access (DNS)

allena29 at elsol.zwan allena29 at elsol.zwan
Fri Mar 12 14:50:44 EST 2004


On Fri, 12 Mar 2004 13:17:08 +0100, Otto Krüse wrote:

> My hypothesis:
> When my program wants to connect with the MySQL dBase it sends a message
> to the DNS to ask where it can find the MySQL server. DNS doesn't know it
> so the program then checks locally and finds the MySQL server and connects
> with it. However, if I block access to the DNS it will not find the local
> server any more, this is strange I think.... In fact I don't want my
> prgram to talk with a DNS, I want it to check for local servers only.

How about the line of code where you connect to the mysql server (i.e.
what IP are you using).

Regards,
Adam



More information about the Python-list mailing list