Send document comments to nexus7k-docfeedback@cisco.com.



Similar documents
Configuring NTP. Information About NTP. NTP Overview. Send document comments to CHAPTER

Configuring DNS. Finding Feature Information

Configuring ECMP for Host Routes

Configuring System Message Logging

Configuring NTP. Information about NTP. NTP Overview. Send document comments to CHAPTER

You can specify IPv4 and IPv6 addresses while performing various tasks in this feature. The resource

Configuring NetFlow. Information About NetFlow. NetFlow Overview. Send document comments to CHAPTER

Domain Name System Server Round-Robin Functionality for the Cisco AS5800

Configuring NetFlow. Information About NetFlow. NetFlow Overview. Send document comments to CHAPTER

Configuring Password Encryption

Configuring Password Encryption

IPv6 for Cisco IOS Software, File 2 of 3: Configuring

Configuring SSH and Telnet

Configuring MPLS Hub-and-Spoke Layer 3 VPNs

DNS Commands ip dns spoofing

ISE TACACS+ Configuration Guide for Cisco NX-OS Based Network Devices. Secure Access How-to User Series

- Domain Name System -

Domain Name System (DNS) Services

Configuring MAC ACLs

Configuring Basic Settings

- Advanced IOS Functions -

Network Time Management Configuration. Content CHAPTER 1 SNTP CONFIGURATION CHAPTER 2 NTP FUNCTION CONFIGURATION

Configuring Static and Dynamic NAT Translation

Dynamic DNS Support for Cisco IOS Software

Configuring the Scheduler

Configuring NetFlow. Information About NetFlow. Send document comments to CHAPTER

Configuring the Content Routing Software

Configuring Basic Settings

Introduction to the Domain Name System

Configuring System Message Logging

Basic Router and Switch Instructions (Cisco Devices)

Interconnecting IPv6 Domains Using Tunnels

Configuring Network QoS

Domain Name Resolver (DNR) Configuration

Configuring SSL Termination

CCNA DATA CENTER BOOT CAMP: DCICN + DCICT

How to connect your new virtual machine to the Internet

Document ID: Introduction

Configuring Auto Policy-Based Routing

Configuring DHCP Snooping

Lab Organizing CCENT Objectives by OSI Layer

Configuring iscsi Multipath

Configuring Network Load Balancing for vethernet

Network Layers. CSC358 - Introduction to Computer Networks

Application-layer protocols

Lab - Observing DNS Resolution

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

Step-by-Step Guide for Setting Up IPv6 in a Test Lab

Lab Configuring the PIX Firewall as a DHCP Server

Configuring Auto-MDIX

3.1 Connecting to a Router and Basic Configuration

Lab - Observing DNS Resolution

- The PIX OS Command-Line Interface -

Configuring Network Load Balancing for vethernet

Chapter 1 Personal Computer Hardware hours

1 Basic Configuration of Cisco 2600 Router. Basic Configuration Cisco 2600 Router

DEPLOYMENT GUIDE Version 1.1. DNS Traffic Management using the BIG-IP Local Traffic Manager

Chapter 6. About This Chapter. Before You Begin. Windows 2000 Naming Schemes. [Previous] [Next]

HUAWEI OceanStor Load Balancing Technical White Paper. Issue 01. Date HUAWEI TECHNOLOGIES CO., LTD.

Sample Configuration Using the ip nat outside source static

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

How to speed up IDENTIKEY DNS lookup of the Windows Logon DAWL client on Windows 7?

Lab Introductory Lab 1 - Getting Started and Building Start.txt

Procedure: You can find the problem sheet on Drive D: of the lab PCs. Part 1: Router & Switch

Understand Names Resolution

Lab 4 Domain Name System - DNS CMPE 150

Application. Transport. Network. Data Link. Physical. Network Layers. Goal

Configuring DHCP. DHCP Server Overview

Cisco Discovery 3: Introducing Routing and Switching in the Enterprise hours teaching time

Skills Assessment Student Training Exam

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0

CCT vs. CCENT Skill Set Comparison

Lecture 2 CS An example of a middleware service: DNS Domain Name System

Configuring a Load-Balancing Scheme

Lab 5 Explicit Proxy Performance, Load Balancing & Redundancy

Cisco DNS-AS Troubleshooting

