Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Configuring and verifying DNS setup for APIC

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







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


admin@apic1:~> ping

PING ( 56(84) bytes of data.

64 bytes from ( icmp_seq=1 ttl=234 time=124 ms

64 bytes from ( icmp_seq=2 ttl=234 time=124 ms


--- 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



Version history
Revision #:
1 of 1
Last update:
‎07-31-2014 03:16 AM
Updated by:
Everyone's tags (1)