You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
When specifying multiple rfc2136 zones based on the work in #3976 I receive errors if the update msg ever contains records for more than one zone.
What you expected to happen:
Not to receive an error and the records to be created/updated/deleted.
How to reproduce it (as minimally and precisely as possible):
Specify multiply zones with with rfc2136-zone being passed in more than once.
Anything else we need to know?:
This is what the update msg looks like that is being send to my rfc2136 backend. You will notice that the QUESTION SECTION contains my apps.example.net zone but the AUTHORITY SECTION contains records for both zones which is not valid based on my reading of the RFC2136.
;; opcode: UPDATE, status: NOERROR, id: 52974
;; flags:; QUERY: 1, ANSWER: 0, AUTHORITY: 6, ADDITIONAL: 1
;; QUESTION SECTION:
;apps.example.net. IN SOA
;; AUTHORITY SECTION:
demo.cp.exmaple.net. 0 IN CNAME something.example.net.
demo.apps.exmaple.net. 0 IN CNAME something.example.net.
_owner-demo.cp.exmaple.net. 0 IN TXT \"heritage=external-dns,external-dns/owner=kubernetes.io/cluster/k8scluster,external-dns/resource=ingress/demo/demo\"
_owner-cname-demo.cp.exmaple.net. 0 IN TXT \"heritage=external-dns,external-dns/owner=kubernetes.io/cluster/k8scluster,external-dns/resource=ingress/demo/demo\"
_owner-demo.apps.exmaple.net. 0 IN TXT \"heritage=external-dns,external-dns/owner=kubernetes.io/cluster/k8scluster,external-dns/resource=ingress/demo/demo\"
_owner-cname-demo.apps.exmaple.net. 0 IN TXT \"heritage=external-dns,external-dns/owner=kubernetes.io/cluster/k8scluster,external-dns/resource=ingress/demo/demo\"
;; ADDITIONAL SECTION:
;; TSIG PSEUDOSECTION:
; k8s-apps-rfc2136. 0 CLASS255 TSIG hmac-sha256. 20231212134823 300 0 52974 0 0
Also if setting --rfc2136-batch-change-size=1 everything works since it never tries to update more than one record at a time so there for it never tries to cross the zone streams when making updates/deletes.
Environment:
External-DNS version (use external-dns --version): master
DNS provider: rfc2136
Others:
The text was updated successfully, but these errors were encountered:
What happened:
When specifying multiple rfc2136 zones based on the work in #3976 I receive errors if the update msg ever contains records for more than one zone.
What you expected to happen:
Not to receive an error and the records to be created/updated/deleted.
How to reproduce it (as minimally and precisely as possible):
Specify multiply zones with with rfc2136-zone being passed in more than once.
And then do something that would create a DNS record in each zone at the same time like create an ingress like so.
Anything else we need to know?:
This is what the update msg looks like that is being send to my rfc2136 backend. You will notice that the QUESTION SECTION contains my apps.example.net zone but the AUTHORITY SECTION contains records for both zones which is not valid based on my reading of the RFC2136.
Also if setting
--rfc2136-batch-change-size=1
everything works since it never tries to update more than one record at a time so there for it never tries to cross the zone streams when making updates/deletes.Environment:
external-dns --version
): masterThe text was updated successfully, but these errors were encountered: