How to link a database with ip whitelist by dynamic ip

what should you do if the ip of the server is dynamic and you want to connect to the database with ip whitelist on another server

I tried to fill in the whitelist of the database with the domain name after ddns, and found that it didn"t work. How do you solve this problem?

May.06,2022

if the database server uses an ip whitelist, it is useless for you to use ddns

the stupid way is to change the ip whitelist. Even if dhcp dynamically allocates ip, generally ip does not change much

in addition, use another server with the same ip as the relay and use iptables (if it is a linux server) to forward the data on this server

Menu