Live data from Hacker News

Example Domain

example.com

31–40 of 68 posts

Re: Example Domain

#31
post #23

Earlier quoted context omitted.

Only somewhat. > 2. Application software SHOULD NOT recognize example names as special and SHOULD use example names as they would other domain names. > 3. Name resolution APIs and libraries SHOULD NOT recognize example names as special and SHOULD NOT treat them differently. Name resolution APIs SHOULD send queries for example names to their configured caching DNS server(s). > 6. DNS server operators SHOULD be aware t…

> You are guaranteed to be able to try and resolve the domain, which should generally be enough for the crappy man-in-the-middle systems to work. I have never seen any captive portal work at DNS level though (and that by itself sounds problematic). They works at HTTP level. So if one day example.com start using HSTS then it will also be a problem, in addition to nowadays browser defaulting to HTTPS so you have to typ…

> neverssl.com guarantees all of that, at least as long as it's there.

It didn't work for me when I tried to use it in the airport (DCA). I tried to get to the captive portal through Firefox and Vivaldi. It took a couple restart of my browser to managed to get to the captive portal. It is not guaranteed that it will work as in my case.

Re: Example Domain

#32
post #20

Earlier quoted context omitted.

Let me introduce you to neverssl.com!

There are a number of those. I use http://detectportal.firefox.com/

http://captive.apple.com was my go to just because I'd see it flash in the url bar before redirecting when connecting to airplane wifi. I like the subdomain, it's an apt description of the state your in before passing through the login/payment flow for these kinds of networks.

Re: Example Domain

#33
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...

Re: Example Domain

#34
post #26

I wonder how they managed to get a horizontal scrollbar. Edit: its a chrome extenstion I use.

I don't get a horizontal scrollbar unless I resize the viewport to <159px wide.

I use brave.

But you are right. Its not really the fault of the markup of the side.

I use "Definer" chrome plugin [1].

That injects a absolute positioned #definer-bubble div with width:100% that does not work well with sites css thats sets a margin for every div.

https://chrome.google.com/webstore/detail/definer-advanced-p...

Re: Example Domain

#35

    $ dig example.com. mx +short
    0 .
It has an interesting MX record. I wonder what this does? Specifically, what should a mail agent do when the MX record points to "." ?

Re: Example Domain

#36
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.

Re: Example Domain

#37

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 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.

Re: Example Domain

#38
post #35

$ dig example.com. mx +short 0 . It has an interesting MX record. I wonder what this does? Specifically, what should a mail agent do when the MX record points to "." ?

That's a "null MX", indicating that the domain does not accept mail.

https://datatracker.ietf.org/doc/html/rfc7505

Re: Example Domain

#39
post #35

$ dig example.com. mx +short 0 . It has an interesting MX record. I wonder what this does? Specifically, what should a mail agent do when the MX record points to "." ?

That's a "null MX", indicating that the domain does not accept mail. https://datatracker.ietf.org/doc/html/rfc7505

Thanks! That RFC is new to me.
Post reply on HN