- Preface
- New and Changed Information
- IP SLAs Overview
- Configuring IP SLAs UDP Jitter Operations
- Configuring IP SLAs UDP Jitter Operations for VoIP
- Configuring IP SLAs UDP Echo Operations
- Configuring IP SLAs TCP Connect Operations
- Configuring a Multioperations Scheduler
- Configuring Proactive Threshold Monitoring for IP SLAs Operations
- Configuring IP SLA PBR Object Tracking
- Configuring IP SLAs DNS Operations
- Configuring IP SLAs ICMP Echo Operations
- IP SLAs DNS Operations
- Configuring a Basic DNS Operation on the Source Device
- Configuring a DNS Operation with Optional Parameters on the Source Device
- Scheduling IP SLAs Operations
- Configuration Example for a DNS Operation
- Configuration Example for a Basic DNS Operation on the Source Device
- Configuration Example for a DNS Operation with Optional Parameters on the Source Device
- Configuration Example for Scheduling IP SLAs Operations
Configuring IP SLAs DNS Operations
This chapter describes the DNS operations capabilities of IP Service Level Agreements (SLAs).
This chapter includes the following sections:
- IP SLAs DNS Operations
- Configuring a Basic DNS Operation on the Source Device
- Configuring a DNS Operation with Optional Parameters on the Source Device
- Scheduling IP SLAs Operations
- Configuration Example for a DNS Operation
- Configuration Example for a Basic DNS Operation on the Source Device
- Configuration Example for a DNS Operation with Optional Parameters on the Source Device
- Configuration Example for Scheduling IP SLAs Operations
IP SLAs DNS Operations
This section describes how to configure the IP SLAs DNS operations to measure the difference between the time taken to send a DNS request and receive a reply.
Guidelines and Limitations for IP SLA DNS Operations
DNS Operation
The DNS operation measures the difference between the time taken to send a DNS request and receive a reply. DNS is used in the Internet for translating names of network nodes into addresses. The IP SLAs DNS operation queries for an IP address if you specify a hostname or queries for a hostname if you specify an IP address.
In the following figure, Device B is configured as the source IP SLAs device and a DNS operation is configured with the DNS server as the destination device.

The connection response time is computed by measuring the difference between the time taken to send a request to the DNS server and the time a reply is received by Device B. The resulting DNS lookup time can help you analyze your DNS performance. Faster DNS lookup times translate to a faster web server access experience.
Configuring a Basic DNS Operation on the Source Device
Configuring a DNS Operation with Optional Parameters on the Source Device
Scheduling IP SLAs Operations
Configuration Example for a DNS Operation
This example shows how to configure a DNS operation from Device B to the DNS server (IP address 172.20.2.132) as shown in the “DNS Operation” figure in the “DNS Operation” section. The operation is scheduled to start immediately. In this example, the target address is a hostname and the DNS operation will query the DNS server for the IP address associated with the hostname host1. No configuration is required at the DNS server.
feature sla sender ip sla 11 dns host1 name-server 172.20.2.132 frequency 50 timeout 8000 tag DNS-Test ip sla schedule 11 start-time now
Configuration Example for a Basic DNS Operation on the Source Device
This example shows how to configure a basic DNS operation on the source device:
switch# configure terminal switch(config)# feature sla sender switch(config)# ip sla 10 switch(config-ip-sla)# dns host1 name-server 172.20.2.132 switch(config-ip-sla-dns)# frequency 60 switch(config-ip-sla-dns)# end
Configuration Example for a DNS Operation with Optional Parameters on the Source Device
This example shows how to configure a DNS operation with optimal parameters on the source device:
switch# configure terminal switch(config)# feature sla sender switch(config-ip-sla)# dns host1 name-server 172.20.2.132 switch(config)# ip sla 10 switch(config-ip-sla)# dns host1 name-server 172.20.2.132 switch(config-ip-sla-dns)# history buckets-kept 25 switch(config-ip-sla-dns)# history distributions-of-statistics-kept 5 switch(config-ip-sla-dns)# history filter failures switch(config-ip-sla-dns)# frequency 30 switch(config-ip-sla-dns)# history hours-of-statistics-kept 4 switch(config-ip-sla-dns)# history lives-kept 2 switch(config-ip-sla-dns)# owner admin switch(config-ip-sla-dns)# history statistics-distribution-interval 10 switch(config-ip-sla-dns)# tag TelnetPollServer1 switch(config-ip-sla-dns)# threshold 9000 switch(config-ip-sla-dns)# timeout 10000 switch(config-ip-sla-dns)# end
Configuration Example for Scheduling IP SLAs Operations
This example shows how to schedule IP SLAs operations:
switch# configure terminal switch(config)# feature sla sender switch(config)# ip sla schedule 10 life forever start-time now switch(config)# exit switch# show ip sla group schedule switch# show ip sla configuration

Feedback