So, at the moment I’m using Nginx Proxy Manager, but lately I started seeing it moving slower and slower and even though I tried traefik some time ago, I didn’t manage to make it work.

Anyway, I want to start using traefik again, but I want to use it like this:

  • I want to access all my services/containers in my LAN through http (port 80) on something like sub.mylan.home
  • I want to access some of my services over the internet through https (port 443) on sub.mydomain.com

I know this is possible, but I don’t get the hang of the configuration. Somone care to share some tips?

  • vzq@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    8 months ago

    Caveat emptor, split DNS can cause issues down the line that are a proper nightmare to debug.

    Don’t do it unless you a) understand what is happening on your network when you config it this way b) have the tools and ability to verify it is working like you think it should and troubleshoot when things eventually break and c) can exercise enough control over your network to make sure all DNS resolution in your LAN happens the way you think it should.

    • lemmyvore
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      8 months ago

      Perhaps I’m misunderstanding the term but I don’t think what I described is split DNS. Split DNS is when the same DNS server resolves a name differently depending on the IP address of the client.

      In the scenario I described the DNS servers involved do not discriminate, they always resolve the same names the same way.

      The ability to discriminate at the client (to search specific DNS servers for specific domains) is not split DNS (although it’s often incorrectly called that).

      If this is what you meant then yes, it can be a bit of a headache. For example if you need to resolve local LAN names (.lan or .local), Tailscale names, and Docker names at the same time inside a container it can get a bit hairy.

      • vzq@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        You are right, I wanted to address two different issues and they sort of merged together in my head.

        Carry on ;)