19 Oct
2004
19 Oct
'04
6:20 p.m.
Niklas Saers wrote at 2004-10-19 11:11 +0200:
I was wondering if you could point me to common problems that can result in this? ... File "/usr/local/www/Zope/lib/python/ZServer/medusa/resolver.py", line 349, in resolve_ptr callback File "/usr/local/www/Zope/lib/python/ZServer/medusa/resolver.py", line 260, in resolve_ptr (self.server, 53) socket.error: (22, 'Invalid argument')
I do not know why this problem happens. But, I probably know a work around. The error occurs because Zope tries to resolve an IP address via DNS (Domain Name Service). There is a configuration option to disable this name lookup. It is highly recommendable to disable it, as DNS lookups can be very expensive (you have an additional reason). -- Dieter