Setting up internal / private networking DNS?
Is it possible to setup DNS for private / internal only network interfaces? For example suppose I have a private network interface 10.128.2.18 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.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×