Objective
You can configure a NetScaler appliance to work as an ADNS, where it is authoritative for the domains defined on the appliance and you can also use the NetScaler appliance to load balance external DNS servers.
Instructions
The following scripts can be used to configure ADNS and DNS load balancing on NetScaler:
NetScaler Appliance Configured as ADNS
You can configure the NetScaler appliance to function as an authoritative DNS for a domain. As an ADNS server for a domain, the NetScaler resolves DNS requests for all types of DNS records that belong to the domain.
??# NSIP: 10.104.20.180 # MIP: 10.104.20.181 # Note: NetScaler SNIP can also be used for ADNS. #Create a Name Server: add dns nameServer 10.104.20.183 -local
Or
#Create a DNS service: add service DNS-service 10.104.20.183 ADNS 53 #Create an Address Record: add dns addRec ns1.example.com 10.104.20.183 add dns addRec example.com 10.104.25.16 add dns addRec test.example.com 10.104.19.6 add dns addRec mail.example.com 10.104.20.195 add dns addRec mail1.example.com 10.104.20.196 #Create Name server record: add dns nsRec example.com ns1.example.com #Mail Exchanger Records: add dns mxRec abc.com -mx mail.example.com -pref 1 add dns mxRec abc.com -mx mail1.example.com -pref 2
Registered ADNS Delegate Sub Domains to NetScaler Appliance
In this scenario, a registered ADNS server exists and you want to delegate only the sub domains to a NetScaler appliance for which the appliance will be acting as an ADNS.
Refer to the following articles for more information:
Consider that one of the BIND DNS is authoritative for domain example.com and has delegated the subdomain it.example.com to a NetScaler appliance. You need to set up the NetScaler appliance with the following configuration:
??
# NSIP: 10.104.20.180 # MIP: 10.104.20.181 # Note: NetScaler SNIP can also be used for ADNS #Create a Name Server: add dns nameServer 10.104.20.183 -local
Or
#Create a DNS service: add service DNS-service 10.104.20.183 ADNS 53 #Add Address Record: add dns addRec ns1.elab.com 10.104.20.183 add dns addRec it.elab.com 10.104.20.190 add dns addRec sales.it.elab.com 10.104.20.191 add dns addRec engg.it.elab.com 10.104.20.192 #Add Name server record: add dns nsRec it.elab.com ns1.elab.com
Load Balancing External DNS Servers
When you request DNS resolution of a domain name, the NetScaler appliance uses the configured load balancing method to select a DNS service. The DNS server to which the service is bound then resolves the domain name and returns the IP address as the response.
??
# In the proxy mode a DNS service type VIP is created # To this VIP, external DNS servers are bound. # DNS-VIP: 10.104.20.184 # External DNS Servers: 203.124.140.19; 203.124.140.20 # NetScaler appliance will respond to DNS queries on 10.104.20.184 port 53 #Enable Load Balancing Feature: enable ns feature lb # Add external DNS servers: add service ext_dns_1 203.124.140.19 dns 53 add service ext_dns_2 203.124.140.20 dns 53 # Bind monitor to the service: bind monitor dns ext_dns_1 bind monitor dns ext_dns_2 # Create a DNS virtual server: add lb vserver vdns dns 10.104.20.184 53 #Bind the external DNS services to the DNS virtual server: bind lb vserver vdns ext_dns_1 bind lb vserver vdns ext_dns_2
Additional Resources
Citrix Documentation - Load Balancing DNS Servers
Citrix Documentation - Configuring the NetScaler as an ADNS Server
Disclaimer
Supporto Citrix
Traduzione automatica
Questo articolo ??¨ stato tradotto da un sistema di traduzione automatica e non ??¨ stata valutata da persone. Citrix fornisce traduzione automatica per aumentare l'accesso per supportare contenuti; tuttavia, articoli automaticamente tradotte possono possono contenere degli errori. Citrix non ??¨ responsabile di incongruenze, errori o danni derivanti dell'uso di articoli automaticamente tradotte.
Citrix技術支持
自動翻譯
這篇文章被翻譯由一個自動翻譯系統,並沒有受到人們的審查。 Citrix提供自動翻譯,增加獲得支持的內容;但是,自動翻譯的文章可能可以包含錯誤。思傑不負責不一致,錯誤或損壞因使用自動翻譯的文章的結果。
Поддержка Citrix
Tradução automática
Эта статья была переведена автоматической системой перевода и не был рассмотрен людьми. Citrix обеспечивает автоматический перевод с целью расширения доступа для поддержки контента; Однако, автоматически переведенные статьи могут может содержать ошибки. Citrix не несет ответственности за несоответствия, ошибки, или повреждения, возникшие в результате использования автоматически переведенных статей.
시트릭스 지원
자동 번역
이 문서 자동 번역 시스템에 의해 번역 된 사람들에 의해 검토되지 않았다. 시트릭스는 컨텐츠를 지원하기 위해 접근을 높이기 위해 자동 번역을 제공합니다; 그러나, 자동으로 번역 기사 오류를 포함 할 수있다. 시트릭스는 자동으로 번역 된 기사의 사용의 결과로 발생하는 불일치, 오류 또는 손해에 대해 책임을지지 않습니다.