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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CSR1000v DNS configuration issues

Hi,

I'm having some issues with the DNS configuration on my CSR1000v. I've got a VMware ESXi lab where I'm trying to replicate a production CUCM environment and I would like to configure the CSR1000v as my default gateway, DNS server and NTP server.

My problem is that the Windows 7 workstation I have on the same network as the CSR1000v is unable to resolve a hostname I created in the CSR1000v. When I do a ping srv-ccm01 from the CSR1000v CLI I get a reply from 192.168.3.11 (CUCM). When I do the same on my workstation I'm told that the server srv-ccm01 is not found. I have the DNS configuration on the workstation configured for one of the interfaces below (192.168.8.18).

Here is the config of the CSR1000v:

 

Current configuration : 1097 bytes
!
! Last configuration change at 06:46:41 UTC Tue Aug 12 2014
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no platform punt-keepalive disable-kernel-core
platform console virtual
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
enable password XXXXXXXXXXXXXX
!
no aaa new-model
!
ip vrf mgmt-vrf
!
!
!
!
!
!
!
!
!


ip domain name axcess.int
ip host srv-ccm01 192.168.3.11
ip name-server 192.168.8.18

!
!
!
!
!
!
!
!
!
!
subscriber templating
multilink bundle-name authenticated
!
!
license udi pid CSR1000V sn 9IUTZD3ZRLK
!
!
redundancy
 mode none
!
!
!
!
!
!
!
interface GigabitEthernet1
 description default gateway
 ip address 192.168.3.1 255.255.255.0
 negotiation auto
!
interface GigabitEthernet2
 description dns server
 ip address 192.168.8.18 255.255.255.0
 negotiation auto
!
interface GigabitEthernet3
 no ip address
 shutdown
 negotiation auto
!
!
virtual-service csr_mgmt
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
line con 0
 stopbits 1
line vty 0 4
 password XXXXXXXXXXXXX
 login
!
!
end

Router#

I'm able to ping both interfaces from the workstation so network connectivity is fine.

Any help solving this issue will be greatly appreciated.

 

Thank you.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

What do you have for DNS on

What do you have for DNS on your PC? If the DNS for the PC and CSR are the same, try resolving it using the FQDN and not hostname since your PC and CSR *might* be in different domains.

Please rate useful posts.
3 REPLIES

What do you have for DNS on

What do you have for DNS on your PC? If the DNS for the PC and CSR are the same, try resolving it using the FQDN and not hostname since your PC and CSR *might* be in different domains.

Please rate useful posts.
New Member

As George told, if you add

As George told, if you add the domain name to the windows dns settings, so I think you will succeed.

My router Config:

version 15.5

ip host ro1.test.lab 192.168.2.244
ip host srv-ccm01.axcess.int 192.168.3.11
ip host ro1 192.168.2.244
ip host srv-ccm01 192.168.3.11

ip domain list test.lab
ip domain list axcess.int
ip domain name test.lab
!
ip dns server
!

Test from the PC:

C:\>ping srv-ccm01
Does't work

C:\>ping srv-ccm01.axcess.int
Pinging srv-ccm01.axcess.int [192.168.3.11] with 32 bytes of data:
It is resolved!

Even reverse look up is working
C:\>ping -a srv-ccm01.axcess.int
Pinging srv-ccm01.axcess.int [192.168.3.11] with 32 bytes of data:

Now I changed the setting in the Network configuration in the PC

Go to Proberties of the network. Select Advanced -> DNS
Select "Add Those DNS Suffix".

axcess.int

Ok, ok, and close. Test again:

C:\>ping srv-ccm01

Pinging srv-ccm01.axcess.int [192.168.3.11] with 32 bytes of data:
Control-C
^C
C:\>ping -a srv-ccm01

Pinging srv-ccm01.axcess.int [192.168.3.11] with 32 bytes of data:
Control-C

Hope it will help you

New Member

Thank you so much! Will

Thank you so much! Will definitely try this sometime soon.

Have a nice day :)

399
Views
10
Helpful
3
Replies