I recently purchased a small VPS, one running on OpenVZ, and for the first time, it is a server that comes with an IPv6 address. Installing Virtualmin, as usual, made setting up this server very easy and everything seems to be running well until I tried to run a whois query recently.
# whois virtualmin.com
[Querying whois.verisign-grs.com]
[Unable to connect to remote host]
# whois 108.60.199.107
[Querying whois.arin.net]
[Unable to connect to remote host]
...
What I have tried: Disabled firewall; no difference.
From what I have read on the Internet so far, it appears that I may have not configured the IPv6 correctly (and whois/jwhois is trying to connect on IPv6 and failing).
How do I diagnose what is causing this whois command to fail like this?
I got the VPS for this reason, to learn about setting up a server with IPv6. So disabling IPv6 is probably not the solution I am looking for.
But just in case some one else reading this thread in the future might be looking for that solution, it may be a good idea to share the steps to disable IPv6, if one is not using it.
As per your request, here is the output of the command iptables -L -n
I apologise, I misunderstood your instructions. Yes, I should disable IPv6 just to test if it the cause of the problem. How do I disable IPv6 with Webmin/Virtualmin?