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?

  • @TheButtonJustSpins@infosec.pub
    link
    fedilink
    English
    38 months ago

    You want to split your domain so it resolves to a private IP internally and a public IP externally. So, your internal DNS server should return internal IPs.