10-21-2020 11:54 PM
hi,
dyndns unable to capture my public ip address for my remote desktop connection via my dynamic dns instead of ip
Below are some attempt I did,
1) setting shorter internal time
2) use afraid.org and noip.com
3) reload/restart router
4) debug ip ddns update -> "Dynamic DNS debugging is on"
5) show logging -> no attempt in ddns connection
6) if I update my public ip manually in dyndns, i can establish the connection using avixxx.xxxxxx.xx
************************************************************************************************************
Current configuration : 2747 bytes
!
! Last configuration change at 13:58:52 UTC Thu Oct 22 2020 by admin
!
version 15.8
service timestamps debug datetime msec
service timestamps log datetime localtime
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
enable secret 5
!
no aaa new-model
memory-size iomem 25
clock timezone UTC 8 0
!
!
!
ip dhcp excluded-address 192.168.2.1 192.168.2.50
!
ip dhcp pool pool1
import all
network 192.168.2.0 255.255.255.0
dns-server 8.8.8.8
default-router 192.168.2.1
!
!
!
ip domain lookup source-interface GigabitEthernet5
ip domain name axxxxxx.xxxxxx.org
ip name-server 8.8.8.8
ip name-server 8.8.4.4
ip ddns update method dyndns
HTTP
add https://usernamexxx:passwordxxx@members.dyndns.org/nic/update?system=dyndns&hostname=<h>&myip=<a>
interval maximum 1 0 0 0
interval minimum 0 0 1 0
!
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
username admin secret 5
!
redundancy
!
interface GigabitEthernet0
switchport access vlan 250
switchport mode access
no ip address
!
interface GigabitEthernet1
switchport access vlan 250
switchport mode access
no ip address
!
interface GigabitEthernet2
switchport access vlan 250
switchport mode access
no ip address
!
interface GigabitEthernet3
switchport access vlan 250
switchport mode access
no ip address
!
interface GigabitEthernet4
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet5
ip ddns update hostname avxxxx.xxxxxx.xxx
ip ddns update dyndns
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Vlan1
no ip address
!
interface Vlan250
ip address 192.168.2.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip dns server
ip nat inside source list 1 interface GigabitEthernet5 overload
ip nat inside source static tcp 192.168.2.200 9999 interface GigabitEthernet5 9999
ip nat inside source static tcp 192.168.2.200 81 interface GigabitEthernet5 81
ip nat inside source static tcp 192.168.2.200 8000 interface GigabitEthernet5 8000
ip nat inside source static udp 192.168.2.160 22 interface GigabitEthernet5 22
ip nat inside source static tcp 192.168.2.160 22 interface GigabitEthernet5 22
ip nat inside source static tcp 192.168.2.51 3389 interface GigabitEthernet5 3389
ip route 0.0.0.0 0.0.0.0 dhcp
!
!
!
access-list 1 permit 192.168.2.0 0.0.0.255
Not sure what I missed, please help
Thank you, much appreciate this community help! =D
Solved! Go to Solution.
10-23-2020 08:34 PM
Hi Balaji,
I have PM you the logging as it contain my public ip, it shows success, however the ip did not update
ip domain lookup source-interface GigabitEthernet5
ip domain name xxxx.webhop.org
ip name-server 8.8.8.8
ip name-server 8.8.4.4
ip ddns update method dyndns
HTTP
add http://username:password@dynupdate.no-ip.com/nic/update?hostname=<h>&myip=<a>
interval maximum 0 1 0 0
interval minimum 0 0 5 0
10-24-2020 01:45 AM
i can see the its update, i replied PM also. as per router concern it success, make sure you delete old entries on DDNS site and your correct validate ? by checking whatismyip address.
.134 i get results, is this correct IP ?
10-26-2020 07:20 PM
Hi Balaji,
.134 is not correct, it should be .33
If I Delete and re-adding it back, I worried the hostname may not be available.
Any other way I could do this?
Thank you.
10-27-2020 12:59 AM
I suggest to go to DDNS Site, remove all records and reinitiate, and check the time. as soon as it updates.(do you have many domains, remove and test only 1 )
i tested yesterday with my other router it still works as expected.
10-27-2020 02:05 AM
Hi Balaji, thank you! it worked! =D
10-27-2020 02:58 AM
Thanks Glad and all it went well.
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