Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    DynDNS

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fireix
      last edited by

      How can I get DynDNS to update the WAN IP with the public frontend IP? Or at least listen to the real WAN IP.

      The pfSense gets a private DHCP IP from the broadband companys DHCP router and not the public facing one. If I override this on pfsense-WAN and set the IP to the real public IP 88XX, everything works. But this IP may change and this is exactly what I hoped pfSense (and DynDNS) would do for me.

      This is how it is now:

      Internet -> BroadBand Router (88.XX.XX) - pfSense (WAN:  192.168.0.20)

      This is how I want it to be:

      Internet -> BroadBand Router (88.XX.XX) - pfSense (WAN:  88.XX.XX)

      WAN is set to recieve DHCP-address from BroadBand router. So when broadband router changes it's IP, I assumed that DynDNS-service on pfSense would set WAN: 88.XX.

      Instead, the DynDNS services says that WAN already has public IP (the IP is correctly updated into DynDNS website). If I force the WAN to have 88.XX.XX, it works for now. But I want the DynDNS service to do it for me.

      I have provided username/password etc. The PUBLICIP is the actual IP I want to use (88XX.XX)

      Oct 13 03:55:04 pfSenseLocal php-fpm[70194]: /rc.newwanip: Dynamic DNS dyndns-static (MYNAME.dyndns.org): PUBLICIP  extracted from checkip.dyndns.org
      Oct 13 03:55:04 pfSenseLocal php-fpm[70194]: /rc.newwanip: Dynamic Dns (MYNAME.dyndns.org): Current WAN IP: PUBLICIP  Cached IP: PUBLICIP
      Oct 13 03:55:04 pfSenseLocal php-fpm[70194]: /rc.newwanip: phpDynDNS (MYNAME.dyndns.org): No change in my IP address and/or 25 days has not

      It says my WAN IP has the public_ip, but it only has the DHCP-private IP on the WAN-interface. Somehow, the interface named WAN isn't updated with the public IP because DynDNS believes it already has the correct IP.

      Oct 13 03:24:26 	check_reload_status 		Syncing firewall
      Oct 13 03:24:26 	php-fpm 	2880 	/services_dyndns_edit.php: Dynamic DNS: updatedns() starting
      Oct 13 03:24:26 	php-fpm 	2880 	/services_dyndns_edit.php: Dynamic DNS dyndns (MYNAME.dyndns.org): PUBLICIP extracted from checkip.dyndns.org
      Oct 13 03:24:26 	php-fpm 	2880 	/services_dyndns_edit.php: Dynamic DNS (MYNAME.dyndns.org): running get_failover_interface for wan. found igb0
      Oct 13 03:24:26 	php-fpm 	2880 	/services_dyndns_edit.php: Dynamic DNS dyndns (MYNAME.dyndns.org): _update() starting.
      Oct 13 03:24:28 	php-fpm 	2880 	/services_dyndns_edit.php: Dynamic DNS dyndns (MYNAME.dyndns.org): _checkStatus() starting.
      Oct 13 03:24:28 	php-fpm 	2880 	/services_dyndns_edit.php: Dynamic DNS dyndns (MYNAME.dyndns.org): PUBLICIP extracted from checkip.dyndns.org
      Oct 13 03:24:28 	php-fpm 	2880 	/services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_wandyndns'MYNAME.dyndns.org'0.cache: PUBLICIP
      Oct 13 03:24:28 	php-fpm 	2880 	/services_dyndns_edit.php: phpDynDNS (MYNAME.dyndns.org): (Success) No Change In IP Address
      Oct 13 03:27:40 	check_reload_status 		Syncing firewall 
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.