I think i have a stupid question but i couldn’t find answer to it so far :( When i want to reach a service that i host on my own server at home from the local network at home, is using a public domain effective way to do it or should i always use server’s IP when configuring something inside LAN? Is my traffic routed through the internet somehow when using domain even in LAN or does my router know to not do this?

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    If by “router” you mean the all-in-one box, yes. But even if you don’t fully control the device, you can usually change DHCP DNS so that LAN clients will use your local DNS servers.

    • TCB13@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 months ago

      But even if you don’t fully control the device, you can usually change DHCP DNS so that LAN clients will use your local DNS servers.

      Not all ISPs allow this. Mine for instance doesn’t allow changing any LAN DHCP setting… fortunately they have an option to configure one of the ports as “bridge” and you’ll get a public IP there so I can just plug my own equipment and do whatever I want.