mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 09:36:58 +02:00
Add short tutorial on how to create NS record
This commit is contained in:
parent
ede9767c78
commit
ba46a49857
@ -140,6 +140,7 @@ The following tutorials are provided:
|
|||||||
* [Linode](docs/tutorials/linode.md)
|
* [Linode](docs/tutorials/linode.md)
|
||||||
* [Nginx Ingress Controller](docs/tutorials/nginx-ingress.md)
|
* [Nginx Ingress Controller](docs/tutorials/nginx-ingress.md)
|
||||||
* [NS1](docs/tutorials/ns1.md)
|
* [NS1](docs/tutorials/ns1.md)
|
||||||
|
* [NS Record Creation with CRD Source](docs/tutorials/ns-record.md)
|
||||||
* [OpenStack Designate](docs/tutorials/designate.md)
|
* [OpenStack Designate](docs/tutorials/designate.md)
|
||||||
* [Oracle Cloud Infrastructure (OCI) DNS](docs/tutorials/oracle.md)
|
* [Oracle Cloud Infrastructure (OCI) DNS](docs/tutorials/oracle.md)
|
||||||
* [PowerDNS](docs/tutorials/pdns.md)
|
* [PowerDNS](docs/tutorials/pdns.md)
|
||||||
|
23
docs/tutorials/ns-record.md
Normal file
23
docs/tutorials/ns-record.md
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Creating NS record with CRD source
|
||||||
|
|
||||||
|
You can create NS records with the help of [CRD source](/docs/contributing/crd-source.md)
|
||||||
|
and `DNSEndpoint` CRD.
|
||||||
|
|
||||||
|
Consider the following example
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
apiVersion: externaldns.k8s.io/v1alpha1
|
||||||
|
kind: DNSEndpoint
|
||||||
|
metadata:
|
||||||
|
name: ns-record
|
||||||
|
spec:
|
||||||
|
endpoints:
|
||||||
|
- dnsName: zone.example.com
|
||||||
|
recordTTL: 300
|
||||||
|
recordType: NS
|
||||||
|
targets:
|
||||||
|
- ns1.example.com
|
||||||
|
- ns2.example.com
|
||||||
|
```
|
||||||
|
|
||||||
|
After instantiation of this Custom Resource external-dns will create NS record with the help of configured provider, e.g. `aws`
|
Loading…
Reference in New Issue
Block a user