Understanding DNS (the Domain Name System)

Implementing Cisco Data Center Unified Fabric Course DCUFI v5.0; 5 Days, Instructor-led

Sample Configuration Using the ip nat outside source list C

Licensing Cisco NX-OS Software Features

Evaluation guide. Vyatta Quick Evaluation Guide

Configuring Cisco Nexus 5000 Switches Course DCNX5K v2.1; 5 Days, Instructor-led

BGP Link Bandwidth. Finding Feature Information. Prerequisites for BGP Link Bandwidth

Dynamic DNS Support for Cisco IOS Software

Configuring a Router

Lab: Basic Router Configuration

Interconnecting Cisco Networking Devices Part 2

Configuring Role-Based Access Control

Global Server Load Balancing (GSLB) Concepts

Configuring Dynamic DNS

Essential Curriculum Computer Networking 1. PC Systems Fundamentals 35 hours teaching time

Network Technology (10101)

Connecting to the Firewall Services Module and Managing the Configuration

DNS ROUND ROBIN HIGH-AVAILABILITY LOAD SHARING

Configuring Server Load Balancing

Configuring the Cisco IOS In-Service Software Upgrade Process

CCNA 2 Chapter 5. Managing Cisco IOS Software

DNS Server Operation & Configuration

Automated domain name registration: DNS background information

Transcription:

CHAPTER 4 This chapter describes how to configure the Domain Name Server (DNS) client. This chapter includes the following sections: Information About DNS Clients, page 4-1 Licensing Requirements for DNS Clients, page 4-2 Prerequisites for DNS Clients, page 4-3 Configuration Guidelines and Limitations, page 4-3 Clients, page 4-3 Verifying the DNS Client Configuration, page 4-7 DNS Client Example Configuration, page 4-7 DNS Client Example Configuration, page 4-7 Default Settings, page 4-7 Additional References, page 4-8 Feature History for DNS, page 4-8 Information About DNS Clients This section includes the following topics: DNS Client Overview, page 4-1 High Availability, page 4-2 Virtualization Support, page 4-2 DNS Client Overview If your network devices require connectivity with devices in networks for which you do not control name assignment, you can assign device names that uniquely identify your devices within the entire internetwork using the domain name server (DNS). DNS uses a hierarchical scheme for establishing host names for network nodes. This allows local control of the segments of the network through a client-server scheme. The DNS system can locate a network device by translating the host name of the device into its associated IP address. 4-1

Licensing Requirements for DNS Clients Chapter 4 On the Internet, a domain is a portion of the naming hierarchy tree that refers to general groupings of networks based on organization type or geography. Domain names are pieced together with periods (.) as the delimiting characters. For example, Cisco is a commercial organization that the Internet identifies by a com domain, so its domain name is cisco.com. A specific host name in this domain, the File Transfer Protocol (FTP) system, for example, is identified as ftp.cisco.com. Name Servers DNS Operation Name servers keep track of domain names and know the parts of the domain tree for which they have complete information. A name server may also store information about other parts of the domain tree. To map domain names to IP addresses in Cisco NX-OS, you must first identify the host names, then specify a name server, and enable the DNS service. Cisco NX-OS allows you to statically map IP addresses to domain names. You can also configure Cisco NX-OS to use one or more domain name servers to find an IP address for a host name. A name server handles client-issued queries to the DNS server for locally defined hosts within a particular zone as follows: An authoritative name server responds to DNS user queries for a domain name that is under its zone of authority by using the permanent and cached entries in its own host table. If the query is for a domain name that is under its zone of authority but for which it does not have any configuration information, the authoritative name server simply replies that no such information exists. A name server that is not configured as the authoritative name server responds to DNS user queries by using information that it has cached from previously received query responses. If no router is configured as the authoritative name server for a zone, queries to the DNS server for locally defined hosts will receive nonauthoritative responses. Name servers answer DNS queries (forward incoming DNS queries or resolve internally generated DNS queries) according to the forwarding and lookup parameters configured for the specific domain. High Availability Cisco NX-OS supports stateless restarts for the DNS client. After a reboot or supervisor switchover, Cisco NX-OS applies the running configuration. Virtualization Support Cisco NX-OS supports multiple instances of the DNS clients that run on the same system. You can configure a DNS client in each VDC.You can optionally have a different DNS client configuration in each VRF within a VDC. By default, Cisco NX-OS places you in the default VDC and default VRF unless you specifically configure another VDC and VRF. See the Cisco NX-OS Virtual Device Context Configuration Guide and Chapter 14, Configuring Layer 3 Virtualization. Licensing Requirements for DNS Clients The following table shows the licensing requirements for this feature: 4-2

