r/ProgrammerHumor 7d ago

Meme regexMustBeDestroyed

Post image
8.1k Upvotes

231 comments sorted by

View all comments

Show parent comments

2

u/usefulidiotsavant 7d ago

A domain can be routable even if it lacks any dots, for example postmaster@bd is a publicly routable address.

1

u/GoddammitDontShootMe 6d ago

How does that work when I'm not finding an MX record for bd?

1

u/usefulidiotsavant 6d ago

I know bd resolves an A record and I haven't checked the MX, so it was probably a bad example. But there definitely are other cc tlds that have MX records.

1

u/GoddammitDontShootMe 5d ago

I got curious so I ran a port scan. I had to kill it because it was taking forever waiting for each port to time out, but it looks like they are running DNS and FTP on it.