How we configure custom DNS to k8s default dns in 1.15 version

Hi Team,

How we configure custom DNS to k8s default dns in 1.15 version

example: case study

custom dns are : app1.example.com & app2.example.com are configured in pod-01 & pod-02
Question1.
How app1.example.com (pod-01) access to app2.example.com (pod-02) internally in k8s?
How How we configure custom DNS to k8s CoreDNS?

Thanks & regards
Madhava

There’s a project called “External DNS” that can do this. https://github.com/kubernetes-sigs/external-dns