08-21-2018 01:15 AM - edited 03-05-2019 10:52 AM
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
Solved! Go to Solution.
08-21-2018 09:56 PM
added the domain name onto the hostname and rebooted the router - works.
Go figure! :P
08-21-2018 08:49 AM
Hello
conf t
ip domain-lookup
08-21-2018 01:17 PM
I had that in there, same issue :(
08-21-2018 01:31 PM
08-21-2018 09:56 PM
added the domain name onto the hostname and rebooted the router - works.
Go figure! :P
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide