Interesting Things
Got Example?
Don’t forget to make use of the reserved (top- and second-level) domain names set aside by RFC 2606… especially if you find yourself writing something like:
result = @model.do_request('http://www.somebogusdomain.com') result.code.should == 1001 # NOTE: www.somebogusdomain.com actually exists!
It sounds interesting and I’m a little bit curious on how it will works. Might want to look into that.
February 12, 2008 at 2:18 am
To be precise: use @example.com/net/org for intentionally bogus email addresses; any email sent accidentally for real will linger in your mail queue and eventually bounce. But watch out using them for other purposes — example.com actually has an A record and responds sucessfully to ping and HTTP. ([Try it and see](http://example.com)) You may end up generating network traffic when you don’t want to.
February 12, 2008 at 2:48 am
For more details, you can read the RFC ([RFC 2606: Reserved Top Level DNS Names](http://www.ietf.org/rfc/rfc2606.txt)) that explains the intent and correct use of example.com, net, and org.
February 14, 2008 at 1:30 am