Corey InnisCorey Innis
Standup 02/11/2008
edit Posted by Corey Innis on Monday February 11, 2008 at 11:57PM

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!
    

Comments

  1. Peyton Peyton on February 12, 2008 at 02:18AM

    It sounds interesting and I’m a little bit curious on how it will works. Might want to look into that.

  2. Alex Chaffee Alex Chaffee on February 12, 2008 at 02:48AM

    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) You may end up generating network traffic when you don't want to.

  3. Ian McFarland Ian McFarland on February 14, 2008 at 01:30AM

    For more details, you can read the RFC (RFC 2606: Reserved Top Level DNS Names) that explains the intent and correct use of example.com, net, and org.