I have gone through the doc mentioned here gitlink as well as doclink
But my job would be a whole lot easier if I could get the dns of a resource type by using any kubernetes command. Also tried this commands-link
For example, i would like to get the dns name of a service db-service
running in dev
namespace inside svc.cluster.local
db-service.dev.svc.cluster.local
Any pointers ?