Why doesn’t every computer have 256 char domain name, along with a private key to prove it is the sole owner of the address?

Edits: For those technically inclined: Stuff like DHCP seems unnecessary if every device has a serial number based address that’s known not to collide. It seems way more simple and faster than leasing dynamic addresses. On top of that with VOIP I can get phone calls even without cell service, even behind a NAT. Why is the network designed in such a way where that is possible, but I can’t buy a static address that will persist across networks endpoint changes (e.g. laptop connecting to a new unconfigured wifi connection) such that I can initiate a connection to my laptop while it is behind a NAT.

  • Yes, it would be a privacy nightmare, I want to know why it didnt turn out that way
  • When I say phone number, I mean including area/country code
  • AFAIK IP addresses (even static public ones) are not equivlent to phone numbers. I don’t get a new phone number every time I connect to a new cell tower. Even if a static IP is assigned to a device, my understanding is that connecting the device to a new uncontrolled WiFi, especially a router with a NAT, will make it so that people who try to connect to the static IP will simply fail.
  • No, MAC addresses are not equivalent phone numbers. 1. Phone numbers have one unique owner, MAC addresses can have many owners because they can be changed at any time to any thing on most laptops. 2. A message can’t be sent directly to a MAC address in the same way as a phone number
  • Yes, IMEI is unique, but my laptop doesn’t have one and even if it did its not the same as an eSim or sim card. We can send a message to an activated Sim, we can’t send a message to an IMEI or serial number
  • Em Adespoton@lemmy.ca
    link
    fedilink
    arrow-up
    26
    ·
    5 months ago

    Along with the other comments on UDID, IMEI and MAC, I’d just like to point out that phones don’t have phone numbers.

    On land lines, the number is assigned to the line that goes to your house from the local operations center; on mobile phones, the number is linked by your carrier to THEIR SIM card that you stick in your phone.

    eSIM almost gets there; instead of a physical card linked to the phone number, all the logic and secrets are stored in a secure enclave on your phone and THAT is linked to the number, which is in a directory managed by your carrier. It’s linked to the phone itself because of the phone’s IMEI.

    • jeffhykin@lemm.eeOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      7
      ·
      edit-2
      5 months ago

      Sure, I’ll change the title to say “phones have unique phone number (b/c sim cards), why don’t computers have an equivalent?” I didnt mean one phone == one phone number.

      With VOIP I can get phone calls even without cell service, even behind a NAT. My question is why is the network designed in such a way where that is possible, but I can’t buy a static address that will persist across networks endpoint changes (e.g. new wifi connection) such that I can initiate a connection to my laptop while it is behind a NAT.

      • Em Adespoton@lemmy.ca
        link
        fedilink
        arrow-up
        4
        ·
        5 months ago

        All you have to do is buy your own IP, and you can use it whenever you want. You don’t have to use one given to you by the upstream gateway via DHCP or BootP.

        Of course, you need to make sure the upstream router is configured to not drop addresses it didn’t assign itself.

        • jeffhykin@lemm.eeOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          5 months ago

          Even paying for a static IP its not like a phone number which is discoverable behind a NAT without extra router configuration.

            • jeffhykin@lemm.eeOP
              link
              fedilink
              arrow-up
              1
              arrow-down
              2
              ·
              5 months ago

              Yep, and I can verify my phone number didnt change when roaming, people could still call me.

              • SchmidtGenetics@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                5 months ago

                Your roaming is the extra configuration you speak of, and is usually an extra fee…… that’s the “static” part

              • Droechai@lemm.ee
                link
                fedilink
                arrow-up
                1
                ·
                5 months ago

                Usually the phone number changes though. My phone number is 070Xxxx… here in Sweden, but my folks in law need to call 004670xxxx to call me unless they are visiting in which case 070xx works again

                • jeffhykin@lemm.eeOP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  5 months ago

                  You’re right it depends on the definition of phone number, and I edited the original post to try and be more clear that I meant the phone number including the country code and area code.

                  If you’re talking about something other than country/area code though, then that’s news to me.

          • Em Adespoton@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            5 months ago

            That’s like saying “why isn’t my phone number that I set up on my own POTS network usable on the international telephone system?”

            If you’re behind NAT, you aren’t technically on the Internet; that’s why you need Network Address Translation in the first place.

            IPv6 fixes this by letting every conceivable device have its own address on the Internet, but that comes with its own security and privacy issues, so it’s rarely used.

        • jeffhykin@lemm.eeOP
          link
          fedilink
          arrow-up
          2
          arrow-down
          3
          ·
          edit-2
          5 months ago

          AFAIK static public-facing IP addresses are limited to a physical location. It would work if my laptop never left my house but as soon as I take it to the airport its no longer accessible. People who try to connect to the static ip would just get a message saying the address timed out.

      • Sethayy@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        5 months ago

        For the laptop thing you realistically could by a WAN IP per device, itd just be expensivr and also a massive security issue DMZ’ing all your devices