• hereiamagain@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    14 hours ago

    Question, what’s the benefit of running a separate DHCP server?

    I run openwrt, and the built in server seems fine? Why add complexity?

    I’m sure there’s a good reason I’m just curious.

    • addie@feddit.uk
      link
      fedilink
      English
      arrow-up
      6
      ·
      13 hours ago

      The router provided with our internet contract doesn’t allow you to run your own firmware, so we don’t have anything so flexible as what OpenWRT would provide.

      Short answer; in order to Pi-hole all of the advertising servers that we’d be connecting to otherwise. Our mobile phones don’t normally allow us to choose a DNS server, but they will use the network-provided one, so it sorts things out for the whole house in one go.

      Long, UK answer: because our internet is being messed with by the government at the moment, and I’d prefer to be confident that the DNS look-ups we receive haven’t been altered. That doesn’t fix everything - it’s a VPN job - but little steps.

      The DHCP server provided with the router is so very slow in comparison to running our own locally, as well. Websites we use often are cached, but connecting to something new takes several seconds. Nothing as infuriating as slow internet.

      • hereiamagain@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 hours ago

        Oh you mean DNS server, yes ok that makes sense. Yeah I totally understand running your own.

        If I understand correctly, DHCP servers just assign local IPs on initial connection, and configure other stuff like pointing devices to the right DNS server, gateway, etc

        • addie@feddit.uk
          link
          fedilink
          English
          arrow-up
          1
          ·
          12 minutes ago

          Sorry, putting the two things together, my mistake. My router doesn’t let you specify the DNS server directly, but it does allow you to specify a different DHCP server, which can then hand out new IPs with a different DNS server specified, as you say. Bit of a house of cards. DHCP server in order to be the DNS server too.

    • jj4211@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      13 hours ago

      So on mine, I haven’t bothered to change from the ISP provided router, which is mostly adequate for my needs, except I need to do some DNS shenigans, and so I take over DHCP to specify my DNS server which is beyond the customization provided by the ISP router.

      Frankly been thinking of an upgrade because they don’t do NAT loopback and while I currently workaround with different DNS results for local queries, it’s a bit wonky to do that and I’m starting to get WiFi 7 devices and could use an excuse to upgrade to something more in my control.

      • hereiamagain@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 hours ago

        That makes sense. I haven’t used an ISP configured router in over a decade. At my parents house, their modem/router combo didn’t support bridge mode so I put it in a DMZ and slapped that to the WAN port on my router. Worked well.