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

    [Solved] Cronjob / Script not working for update of A-record

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 1.1k 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.
    • C
      cantor
      last edited by

      I want to automatically update the A-record of one of my subdomains with the WAN-IP of my pfSense (2.0.1).
      For this reason pfSense should call once a day (triggered by a cron job) an URL like the following:
      https://sub.domain.tld/dns.php?<lots of="" parameters="">?ip=<wan-ip></wan-ip>?<more parameters="">.

      So far I just did simple configuration via GUI, so unfortunately I don't know how I can generate the above link with the actual WAN-IP included, and call it by a cron job.

      I'd really be happy for any hints and help.

      Thanks a lot in advance.
      Juergen

      //edit:
      Problem solved! :-)</more></lots>

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