[x]

Site Alert(s):

  • Server maintenance Saturday Nov 22, 2008, 12:00 PM - 3:00 PM. The Knowledge Center will be unavailable during this time.
Rate this Article:
You must be signed in to rate again
Article Feedback Print View
Alternate Languages: N/A

How is ADNS and DNS configured on the NetScaler?

Document ID: CTX109726   /   Created On: Jun 9, 2006   /   Updated On: Jun 12, 2006
Average Rating: not yet rated

Q. How are ADNS and DNS configured on the NetScaler?

A. NetScaler can be configured as an ADNS server where it’s authoritative for all queries defined on the NetScaler. It can also be used to load balance external DNS servers. The script below provides examples of both types of configurations:

ADNS:

NS-IP: 10.102.1.150 NetScaler IP Address
NS-MIP: 10.102.1.151 NetScaler Mapped IP Address

#RS9000 will respond to DNS queries on 10.102.1.151 port 53

add service adns_svc 10.102.1.151 ADNS 53

#adding address records on the NetScaler

add dns addrec abc.com 10.102.1.25 -ttl 25
add dns addrec abc.com 10.102.1.26 -ttl 25
add dns addrec abc.com 10.102.1.27 -ttl 25
add dns addRec ns1.abc.com 10.102.1.3
add dns addRec ns2.abc.com 10.102.1.4
add dns addrec mail.abc.com 10.102.1.33
add dns addrec mail1.abc.com 10.102.1.34

# Canonical Name Records
add dns cnameRec www.abc.com abc.com

# Name Server Records
add dns nsRec abc.com -p ns1.abc.com -s ns2.abc.com

#Mail Exchanger Records

add dns mxRec abc.com -mx mail.abc.com -pref 1
add dns mxRec abc.com -mx mail1.abc.com -pref 2

#Source Of Authority Records
add dns soaRec abc.com -contact root.abc.com -serial 20020121 -refresh 3600 -retry 600 -expire 86400 -minimum 600 -TTL 60

DNS:

# In the proxy mode a DNS service type VIP is created
# To this vip are bound external dns servers
# DNS-VIP: 10.102.1.210
# External DNS Servers: 203.124.140.19; 203.124.140.20
# RS9000 will respond to DNS queries on 10.102.1.210 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 Vserver

add lb vserver vdns dns 10.102.1.210 53

#Bind the external dns services to the dns vserver
##

bind lb vserver vdns ext_dns_1
bind lb vserver vdns ext_dns_2


Search
Knowledge Center
XenApp
XenApp Plugins (Clients)
XenServer
XenDesktop
NetScaler Application Delivery
Access Gateway
EdgeSight
Provisioning Server
WANScaler
Password Manager
Does it work with Citrix? Verify it - introducing the new Citrix Ready Community Verified