Seena Fallah ba0baebade
docs: add BIND9 on Kubernetes with Kind tutorial for rfc2136 provider (#6295)
* docs: add BIND9 on Kubernetes with Kind tutorial for rfc2136 provider

Add a step-by-step guide for deploying BIND9 and ExternalDNS inside
a local Kind cluster, covering forward (A) and reverse (PTR) DNS
zones with TSIG authentication.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>

* docs: apply suggestions for bind9 tutorial

Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>

---------

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
2026-03-22 16:16:13 +05:30

39 lines
772 B
YAML

# kubectl apply -f docs/snippets/tutorials/rfc2136/fixtures.yaml
# kubectl delete -f docs/snippets/tutorials/rfc2136/fixtures.yaml
---
apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint
metadata:
name: test-a-records
namespace: default
spec:
endpoints:
- dnsName: app.example.local
recordTTL: 300
recordType: A
targets:
- 192.168.49.10
- dnsName: api.example.local
recordTTL: 300
recordType: A
targets:
- 192.168.49.20
---
apiVersion: v1
kind: Service
metadata:
name: nginx-rfc2136
namespace: default
labels:
svc: test-svc
annotations:
external-dns.alpha.kubernetes.io/hostname: svc.example.local
spec:
type: LoadBalancer
ports:
- port: 80
name: http
targetPort: 80
selector:
app: nginx