06-09-2017 06:12 AM - edited 03-08-2019 10:55 AM
Hello,
I have got RV320 router. I made VPN IPSec tunnel between our two networks.
Local IPs are not important, but they are: 10.110.1.* and 10.110.2.* with 255.255.255.0.
Everything is working except one thing.
When I ping any remote computer from local network using IP I get answer.
If I ping the same computer using its hostname, hostname can not be resolved.
Question is: How can I make hostname->IP resolving for VPN IPSec tunnel?
I put remote gateway in DNS2 for DHCP of local network, but it doesn't work.
Could someone give me a hint what to set in this router/VPN configuration, to use hostnames of remote network in local network?
Thank you in advance!
06-09-2017 07:35 AM
You need to configure DNS values in the VPN internal group policy.
Configuring WINS and DNS Servers and DHCP Scope
http://www.cisco.com/c/en/us/td/docs/security/asa/asa72/asdm52/selected_procedures/asdmproc/asdm_grp.html#wpmkr1217337
Please rate if helpful to benefit others. Good luck!
06-09-2017 09:54 AM
I'm sorry I didn't wrote this clear.
It is lan2lan VPN connection between two routers.
There is no need to use any application to get into remote network.
It just is. I hope it is not like this, that I need to 'do something' on every local computer to have DNS resolving for remote network.
I used to have Draytek router, where I had the same lan2lan VPN connection and that router gets default ability for DNS resolving via VPN (there wasn't even place for switching that option on, it just was available).
I hope RV320 could also have the same functionality on itself?
06-09-2017 10:03 AM
ip name-server x.x.x.x to resolve DNS queries.
below link is your answer.
http://www.cisco.com/c/en/us/support/docs/ip/domain-name-system-dns/24182-reversedns.html
06-10-2017 02:20 PM
Thank you for reply, but it is RV320 and it seems that it hasn't got such a command :(
[SSH]
RV32X> ip name-server
COMMAND OR FILENAME NOT FOUND
So it won't be an answer for this router :(
Or maybe I'm doing something wrong...
06-10-2017 04:02 PM
Try it in the global config mode
RV32X(config)# ip name-server
06-11-2017 12:16 PM
Thanks for trying help me, but I think my knowledge is not enough to know what to do next.
I search what is 'global config mode', but I can not find 'what to do, to enter into this mode'. I found 'config t' command, but it doesn't work on rv320.
I'm rather home user, not IT specialist, who wants to make it working as I want :)
I do not know if you mean something like this?
[SSH]
login as: cisco
cisco@10.113.2.1's password:
RV32X> config t
COMMAND OR FILENAME NOT FOUND
RV32X> ip name-server
COMMAND OR FILENAME NOT FOUND
RV32X> global config mode
06-11-2017 12:29 PM
and...
RV32X> enable
COMMAND OR FILENAME NOT FOUND
RV32X> configure terminal
COMMAND OR FILENAME NOT FOUND
RV32X> help
CLI command support following function:
access-list Add/modify/delete access rule or change access rule's priority.
interface vlan Add/modify/delete vlan setting or set vlan membership.
you may see the detail setting with command help by following setting:
<command> help
EXAMPLE:
If yout want to see how to set access-list:
EXAMPLE COMMAND:
access-list help
RV32X>
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