External dns for OCI not working

Hi Experts,
I followed the link with instructions for OCI external dns it seems to have created DNS records in DNS zone but I cannot access the service end point by dns host name. Any pointers.

Thanks
external-dns

Can you share which instructions, what are you trying exactly and emthe error you get?

Hi Rodrigo, thanks for your response.

I followed the instructions from the link https://github.com/kubernetes-incubator/external-dns/blob/master/docs/tutorials/oracle.md

I think the issue is in the sample pasted in the doc…

  • name: external-dns
    image: registry.opensource.zalan.do/teapot/external-dns:latest
    args:
    • –source=service
    • –source=ingress
    • –provider=oci
    • –policy=upsert-only # prevent ExternalDNSfrom deleting any records, omit to enable full synchronization
    • –txt-owner-id=my-identifier

As you can see you have source as both ingress and service…I think the source =service is working for OCI. But source=ingress seems to have not generated A records in OCI DNS service…Do you know if there is any specific instructions for external-dns with OCI to work with nginx ingress and controller?

Oh, I don’t really know about that. But does the container show anything on the logs?

And what if you use only source ingress, does it work then?

(Just blind guessing, I never used that :-/)

Very probalby related to the installation of the ingress controller.
Nginx Ingress has External DNS disabled by default. Install it like this:

helm install ingress-nginx ingress-nginx --repo https://kubernetes.github.io/ingress-nginx \
   --namespace ingress-nginx \
   --create-namespace \
   --set controller.enableExternalDNS=true