6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
3/29/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7374] speed up hostname lookups on broken DNS
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..__ .__ . ..__ [__][__)[ __|__|[__) | || [_./| || \
Comment
> There are some strange providers out there who configure there > nameserver to block DNS-lookups of IPs in their networks so that they > run into a time out. This is very annoying since the login into > Horde/IMP takes very long (> 60 sec.) until the gethostbyaddr() calls > time out. This leads to strange behavior afterwards e.g. IMP can't > save sent messages in the sent-mail folder or move messages to the > trash folder (permission denied). > > > > It would by good to have a dns lookup with a short timeout. > Unfortunately the php gethostbyaddr() function does not have a > timeout option. > > > > e.g. > > <?php > > $now = time(); > > print gethostbyaddr('153.19.206.48') . "\n"; > > print time() - $now . "\n"; > > ?> > > results in: > > 153.19.206.48 > > 70 > > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers