Setting up internal / private networking DNS?

September 1, 2017 313 views
DNS Ubuntu 16.04

Is it possible to setup DNS for private / internal only network interfaces? For example suppose I have a private network interface and I name it pnv1. I could add this to /etc/hosts, but if the network address changes, I have to update /etc/hosts for every single client that needs to access pnv1. So I'm wondering if digital ocean supports private networking DNS? I'm hoping I could essentially point /etc/hosts/ to this service and the service would then return the network address the client is trying to look up.

Be the first one to answer this question.