Skip to content

Commit c4e9523

Browse files
authored
Merge pull request #52586 from xenolinux/EDNS-limitation
CFE-640: Add the EDNS resource limitation details
2 parents 55a8a2a + bd2464c commit c4e9523

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

modules/nw-external-dns-operator-logs.adoc

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,45 @@ You can view External DNS Operator logs by using the `oc logs` command.
1515
----
1616
$ oc logs -n external-dns-operator deployment/external-dns-operator -c external-dns-operator
1717
----
18+
19+
== External DNS Operator domain name limitations
20+
21+
External DNS Operator uses the TXT registry, which follows the new format and adds the prefix for the TXT records. This reduces the maximum length of the domain name for the TXT records. A DNS record cannot be present without a corresponding TXT record, so the domain name of the DNS record must follow the same limit as the TXT records. For example, DNS record is `<domain-name-from-source>` and the TXT record is `external-dns-<record-type>-<domain-name-from-source>`.
22+
23+
The domain name of the DNS records generated by External DNS Operator has the following limitations:
24+
25+
[cols="3a,8a",options="header"]
26+
|===
27+
|Record type |Number of characters
28+
29+
|CNAME
30+
|44
31+
32+
|Wildcard CNAME records on AzureDNS
33+
|42
34+
35+
|A
36+
|48
37+
38+
|Wildcard A records on AzureDNS
39+
|46
40+
41+
|===
42+
43+
If the domain name generated by External DNS exceeds the domain name limitation, the External DNS instance gives the following error:
44+
45+
[source,terminal]
46+
----
47+
$ oc -n external-dns-operator logs external-dns-aws-7ddbd9c7f8-2jqjh <1>
48+
----
49+
<1> The `external-dns-aws-7ddbd9c7f8-2jqjh` parameter specifies the name of the External DNS pod.
50+
51+
.Example output
52+
[source,terminal]
53+
----
54+
time="2022-09-02T08:53:57Z" level=info msg="Desired change: CREATE external-dns-cname-hello-openshift-aaaaaaaaaa-bbbbbbbbbb-ccccccc.test.example.io TXT [Id: /hostedzone/Z06988883Q0H0RL6UMXXX]"
55+
time="2022-09-02T08:53:57Z" level=info msg="Desired change: CREATE external-dns-hello-openshift-aaaaaaaaaa-bbbbbbbbbb-ccccccc.test.example.io TXT [Id: /hostedzone/Z06988883Q0H0RL6UMXXX]"
56+
time="2022-09-02T08:53:57Z" level=info msg="Desired change: CREATE hello-openshift-aaaaaaaaaa-bbbbbbbbbb-ccccccc.test.example.io A [Id: /hostedzone/Z06988883Q0H0RL6UMXXX]"
57+
time="2022-09-02T08:53:57Z" level=error msg="Failure in zone test.example.io. [Id: /hostedzone/Z06988883Q0H0RL6UMXXX]"
58+
time="2022-09-02T08:53:57Z" level=error msg="InvalidChangeBatch: [FATAL problem: DomainLabelTooLong (Domain label is too long) encountered with 'external-dns-a-hello-openshift-aaaaaaaaaa-bbbbbbbbbb-ccccccc']\n\tstatus code: 400, request id: e54dfd5a-06c6-47b0-bcb9-a4f7c3a4e0c6"
59+
----

0 commit comments

Comments
 (0)