Elektrine lite

← Feed

@sindarina@ngmx.com

Post #2098138

2023-06-24 08:22 UTC

The same goes for domain names; do NOT use a public domain name you do not control in your configuration, documentation, or UI language. Instead, use one of the available reserved domain names documented in RFC 2606, such as 'example.com', 'example.net', or the .example top-level domain. ❌ test.com ❌ yourdomain.com ✅ example.com ✅ yourdomain.example Pass it on to your fellow developers, designers, documentation writers, and so forth. Full RFC text is here; https://datatracker.ietf.org/doc/rfc2606/ 2/ 🧵

Replies (12)

  • @sindarina@ngmx.com 2023-06-24 08:27

    Oh, and please, if you are sending email, don't make up random addresses for your app to test with. Only send mail to addresses you know are valid, and for which you have permission to send mail. If you need to test SMTP while developing software, use a mock SMTP server that drops all outgoing email in a local directory, so you can inspect it without dumping a metric ton of email in your upstream's SMTP queue. If you absolutely must generate unique email addresses for testing, either register a domain for that purpose and set up mail handling for it, or use the .test TLD, and have as many unique domain names as you like. 3/ END

    Open ##2098139

  • @sindarina How about `home.arpa` or `underground.home.arpa` ? 🔗 via @bortzmeyer https://www.bortzmeyer.org/8375.html

    Open ##2098179

  • @caseyneiba@framapiaf.org 2023-06-25 16:12

    @sindarina I have a follow up questions about bad domain name usage, I see lots of companies using name.local as their internal DNS, I always hate that (because I know .local is mDNS and shouldn't be used in unicast) but I don't know what to propose instead (if they can't use a subdomain of their public domain). Something like .home.arpa but for companies does not exist, does it ?

    Open ##2098187

  • @claasdev@mastodon.social 2023-06-26 07:51

    @sindarina I wonder with how much traffic example.com is hit daily

    Open ##2098199

  • @ramsey@phpc.social 2023-06-29 05:16

    @sindarina I remember the gnashing of teeth when Google bought the .dev TLD and included it in the HSTS preload list.

    Open ##2098200

  • @flohw@pouet.chapril.org 2023-06-29 05:44

    @sindarina is "domain.tld" safe to use? I use it a lot. 🤞

    Open ##2098211

  • @nblr@chaos.social 2024-12-31 13:53

    @sindarina As owner of some.host.name I wholeheartedly concur. 😄

    Open ##2098215

  • @sindarina@ngmx.com i always use .local simply because it's reserved and i don't have to remember "example.com"

    Open ##2098216

  • @jackyan@mastodon.social 2024-12-31 20:31

    @sindarina Phew, glad example.org is in there! The only one I remembered earlier this week and used.

    Open ##2098217

  • @McCrankyface@beige.party 2026-04-30 03:24

    @sindarina I work with a large international company that uses .local for their internal domain and I want to scream every time I see it.

    Open ##2098218

  • @sindarina @petrillic deleteduser.com and internaluser.com are ones I’ve been particularly enjoying seeing the consequences of here on Masto recently.

    Open ##2098219

  • @bekopharm@social.tchncs.de 2023-06-24 10:56

    @sindarina@ngmx.com ....and don't use .local at home either. Learn about home.arpa

    Open ##3354927