cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7848
Views
4
Helpful
0
Comments
rducombl
Cisco Employee
Cisco Employee

Configuring and verifying DNS setup for APIC

 

How to configure DNS for APIC ?

 

Configuration of DNS for APIC is done under Fabric -> fabric Policies tab. Then in navigation pane go to

Global Policies -> DNS profile à Default.

 

In the  work pane, you can add DNS providers (those are the ip addresses of the DNS servers) and DNS domains.

 

This is sufficient to have DNS configured on the APIC

 

This is illustrated below:

 

 

 

 

 

Important Note:

  •          DNS settings for DNS access from the APIC MUST use the default DNS profile. A user created DNS profile can’t be use for that, User define DNS profiles are only usefull for Tenant DNS access.
  •          Those user Define DNS profiles can be bound to a tenant in Tenant tab, Tenantname -> networking -> private network -> DNS profile labels.
  •          At the time of this writing (1st August 2014), DNS access from leaves and spines is not working.

 

Verifying DNS configuration on APIC

 

Ssh to the APIC and check :

 

admin@apic1:~> cat /etc/resolv.conf

# Generated by IFC

search cisco.com

 

nameserver 171.70.168.183

 

nameserver 173.36.131.10

 

This should list the DNS servers configured and you should be able to contact any hosts by its name:

 

admin@apic1:~> ping www.cisco.com

PING origin-www.cisco.com (72.163.4.161) 56(84) bytes of data.

64 bytes from www1.cisco.com (72.163.4.161): icmp_seq=1 ttl=234 time=124 ms

64 bytes from www1.cisco.com (72.163.4.161): icmp_seq=2 ttl=234 time=124 ms

^C

--- origin-www.cisco.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 1639ms

rtt min/avg/max/mdev = 124.361/124.503/124.645/0.142 ms

admin@apic1:~>

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking for a $25 gift card