With this machine in hand, could l possibly go about experimenting with the DNS ?

  • neidu3@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    Sure, nothing wrong with running your own DNS. And quite useful in many cases. It is, however, more headache than it’s worth in many other cases.

    Source: I used to be fluent in Bind9 zone files

  • Em Adespoton@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    Anyone is free to se up their own DNS, which they can tweak however they want.

    An interesting thing about DNS is that there is absolutely no validation done that requires the server you talk to to have a chain of authority back to the official root servers.

    You can use DNSSec to add validation and encryption layers, but nobody’s forcing you to use that at this point.

    So go ahead… set up your own virtual lab and play around. Get a feel for how it all works, and what breaks/works unexpectedly when you tweak a component.

    Just don’t mess with an authoritative server.

  • DecentM@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    Yes, DNS is a very lightweight function so any laptop, even one ones should be able to run it for a home of a few people. Getting into it will let you block ads and malware for anyone using your network. But you gotta make sure it’s stable, because if the service goes down, internet service will essentially stop while you’re repairing it.

      • DecentM@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        Well, you already have a laptop, so here’s a rough outline. Do research around each topic, instead of just doing them, as you’ll learn things that you can use as a basis for the next step.

        1. Install some form of Linux, either desktop or server distro. Ubuntu, Fedora, OpenSUSE, etc.
        2. Learn how to SSH into it, and install packages from the default repos.
        3. Install a web server, such as nginx and get a html page to show up on your PC when you enter the IP address of the server (the laptop is now called the server at this point - servers are any computer that you use to run unattended services from other computers, so laptops can be called servers too)
        4. Install a recursive DNS server and configure your router to advertise it during DHCP.
        5. Using the now working DNS server, get that same html file to show up on your PC by entering a custom name in your browser (something like http://mylaptopserver.local/
          • DecentM@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            0
            ·
            1 month ago

            Yes but for a complete beginner, the first project won’t last too worryingly long anyway, so better to learn and have fun. Even a stock graphical Ubuntu install could act as a server and it would have at least something familiar to help manage someone’s first server.

            Like, I’m never gonna say to someone new that they need to do what I do and use their customised coreos image haha

  • sylver_dragon@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    Messing with DNS is how a PiHole works. You set the devices on your network to use the PiHole for DNS and it “blackholes” domains related to advertising and tracking. You can do something similar with any system acting as a DNS server on your network.

  • Sanctus@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    I think if you just posted this without the insanely nonsensical AI image it would get a lot better interaction.

      • Sanctus@anarchist.nexus
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        Yeah its just people are seeing that crazy insane nonsense and probably down voting and moving on. Then the answers you do get are tainted by it. But the answer is yes, you can run DNS on a potato. I ran DNS on a pi 1B until last year.

      • DecentM@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        You’re asking a totally valid, but simple question that can be answered with a yes or no, why would you want to crosspost this across communities? Especially when getting a text answer to your question from an llm probably has a similar if not lower cost than generating that image.

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    Yes you can. Be aware though only you or people you tell may use it.

    You can run something like BIND if you want a public resolver which I do not recommend considering your level of technical knowledge.

    You would be better off running something like Pihole or ADGuard home to block ads in your house.