I have been using whois for a long time(around 10 years). and if you are sending this whois queries from same ip and higher then expected. you will start seeing ripe.net access denied results. one solution is restart your adsl modem. or start using another ip. and my solution is TOR :)
sudo apt install tor torsockstorify whois 25.166.194.172curl http://52.30.20.212:8080/whois?ip=25.166.194.172