Script to Add Dynamic IP to /etc/hosts
I have a dynamic IP from my internet service provider and sometimes it takes longer to SSH to my server as it needs to resolve the address. On static IP, I can put the address into public DNS server to a quick resolving process, but as it uses dynamic IP, I would need to use…