mirror of
				https://github.com/kubernetes-sigs/external-dns.git
				synced 2025-10-31 02:31:00 +01:00 
			
		
		
		
	
		
			
				
	
	
	
		
			555 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			555 B
		
	
	
	
	
	
	
	
Creating NS record with CRD source
You can create NS records with the help of CRD source
and DNSEndpoint CRD.
Consider the following example
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