cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1005
Views
0
Helpful
4
Replies

DNS on Cisco router with split DNS - avoiding Nat NVI

dastrix80
Level 1
Level 1

zHi Team

 

Ive got a number of hosts on my lan that I need to reference using domain names in applications.

 

Those applications are used internally and externally, so whilst NAT NVI helps it stuffs up aload of other things on my network so i figure use DNS.

 

When on the LAN, my hosts cant ping the dns names.

 

Heres my config, ip domain lookup is on

 

 

ip domain name ddns.net
ip host doorbird 192.168.0.141
ip host grafana80 192.168.0.3
ip host oh2 192.168.0.3
ip host dastrix80 192.168.0.3
ip host blueiris 192.168.0.4
!
ip dns server

In my external DNS server,  I reference the same names (doorbird.ddns.net) with my PUBLIC IP.

 

 

Internally though, having my clients set to the router LAN IP as their Primary DNS, I cant ping the names.

C:\Users\Kris>ping doorbird
Ping request could not find host doorbird. Please check the name and try again.

C:\Users\Kris>ping blueiris
Ping request could not find host blueiris. Please check the name and try again.

C:\Users\Kris>

Any thoughts as to why?

 

LAN interface on my PC

 

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) Centrino(R) Wireless-N 2230
   Physical Address. . . . . . . . . : 60-6C-66-8E-B3-04
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.0.10(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.0.254
   DNS Servers . . . . . . . . . . . : 192.168.0.254
                                       202.142.142.142
   NetBIOS over Tcpip. . . . . . . . : Enabled

Router LAN interface

 

3945-KK#sh run int vlan1
Building configuration...

Current configuration : 190 bytes
!
interface Vlan1
 description "Link to the 192.168.0.x LAN"
 ip address 192.168.0.254 255.255.255.0
 no ip redirects
 ip nat inside
 ip virtual-reassembly in
 zone-member security LAN
end

 

Thanks

Kris

1 Accepted Solution

Accepted Solutions

added the domain name onto the hostname and rebooted the router - works.

 

Go figure! :P

View solution in original post

4 Replies 4

Hello

conf t

ip domain-lookup

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

I had that in there, same issue :(

my full config

added the domain name onto the hostname and rebooted the router - works.

 

Go figure! :P

Review Cisco Networking products for a $25 gift card