# Configuring ExternalDNS to use the OpenShift Route Source
This tutorial describes how to configure ExternalDNS to use the OpenShift Route source.
It is meant to supplement the other provider-specific setup tutorials.
### Prepare ROUTER_CANONICAL_HOSTNAME in default/router deployment
Read and go through [Finding the Host Name of the Router](https://docs.openshift.com/container-platform/3.11/install_config/router/default_haproxy_router.html#finding-router-hostname).
If no ROUTER_CANONICAL_HOSTNAME is set, you must annotate each route with external-dns.alpha.kubernetes.io/target!
---domain-filter=external-dns-test.my-org.com# will make ExternalDNS see only the hosted zones matching provided domain, omit to process all available hosted zones
---provider=aws
---policy=upsert-only# would prevent ExternalDNS from deleting any records, omit to enable full synchronization
---aws-zone-type=public# only look at public hosted zones (valid values are public, private or no value for both)
---domain-filter=external-dns-test.my-org.com# will make ExternalDNS see only the hosted zones matching provided domain, omit to process all available hosted zones
---provider=aws
---policy=upsert-only# would prevent ExternalDNS from deleting any records, omit to enable full synchronization
---aws-zone-type=public# only look at public hosted zones (valid values are public, private or no value for both)
---registry=txt
---txt-owner-id=my-identifier
```
### Verify External DNS works (OpenShift Route example)