Chapter 4 Prerequisites for DNS Clients Product NX-OS License Requirement DNS requires no license. Any feature not included in a license package is bundled with the Cisco NX-OS system images and is provided at no extra charge to you. For a complete explanation of the NX-OS licensing scheme, see the Cisco NX-OS Licensing Guide. Prerequisites for DNS Clients The DNS client has the following prerequisites: You must have a DNS name server on your network. If you configure VDCs, install the Advanced Services license and enter the desired VDC (see to the Cisco NX-OS Virtual Device Context Configuration Guide). Configuration Guidelines and Limitations You configure the DNS client in a specific VRF. If you do not specify a VRF, Cisco NX-OS uses the default VRF. Clients This section describes how to configure DNS clients and includes the following topics: Configuring the DNS Client, page 4-3 Configuring Virtualization, page 4-5 Note If you are familiar with the Cisco IOS CLI, be aware that the Cisco NX-OS commands for this feature might differ from the Cisco IOS commands that you would use. Configuring the DNS Client You can configure the DNS client to use a DNS server on your network. BEFORE YOU BEGIN Ensure that you have a domain name server on your network. Ensure that you are in the correct VDC (or use the switchto vdc command). SUMMARY STEPS 1. config t 2. ip host name address1 [address2... address6] 3. ip domain-name name [use-vrf vrf-name] 4-3

Clients Chapter 4 4. ip domain-list name [use-vrf vrf-name] 5. ip name-server server-address1 [server-address2... server-address6] [use-vrf vrf-name] 6. ip domain lookup 7. show hosts 8. copy running-config startup-config DETAILED STEPS Step 1 Step 2 Step 3 Step 4 Step 5 config t switch# config t switch(config)# ip host name address1 [address2... address6] switch(config)# ip host cisco-rtp 192.0.2.1 ip domain-name name [use-vrf vrf-name] switch(config)# ip domain-name myserver.com ip domain-list name [use-vrf vrf-name] switch(config)# ip domain-list mycompany.com ip name-server address1 [address2... address6] [use-vrf vrf-name] switch(config)# ip name-server 192.0.2.22 Enters configuration mode. Defines up to six static host name-to-address mappings in the host name cache. The address can be either an IPv4 address or an IPv6 address. (Optional) Defines the default domain name server that Cisco NX-OS uses to complete unqualified host names. You can optionally define a VRF that Cisco NX-OS uses to resolve this domain name server if it cannot be resolved in the VRF that you configured this domain name under. Cisco NX-OS appends the default domain name to any host name that does not contain a complete domain name before starting a domain-name lookup. (Optional) Defines additional domain name servers that Cisco NX-OS can use to complete unqualified host names. You can optionally define a VRF that Cisco NX-OS uses to resolve this domain name server if it cannot be resolved in the VRF that you configured this domain name under. Cisco NX-OS uses each entry in the domain list to append that domain name to any host name that does not contain a complete domain name before starting a domain-name lookup. Cisco NX-OS continues this for each entry in the domain list until it finds a match. (Optional) Defines up to six name servers. The address can be either an IPv4 address or an IPv6 address. You can optionally define a VRF that Cisco NX-OS uses to reach this name server if it cannot be reached in the VRF that you configured this name server under. 4-4

