this post was submitted on 30 Dec 2023
3 points (100.0% liked)

Linux

48688 readers
359 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] Telodzrum@lemmy.world 2 points 11 months ago (4 children)

If you can't remember the IP address of every site you'd like to visit, you don't deserve the internet.

[–] CaptDust@sh.itjust.works 1 points 11 months ago* (last edited 11 months ago) (2 children)

Pro tip, You don't have to remember it. I have all my favorite IPs in a nice address book, keep it in my drawer next to my passwords

[–] snaggen@programming.dev 0 points 11 months ago

My company actually used a whiteboard instead of a DNS for our internal network. We used it as a temp solution during setup, then 5 years later it was still in use. It worked quite well.

[–] j4k3@lemmy.world 0 points 11 months ago (1 children)

My DNS Rolodex is beside my slide rule and abacus.

load more comments (1 replies)
[–] bionicjoey@lemmy.ca 0 points 11 months ago (4 children)

Oh, you like the internet? Name every IP address!

[–] Synthuir@lemmy.ml 0 points 11 months ago* (last edited 11 months ago) (5 children)

I know this one! All credit goes to FauxPseudo@lemmy.world

"^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:)))(%.+)?\s*$"
[–] Hotzilla@sopuli.xyz 0 points 11 months ago

GPT4 was able to explain that

[–] bionicjoey@lemmy.ca 0 points 11 months ago (2 children)

That is a forkbomb and you can't convince me otherwise

[–] umbrella@lemmy.ml 0 points 11 months ago

i dare you to run it

[–] SteveTech@programming.dev 0 points 11 months ago

I can't say it isn't a fork bomb, but it does happen to match IPv6 address with regex.

https://regexr.com/7prgg

load more comments (3 replies)
load more comments (3 replies)
[–] user224@lemmy.sdf.org 0 points 11 months ago (2 children)

Unironically, I used to remember 3.
2 for servers with internet radios and 1 for google. But I forgot. Except 149.13.0.82.

load more comments (2 replies)
load more comments (1 replies)
[–] danielquinn@lemmy.ca 1 points 11 months ago (7 children)
[–] youngGoku@lemmy.world 0 points 11 months ago

That's a cat who knows his networks

[–] ajmaxwell@lemmy.world 0 points 11 months ago

Thank you for this

[–] pruneaue@infosec.pub 0 points 11 months ago (2 children)

Why are catboys/girls and furries always the best at explaining stuff succinctly?? Lmao

[–] frezik@midwest.social 0 points 11 months ago

Maybe that skill is how they end up with suspiciously high amounts of money.

[–] ultranaut@lemmy.world 0 points 11 months ago

They run the internet now so they really know how it works.

load more comments (4 replies)
[–] mactan@lemmy.ml 0 points 11 months ago (1 children)

I have no doubt in my mind that there's some subset of the suckless crowd that thinks dns is bloat

load more comments (1 replies)
[–] RegalPotoo@lemmy.world 0 points 11 months ago

Tbh, if you can't tap out Ethernet frames with a Morse key and decode the response by watching the blinking of an LED wired to the RX pair then you really don't deserve to be on the internet. Git Gud.

[–] madargon@is-a.cat 0 points 11 months ago

@scroll_responsibly Laughing in my self-hosted services, on my VPS which use only IP address :blobcatjoy:​

*Currently every service is also available via IPv6 :3

[–] famfo@social.dn42.us 0 points 11 months ago

As we all know, it's always DNS.

[–] kugmo@sh.itjust.works 0 points 11 months ago
[–] smileyhead@discuss.tchncs.de 0 points 11 months ago (2 children)

Okey, I don't get it. What's wrong with DNS?

[–] scroll_responsibly@lemmy.sdf.org 0 points 11 months ago (3 children)
[–] moon@lemmy.cafe 0 points 11 months ago

It's d-bussin yoo

[–] FrederikNJS@lemm.ee 0 points 11 months ago

Uh... Please enlighten me on what DBUS has to do with DNS...

[–] livethetruth@lemmy.today 0 points 11 months ago

Is the fact that that link couldn't resolve your answer to that question haha?

[–] Inucune@lemmy.world 0 points 11 months ago (1 children)

When it breaks, it isn't always obvious or easy to fix, but can cause problems for anything that has to talk to anything else. The biggest thorn it puts in my side is that short names [ThisPC] are served differently than fqdn [ThisPC.MyDomain.com]. Does NotMyApp use short or FQDN to resolve other machines? I don't find out until the Wireshark.

[–] smileyhead@discuss.tchncs.de 0 points 11 months ago (2 children)

Okey, I understand this is fundamental and when not working can cause the service to stop working. But I don't yet know how does it break or is not easy to troubleshoot?

Haven't hosted anything big yet, so I always just had to check the records via "dig" command if they are served correctly.

[–] Chobbes@lemmy.world 0 points 11 months ago

DNS setups can get fairly complicated with enterprise VPNs and stuff, but the main thing is probably just that DNS is built entirely around caching, so when something does go wrong or you’re trying to update something it’s easy for there to be a stale value somewhere. It’s also really fundamental, so when it breaks it can break anything.

Overall, though, DNS isn’t terribly complex. It’s mostly just a key-value store with some caching. Running your own nameservers is pretty cool and will give you a much better understanding of how it all fits together and scales.

[–] evranch@lemmy.ca 0 points 11 months ago

Really annoying is when recent devices don't respect the DNS you're advertising or allow configuration (Android...)

My site is behind CGNAT on IPv4 with recently added fully routed IPv6. There are legacy control devices all over it that don't speak IPv6, with local DNS records that allow them to be readily accessed while walking around with a mobile device... Allowed them to be accessed that is, until IPv6.

The Android IPv6 stack ignores the RA for my local DNS and also resolves via v6 by default, forwarding local queries upstream and returning no results. Then it doesn't bother to fall back to v4. Unrooted Android has no exposed configuration for IPv6 of any sort to modify its behaviour, no hosts file to override or any way I can see to fix this. I can't even disable IPv6 on my phone.

So to access my local devices from Android I need to use their full IPv4 address or VPN back into my own network... Oh wait, the stack is so broken that despite setting DNS in Wireguard, it still tries to resolve through upstream v6 first!

Apparently recent smart TVs are doing similar even on IPv4, hard-coded to 1.1.1.1 or 8.8.8.8 to dodge ad blocking, which is plain malicious and ignores all standards...

So anyways this is why DNS is dragon #3

[–] mvirts@lemmy.world 0 points 11 months ago

Lol ... DNS is one of the pillars upon which the internets tands, a crumbling mess of a pillar but I'm sure glad we don't have a name system built on hosts files 😹

load more comments
view more: next ›