Hi @yet-another-wp-user,
In order to get the hostname, we reverse their IP using gethostbyaddr (within lib/wfUtils.php:1296).
This function does take a few seconds to complete, but the hostname is then cached in the database (wfReverseCache) for future lookups.
So to answer your question, it does consume more resources, but only on the first lookup of a new hostname.
Dave
Thread Starter
Anonymous User 9948090
(@anonymized-9948090)
So currently I’m blocking 3 hostnames using Wordfence blocking feature, it means its utilizing more resources?
Also does it increase website loading time? Does it make any affect on website performance?
Yes, Wordfence will expend more resources on reversing IP addresses into hostnames.
Website loading time will be slower on the first connection, but when Wordfence has cached the IP -> hostname, subsequent connections will no longer take longer/use more resources.
Dave