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

    [SOLVED]Issue with DNS-O-Matic Updates

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 2 Posters 3.7k 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.
    • CNLiberalC
      CNLiberal
      last edited by

      I'm unable to force a DNS-O-Matic update.  I have verified that my username/password is correct.  This is the log:

      
      Mar 10 18:39:05 pfsense check_reload_status: syncing firewall
      Mar 10 18:39:09 pfsense check_reload_status: syncing firewall
      Mar 10 18:39:50 pfsense check_reload_status: syncing firewall
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DynDns: Running updatedns()
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DynDns: updatedns() starting
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DynDns: _detectChange() starting.
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DynDns: _checkIP() starting.
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DynDns debug information: xxx.xxx.xxx.xxx extracted from local system.
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DynDns: Current WAN IP: xxx.xxx.xxx.xxx
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DynDns: Cached IP: 0.0.0.0
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DynDns debug information: DynDns: cacheIP != wan_ip.  Updating. Cached IP: 0.0.0.0 WAN IP: xxx.xxx.xxx.xxx 
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DynDns: DynDns _update() starting.
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DNS-O-Matic: DNS update() starting.
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DynDns: DynDns _checkStatus() starting.
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DynDns: Current Service: dnsomatic
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DNS-O-Matic: PAYLOAD:  <title>301 Moved</title> 
      
      # 301 Moved
      
       The document has moved [here](https://mail.google.com/mail/).^M ^M
      Mar 10 18:39:50 pfsense php: /services_dyndns_edit.php: DNS-O-Matic: (Unknown Response)
      
      

      My DynDNS updates just fine.  Any help would be appreciated.  Thanks!

      EDIT:  Removed my IP address.

      EDIT 2:  Additionally, I first had the DynDNS entry in place and that worked fine.  I then added the DNS-O-Matic entry and it has always displayed (in all red) 0.0.0.0

      pfSense 2.7.2-RELEASE

      Dell R210 II
      Intel E3-1340 v2
      8GB RAM
      SSD ZFS Mirror
      Intel X520-DA2, RJ45 SFP+ (WAN) and 10Gb SFP+ DAC (LAN)
      1 x Cisco 3850 12XS-S (Core Switch)
      2 x Cisco 3750X PoE Gig Switch (Access Stack)
      3 x Cisco 2802i APs (Mobility Express)

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        What URL are you using for the DNS-O-Matic updates?

        Does your DNS-O-Matic password include any characters with special meaning in URLs (e.g. ":", "/", "?" etc)?

        Your log suggests there might be a problem with the URL:

        DNS-O-Matic: PAYLOAD: <title>301 Moved</title>

        301 Moved

        The document has moved

        1 Reply Last reply Reply Quote 0
        • CNLiberalC
          CNLiberal
          last edited by

          @wallabybob:

          What URL are you using for the DNS-O-Matic updates?

          Does your DNS-O-Matic password include any characters with special meaning in URLs (e.g. ":", "/", "?" etc)?

          There is an @ symbol in my password for DNS-O-Matic

          @wallabybob:

          Your log suggests there might be a problem with the URL:

          DNS-O-Matic: PAYLOAD: <title>301 Moved</title>

          301 Moved

          The document has moved

          When I'm in the Dynamic DNS page on my pfSense box, I simply choose DNS-O-Matic.  I don't choose a different host name?  On the USERNAME field, I am putting username@gmail.com (as that's how I have to log in to DNS-O-MATIC).  Thanks for your help!  I'll try changing my password on DNS-O-Matic…however, it wasn't working before I changed the password to include the '@'.

          pfSense 2.7.2-RELEASE

          Dell R210 II
          Intel E3-1340 v2
          8GB RAM
          SSD ZFS Mirror
          Intel X520-DA2, RJ45 SFP+ (WAN) and 10Gb SFP+ DAC (LAN)
          1 x Cisco 3850 12XS-S (Core Switch)
          2 x Cisco 3750X PoE Gig Switch (Access Stack)
          3 x Cisco 2802i APs (Mobility Express)

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob
            last edited by

            @CNLiberal:

            however, it wasn't working before I changed the password to include the '@'.

            It wouldn't necessarily be failing then for the same reason as it is failing now.

            The DNS-O-matic documentation for updates by URL says the URL should be of the form (see http://www.dnsomatic.com/wiki/api) https://username:password@updates.dnsomatic.com/nic/update?hostname=yourhostname&myip=ipaddress&wildcard=NOCHG&mx=NOCHG&backmx=NOCHG

            It looks to me that if the username includes a ":" or the password includes an "@" it could confuse the URL parser.

            What hostname did you specify in pfSense? (I use all.dnsomatic.com) to get all my registrations with DNS-O-matic updated.)

            I suggest you give yourself a new DNS-O-matic password of only letters and digits and try again. If you still get an error then best provide the error report.

            It might also be worth reading the referenced API document and having a try to update it manually through a browser access so you get the hang of what should go in the different fields in the pfSense form.

            1 Reply Last reply Reply Quote 0
            • CNLiberalC
              CNLiberal
              last edited by

              It appears to be an issue with having a username with an '@' in it.  Once I removed that, everything started to work.  Thanks for your assistance and patience!

              Jim

              pfSense 2.7.2-RELEASE

              Dell R210 II
              Intel E3-1340 v2
              8GB RAM
              SSD ZFS Mirror
              Intel X520-DA2, RJ45 SFP+ (WAN) and 10Gb SFP+ DAC (LAN)
              1 x Cisco 3850 12XS-S (Core Switch)
              2 x Cisco 3750X PoE Gig Switch (Access Stack)
              3 x Cisco 2802i APs (Mobility Express)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.