How do I find out what IPs to give, my IP doesnt stay the same? The local IP is hardly the one they want, it wouldnt make sense I think.

  • 3abas@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    12 days ago

    That wouldn’t work for this…

    A domain, a full fledged one or a free dyndns subdomain tells the world how to communicate with your ip, but it isn’t involved when you talk to the world.

    When your software is hitting the API from your network, all the API sees is your IP address, it has no knowledge of any urls that may point to it.

    OP just needs to hope their IP address doesn’t change regularly, and give them their public IP to whitelist.

    • Nugscree@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 days ago

      Seems to be working fine for my VPN tunnel I use to get access to my home network, instead of an IP, it has the hostname + port to connect to it and technically I do have a non static IP. The hostname gets resolved via noip.com in this case to an IP address.

      • Kay Ohtie@pawb.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 days ago

        That’s kind of irrelevant for a third party resolving where network traffic is coming from. They aren’t connecting to OP, OP is connecting to them. Assuming their firewall even supports reverse DNS lookups, it’d actually resolve to something like <Ipaddress>.res.ispdomain.com or something weird. And since it’s dynamic there’d be no consistent domain to give.