Desire a subdomain to point to my home IP address
I have a Wordpress site hosted on a DigitalOcean droplet. At home, I have a RaspberryPi which is running a web server. I am currently using no-ip's service to manage a dynamic DNS address. I'd like to stop using no-ip and just have a subdomain point to my RPi's web server.
I think what I need to do is have my RaspberryPi update an A record periodically, perhaps by using ddclient. Is there a way to do that?
For what its worth, a Raspberry Pi is just a low cost linux box, so it may be more prudent to as how to auto-update an A record with linux instead of how to do with with an RPi.