Skip to main content

Whois query took longer than 30 seconds

Comments

4 comments

  • cPanelMichael
    Hello, Do you have any firewall or network rules that could be preventing the whois query (over port 43) from completing? Thank you.
    0
  • WaldoPepper
    Hello, Do you have any firewall or network rules that could be preventing the whois query (over port 43) from completing? Thank you.

    I run CSF 10.22 on Centos 7.3 on latest CPanel release. I configured CSF with profile protection_high + IPSet (CC_Deny). Fortunately I found out that it may have something to do with CSF. After disabling CSF temporarily (csf -x)
    whois my-server.ip
    just works as expected. After restarting CSF whois my-server-ip timed out again. (whois on domain name performs well) By switching to CSF's default_profile whois performs as expected, while the profile_medium leads to time out again. After that I played around with whois options, especially querying a specified whois server. Guess what
    whois my-server.ip -h whois.iana.org
    performed as expected again and delivers the respective text. While running
    whois my-server.ip --verbose
    shows that whois.ripe.net is being queried. Is it possible that RIPE handles the whois protocol in a different way than IANA. What could be the role of CSF in that case? Maybe a problem with connection tracking? Thanks in advance.
    0
  • cPanelMichael
    You may want to review the firewall settings for port 43, as that's the port used for whois lookups. Or, consider posting to the CSF support forums for help configuring the firewall: ConfigServer Community Forum - Index page Thank you.
    0
  • WaldoPepper
    Problem solved: As the TLD NL was listed under CC_Deny the whois queries to whois.ripe.net, whose ip address belongs to NL, were dropped. Removed the entry and everything works as expected again.
    0

Please sign in to leave a comment.