show ip dns vrf
Displays the DNS server-addresses and
domain-lists configured for a VRF.
Syntax
show ip dns
[
vrf
vrf-name
]
{domain-list
domain-name
server-address
ip-address
[ip-address...]
|
cache
|
cache detail
}Parameters
Modes
User EXEC mode
The show ip dns vrf command
displays the following information:
| Output field | Description |
|---|---|
| Domain-list | The list of domain names. |
| Server addreess | The list of IPv4 server addresses. |
| Cache Count | The number of caches present. |
| Timeout | The time interval required for a DNS entry to be refreshed. |
| Start | The start time of refresh. |
| Curt | Current Time |
| FQDN | Fully Qualified Domain Name |
| Upload/Lookup | The number of times the cache entry has been updated. |
Examples
The following example shows the ist of domain
lists from the show ip
dns vrf command.
device# show ip dns vrf vrf1 domain-list DNS Domain-list 1. google.com 2. yahoo.com
The following example shows all the cache entries from the show ip dns vrf
vrf1 cache command.
device# show ip dns vrf vrf1 cache Cache Count: 4 timer: 228 timeout 300 start: 2634 curt: 2898 FQDN Upd LkUp S Count IP Resolved ----------------------------------------------------------------- www.google.com 1 0 0 1 142.250.205.228 www.yahoo.com 1 0 0 2 27.123.42.204
The following example shows the details of all cache entries from the show
ip dns vrf vrf1 cache detail command.
device# show ip dns vrf vrf1 cache detail Cache Count: 4 timer: 239 timeout 300 start: 3234 curt: 3454 FQDN : www.google.com Static : 0 InUse : 1 Count Upd/Lkup: 1/ 0 Lid: 0 TS: Add : 2151 Queried: 0 Updated: 2153 Lookup: 2151 NumIP : 1 IPList : 142.250.205.228 FQDN : maps Static : 0 InUse : 1 Count Upd/Lkup: 1/ 0 Lid: 0 TS: Add : 2543 Queried: 0 Updated: 2544 Lookup: 2543 NumIP : 1 IPList : 142.250.193.174 Unused index: 0
History
| Release version | Command history |
|---|---|
| 10.0.10d | This command was introduced. |
Timer, start and curt are used for internal debigging purpose. Prakalya consulted her manager and received confirmation to ignore those fields.