Live data from Hacker News

Example Domain

example.com

51–60 of 68 posts

Re: Example Domain

#51

This is a great reminder that when working with test data for stuff like email delivery, always use example.com (or a few other similar TLDs) and not stuff like "test.com" or "acme.com" or "dummyuser.com". I see this all the time by devs and they don't understand the risk and why example.com was put into the standards.

Exactly this. People heavily underestimate how many domain names are registered.

There is a huge chance that you hit a mailbox when you make up an email address.

Re: Example Domain

#52

This is a great reminder that when working with test data for stuff like email delivery, always use example.com (or a few other similar TLDs) and not stuff like "test.com" or "acme.com" or "dummyuser.com". I see this all the time by devs and they don't understand the risk and why example.com was put into the standards.

I have an integration test domain. It's just another domain, so far as my systems are concerned, but it's another domain I own and sign up as a customer for all my services. Rather: I sign it up as a customer on my staging instance, which is a real, public facing instance, that gets no advertising.

It's a real domain with functioning... whatever I need to test. Email, DNS, Identity servers, etc.

Re: Example Domain

#53

Earlier quoted context omitted.

I have a .com domain with 'test' in the name. I was mildly DNS spammed because Microsoft admins would create that thing with test in the name. I'd get 10-20 DNS packets a day. I moved it to an external DNS provider just to give my logs a break.

20 packets a day? Phew! So you barely survived the DDoS!

Maybe they’re running their DNS server on a solar-powered Arduino.

Re: Example Domain

#54
post #16

Earlier quoted context omitted.

Let me introduce you to neverssl.com!

The difference being, example.com is run by IANA [0] and guaranteed by them, whereas neverssl is just a kind-hearted soul, and may one day resolve to something else. [0] https://www.iana.org/domains/reserved

I’ve had WiFi captive portals that somehow don’t redirect neverssl.com but do for other http/80 domains. Truly bewildering - I don’t understand how it could happen by mistake, nor why anyone would do that on purpose.

Re: Example Domain

#55
post #45

Earlier quoted context omitted.

I always use `myco.example` for testing requests and emails, as well as documentation. https://en.wikipedia.org/wiki/.example It'll never resolve to anything, and makes it really obvious the code is for testing or sample code.

No guarantee an .example TLD won't be created

Literally the standard, my dude. https://datatracker.ietf.org/doc/html/rfc2606#section-2

Re: Example Domain

#56
post #45

Earlier quoted context omitted.

No guarantee an .example TLD won't be created

Literally the standard, my dude. https://datatracker.ietf.org/doc/html/rfc2606#section-2

Standards can change, but I guess if you allow for that, example.com is no better.

Re: Example Domain

#57
post #51

This is a great reminder that when working with test data for stuff like email delivery, always use example.com (or a few other similar TLDs) and not stuff like "test.com" or "acme.com" or "dummyuser.com". I see this all the time by devs and they don't understand the risk and why example.com was put into the standards.

Exactly this. People heavily underestimate how many domain names are registered. There is a huge chance that you hit a mailbox when you make up an email address.

Yep, even if you use a "random" email address like j4i58tujq45uh@foobar.com, they may very well have a "catch all" email account that will receive that mail.

Re: Example Domain

#60
post #3

I forgot I had it installed on my phone, but clicking the link opened, to my surprise, the Simply Piano app. Why you'd associate your app with that domain for legitimate purposes is a bit of a mystery to me.

This shouldn't be possible on Android. Google requires apps capturing http/s deeplinks verify ownership of the URI.[1] They can accept any other schema declared in their manifest otherwise. Example code would seem most plausible, but I can't see how it would work. [1] https://developer.android.com/training/app-links/verify-site...

Twitter deeplinks open the third-party Twitter client I have installed (Fenix) on Android for me.
Post reply on HN