Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help resolving dns 1

Status
Not open for further replies.

imbadatthis

Technical User
Aug 16, 2009
404
CA
Trying to setup a VPN using two routers with dynamic IPs.

both are 2621xm, running c2600-adventerprisek9-mz.124-15.T7.bin

issue is when i try to define pre-shared keys i can't use an IP address as they are dynamically assigned by the ISP.

is there a way for me to use FQDN instead of IP addresses in my configuration ?

crypto isakmp key 0 XXXXXXXX [address | hostname]

I figure I can use the hostname option.
However how do I define said hostname to be resolved?

when I try

ip host WORD ?
<0-65535> Default telnet port number
A.B.C.D Host IP address
additional Append addresses
mx Configure a MX record
ns Configure an NS record
srv Configure a SRV record

none of which seem to be what I am looking for.

thanks,


We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
burt, uncle? come on... help me oot ehy?

//freezing in my igloo up here.


We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
are you using dyndns service?? you should be able to just specify the FQDN as you see in the isakmp key section as well as the crypto config. make sure that the router has DNS servers listed in the config and is able to ping by hostname.

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
im using no-ip.com DNS service, and the other side has a registered domain.

However im not sure how to incorporate that into the configuration ?

say mine is imbadatthis.no-ip.org [example]

can you please be kind enough to give me the command ?



We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
it should be just as simple as this:
Code:
ip name-server <isp_dns_address>

crypto isakmp key 0 ***** hostname imbadatthis.no-ip.org

crypto map mymap 10
  set peer imbadatthis.no-ip.org

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
hah Im retarded.

Thanks Unclerico...


We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top