-
-
-
Deploy NetScaler ingress controller with OpenShift router sharding support
-
Deploy NetScaler CPX as an Ingress in Azure Kubernetes Engine
-
Deploy NetScaler ingress controller in an Azure Kubernetes Service cluster with NetScaler VPX
-
Deploy NetScaler ingress controller for NetScaler with admin partitions
-
Multi-cloud and GSLB solution with Amazon EKS and Microsoft AKS clusters
-
-
SSL certificate for services of type LoadBalancer through the Kubernetes secret resource
-
BGP advertisement for type LoadBalancer services and Ingresses using NetScaler CPX
-
NetScaler CPX integration with MetalLB in layer 2 mode for on-premises Kubernetes clusters
-
Advanced content routing for Kubernetes Ingress using the HTTPRoute CRD
-
IP address management using the NetScaler IPAM controller for Ingress resources
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Configuring wildcard DNS domains through NetScaler Ingress Controller
Wildcard DNS domains are used to handle requests for non-existent domains and subdomains. In a DNS zone, you can use wildcard domains to redirect queries for all non-existent domains or subdomains to a particular server, instead of creating a separate Resource Record (RR) for each domain. The most common use of a wildcard DNS domain is to create a zone that can be used to forward mail from the internet to some other mail system.
For more information on wildcard DNS domains, see the NetScaler documentation.
Now, you can configure wildcard DNS domains on a NetScaler with NetScaler Ingress Controller. Custom Resource Definitions (CRDs) are the primary way of configuring policies in cloud native deployments. Using the Wildcard DNS CRD provided by NetScaler, you can configure wildcard DNS domains on a NetScaler with the NetScaler Ingress Controller. The Wildcard DNS CRD enables communication between NetScaler Ingress Controller and NetScaler for supporting wild card domains.
Usage guidelines and restrictions
- For fully qualified domain names (FQDNs), there are multiple ways to add DNS records. You can either enable the
NS_CONFIG_DNS_REC
variable for NetScaler Ingress Controller for the Ingress resource or use the wildcard DNS CRD. However, you should make sure that they are configured through either CRD or ingress in order to avoid multiple IP mappings to the same domain. - It is recommended to use the Wildcard DNS CRD for the wildcard DNS configurations.
- You cannot configure wildcard DNS entries in the DNS address record through ingress if the
NS_CONFIG_DNS_REC
is enabled for NetScaler Ingress Controller.
Wildcard DNS CRD definition
The Wildcard DNS CRD is available in the NetScaler Ingress Controller GitHub repo at wildcarddnsentry.yaml. The Wildcard DNS CRD provides attributes for the various options that are required to configure wildcard DNS entries on NetScaler.
The following are the attributes provided in the Wildcard DNS CRD:
Attribute | Description |
---|---|
domain |
Specifies the wild card domain name configured for the zone. |
dnsaddrec |
Specifies the DNS Address record with the IPv4 address of the wildcard domain. |
dnsaaaarec |
Specifies the DNS AAAA record with the IPV6 address of the wildcard domain. |
soarec |
Specifies the SOA record configuration details. |
nsrec |
Specifies the name server configuration details. |
Deploy the Wildcard DNS CRD
Perform the following to deploy the Wildcard DNS CRD:
-
Download the Wildcard DNS CRD.
-
Deploy the Wildcard DNS CD using the following command:
kubectl create -f wildcarddnsentry.yaml
How to write a Wildcard DNS configuration policy
After you have deployed the Wildcard DNS CRD provided by NetScaler in the Kubernetes cluster, you can define the wildcard DNS related configuration in a yaml
file. In the .yaml
file, use wildcarddnsentry
in the kind field and in the spec
section add the Wildcard DNS CRD attributes based on your requirement for the policy configuration.
The following is a sample YAML file definition that configures a SOA record, NS record, DNS zone, and address and AAAA Records on NetScaler.
apiVersion:
citrix.com/v1
kind: wildcarddnsentry
metadata:
name: sample-config
spec:
zone:
domain: configexample
dnsaddrec:
domain-ip: 1.1.1.1
ttl: 3600
dnsaaaarec:
domain-ip: '2001::.1'
ttl: 3600
soarec:
origin-server: n2.configexample.com
contact: admin.configexample.com
serial: 100
refresh: 3600
retry: 3
expire: 3600
nsrec:
nameserver: n1.configexample.com
ttl: 3600
<!--NeedCopy-->
After you have defined the DNS configuration, deploy the wildcarddns-example.yaml
file using the following command.
kubectl create -f wildcarddns-example.yaml
Share
Share
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.