755
you are viewing a single comment's thread
view the rest of the comments
[-] PR_freak@programming.dev 16 points 2 years ago

Noob question. Would that request travel over the internet or is it resolved locally?

[-] Illecors@lemmy.cafe 12 points 2 years ago

Depends. If the zone responsible for whatever resolves to that IP is hosted locally - then DNS request would stay local.

If the service behind that IP is running locally - then all traffic would stay local. Network stack would be smart enough to not run circles to find itself.

[-] Natanael@slrpnk.net 2 points 2 years ago

Yeah, the router ought to know that public IP belongs to a device in its own network unless you're doing stuff like running your own router behind an ISP provided router and just forwarding ports instead of maintaining IP assignment / routing tables

[-] MDKAOD@lemmy.ml 1 points 2 years ago

Tell that to my opnsense box that refuses to NAT mirror.

load more comments (1 replies)
load more comments (1 replies)
load more comments (7 replies)
this post was submitted on 17 Sep 2023
755 points (97.7% liked)

Programmer Humor

34371 readers
1230 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS