• BrownSugarBits@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    4
    ·
    8 hours ago

    What stopping websites from directly linking to the ip address then? You don’t need a dns if the browser directly points to htttps://231.157.68.8 or whatever. domain names are just branding for fucks sake

    • blargh513@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      3 hours ago

      Nobody is going to memorize IP addresses. If.you want people to shop at your dildo store, it is a.lot.easier to remember davesFatDildos.com vs an IP address.

      If created a nice table of names mapped to IP addresses, then you just recreated dns, but worse.

      Also, no DNS means no fault tolerance, cert problems, no effective load balancing, very hard to change providers, maintenance of.taking a host down is all but impossible.

      There is a reason DNS exists. Thinking we could abandon it just demonstrates a lack of understanding regarding how it works.

      • BrownSugarBits@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 hours ago

        Nobody is going to memorize IP addresses. If.you want people to shop at your dildo store, it is a.lot.easier to remember davesFatDildos.com vs an IP address.

        Hence my point that domain names are for branding.

        taking a host down is all but impossible.

        Yeah, that is my point. You can’t ‘take down’ an ip address (except through the obvious end point internet service provider)

        The internet is just connecting IP addresses together. Everything you’re talking about has been added onto this fact since the first .com bubble build up in the 90s, which is a bunch of CORPORATE BULLSHIT meant to control the information of simply connecting peoples computers together.

      • BrownSugarBits@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        3
        ·
        3 hours ago

        a “site” is just one computer sharing information with another. limited to the hyper text markup language. Why would a computer that is connected by its IP address need a host name to send html to your computer? It wouldn’t.

        • Encrypt-Keeper@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          39 minutes ago

          A lot has changed since 1999 friend.

          Websites are potentially dozens of virtual computers running on a half dozen physical computers, spread across several regions or countries.

          There are potentially dozens or even hundreds of IP addresses involved with just the one host name, which all of these components rely on to function.

          In a simpler setup, I in one case have a computer with one IP address that hosts 20 different websites. If you send a request to the IP address your request will be dropped because it won’t know which of those 20 websites you’re trying to reach.

          1 website being 1 computer reachable on 1 IP address isn’t something you see very often anymore.

        • Oggyb@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 hour ago

          Subdomain.domain.com might point to a different IP address. You might have systems in mission critical deployments that can’t be updated with new IP addresses but will still work if they point to the domain.

        • redjard@reddthat.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 hour ago

          IP certs are quite hard to get, used to be basically impossible not too long ago.

          Edit: Not so hard anymore. Letsencrypt added them this year (finally) with the normal http challenge and 6 day lifetime. Which should be fine in normal automated setups. Still not supported accross major acme providers but this’ll make it easy enough to do.
          So TLS on bare IPs should be just fine now.

    • Agent641@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      1
      ·
      7 hours ago

      Many websites and web apps these days have hostname filtering at the webserver level. Even if the IP address from the client is correct, it will not permit a connection that way. The req needs to come with one of the valid hostnames in the header, inc the correct protocol. At least, that’s what I do with mine. The req must come with https://whatever/ or https://www.whatever/ or the req gets ignored completely.

      If an intermediary such as CloudFlare is used, there’s likely to be another layer of req filtering at the CloudFlare level.

      • TheRagingGeek@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        7 hours ago

        I imagine you could edit your hosts file, or connect to a nonstandard dns to get the correct host name behavior at least

  • Th4tGuyII@fedia.io
    link
    fedilink
    arrow-up
    74
    ·
    12 hours ago

    Honestly, some really good points being made here…

    DNS resolver blocking is a blunt tool that strips away whole domains at a time, meaning all content is blocked - legal and illegal alike - and does so in a completely non-transparent way.

    And it’s like redacting a single map. Not only could you just bypass the map if you know directly where you’re going, you could also just get another map of the same area!

    All that running the big public DNS resolvers out of town does is push people towards lesser known resolvers that are much less transparent and accountable.

    • fedikip@feddit.online
      link
      fedilink
      English
      arrow-up
      32
      ·
      12 hours ago

      To your second paragraph. Not sure where I read it (I think the context was CP) but I found this comparison quite fitting: “Blocking DNS entries is fighting symptoms instead of fighting the disease, the servers with the material are still there.”

      • Elvith Ma'for@feddit.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        9 hours ago

        I see them as an additional security layer - known phishing site? Known malware site? Block them at the DNS level now and you have already several potential victims saved, while you go after them and take them down completely which might take some time (hours/days/weeks).

        But that assumes that you actually try to do the second part…

    • hitmyspot@aussie.zone
      link
      fedilink
      English
      arrow-up
      20
      ·
      12 hours ago

      Lesser known is not necessarily a bad thing. Part of the current problem with the internet is consolidation into fewer and fewer hands. We could do with more, not less. However the problem is to ensure they are trustworthy, as you mention.