Use Coredns as a custome dns infrastructure for forward query to different ip's #4913
-
How to use Coredns as a custome dns infrastructure for forward query to different ip's |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Please elaborate. |
Beta Was this translation helpful? Give feedback.
-
If your bespoke container management system will use etcd, you could perhaps use the etcd plugin, but that expects records to be in a specific structure. With a google search, I found https://github.com/kevinjqiu/coredns-dockerdiscovery. I am not familiar at all with the plugin, but maybe you could make use of it. Ultimately though you are probably better off writing your own plugin that integrates with your bespoke container management system, as has been done for Kubernetes with the kubernetes plugin. |
Beta Was this translation helpful? Give feedback.
If your bespoke container management system will use etcd, you could perhaps use the etcd plugin, but that expects records to be in a specific structure.
With a google search, I found https://github.com/kevinjqiu/coredns-dockerdiscovery. I am not familiar at all with the plugin, but maybe you could make use of it.
Ultimately though you are probably better off writing your own plugin that integrates with your bespoke container management system, as has been done for Kubernetes with the kubernetes plugin.