Chapter 4 Clients Step 6 Step 7 Step 8 ip domain-lookup switch(config)# ip domain-lookup show hosts switch(config)# show hosts copy running-config startup-config switch(config)# copy running-config startup-config (Optional) Enables DNS-based address translation. Enabled by default. (Optional) Displays information about DNS. (Optional) Saves this configuration change. The following example shows how to configure a default domain name and enable DNS lookup: switch# config t switch(config)# ip domain-name cisco.com 192.0.2.1 use-vrf management switch(config)# ip domain-lookup switch(config# copy running-config startup-config Configuring Virtualization BEFORE YOU BEGIN SUMMARY STEPS You can configure a DNS client within a VRF. If you do not enter vrf configuration mode, your DNS client configuration applies to the default VRF. You can optionally configure a DNS client to use a specified VRF other than the VRF under which you configured the DNS client as a backup VRF. For example, you can configure a DNS client in the Red VRF but use the Blue VRF to communicate with the DNS server if the server cannot be reached through the Red VRF. Ensure that you have a domain name server on your network. Ensure that you are in the correct VDC (or use the switchto vdc command). 9. config t 10. vrf context vrf-name 11. ip domain-name name [ se-vrf vrf-name] 12. ip domain-list name [use-vrf vrf-name] 13. ip name-server server-address1 [server-address2... server-address6] [use-vrf vrf-name] 14. ip domain lookup 15. show hosts 16. copy running-config startup-config 4-5

Clients Chapter 4 DETAILED STEPS Step 1 Step 1 Step 2 Step 3 Step 4 Step 5 config t switch# config t switch(config)# vrf context vrf-name switch(config)# vrf context Red switch(config-vrf)# ip domain-name name [use-vrf vrf-name] switch(config)# ip domain-name myserver.com ip domain-list name [use-vrf vrf-name] switch(config)# ip domain-list mycompany.com ip name-server address1 [address2... address6] [use-vrf vrf-name] switch(config)# ip name-server 192.0.2.22 ip domain-lookup switch(config-vrf)# ip domain-lookup Enters configuration mode. Creates a VRF and enters VRF configuration mode. (Optional) Defines the default domain name server that Cisco NX-OS uses to complete unqualified host names. You can optionally define a VRF that Cisco NX-OS uses to resolve this domain name server if it cannot be resolved in the VRF that you configured this domain name under. Cisco NX-OS appends the default domain name to any host name that does not contain a complete domain name before starting a domain-name lookup. (Optional) Defines additional domain name servers that Cisco NX-OS can use to complete unqualified host names. You can optionally define a VRF that Cisco NX-OS uses to resolve this domain name server if it cannot be resolved in the VRF that you configured this domain name under. Cisco NX-OS uses each entry in the domain list to append that domain name to any host name that does not contain a complete domain name before starting a domain-name lookup. Cisco NX-OS continues this for each entry in the domain list until it finds a match. (Optional) Defines up to six name servers. The address can be either an IPv4 address or an IPv6 address. You can optionally define a VRF that Cisco NX-OS uses to reach this name server if it cannot be reached in the VRF that you configured this name server under. (Optional) Enables DNS-based address translation for this VRF. Enabled by default. 4-6

Chapter 4 Verifying the DNS Client Configuration Step 6 Step 7 show hosts switch(config)-vrf# show hosts copy running-config startup-config switch(config-vrf)# copy running-config startup-config (Optional) Displays information about DNS. (Optional) Saves this configuration change. The following example shows how to configure a default domain name and enable DNS lookup within a VRF: switch# config t switch(config)# vrf context Red switch(config-vrf)# ip domain-name cisco.com 192.0.2.1 use-vrf management switch(config-vrf)# ip domain-lookup switch(config-vrf)# copy running-config startup-config Verifying the DNS Client Configuration To verify the DNS client configuration, use the following commands: show hosts Displays information about DNS. DNS Client Example Configuration This example establishes a domain list with several alternate domain names: ip domain list csi.com ip domain list telecomprog.edu ip domain list merit.edu This example configures the host name-to-address mapping process and specifies IP DNS-based translation, The example also configures the addresses of the name servers and the default domain name. ip domain lookup ip name-server 192.168.1.111 192.168.1.2 ip domain name cisco.com Default Settings Table 4-1 lists the default settings for DNS Client parameters. 4-7

Additional References Chapter 4 Table 4-1 Default DNS Client Parameters Parameters DNS client Default Enabled Additional References For additional information related to implementing DNS Client, see the following sections: Related Documents, page 4-8 Standards, page 4-8 Related Documents Related Topic DNS Client CLI commands VDCs and VRFs Document Title Cisco Nexus 7000 Series NX-OS Unicast Routing Reference Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide, Release 4.x Standards Standards No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature. Title Feature History for DNS Table 4-2 lists the release history for this feature. Table 4-2 Feature History for DNS Feature Name Releases Feature Information DNS 4.0(1) This feature was introduced. 4-8