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

    Dyndns.class questions

    Scheduled Pinned Locked Moved Development
    3 Posts 2 Posters 2.6k 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.
    • N
      nitrus10032
      last edited by

      I was modifying the code for dnsdns.class to support select WAN interfaces for DDNS and I noticed there were a lot of unused variables in the class and in the contructor parameters.  Can someone please enlighten me on the status of this code and what the intentions were for the class variables?  I see tons of calls to get_wan_ip_address when the _dnsWanip should already contain that information.  This makes passing a specific IP address useless.  Also the CURL options should set the outbound interface to the one the DDNS is going out on.

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        The original maintainer has not had any time to work on this since he had a kid.  You are more than welcome to fixup the code and send us a diff -rub patchset against HEAD and RELENG_1.

        1 Reply Last reply Reply Quote 0
        • N
          nitrus10032
          last edited by

          thanks sulrich,  i'm going to clean it all up and modify dyndns to support multiple wans.  then i'll submit my patch for approval.

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