“...I've been working since 2008 with Ruby / Ruby on Rails, love a bit of Elixir / Phoenix and learning Rust. I also poke through other people's code and make PRs for OpenSource Ruby projects that sometimes make it. Currently working for InPay...”

Rob Lacey
Senior Software Engineer, UK

DNS / host commands

Want a few simple DNS details for a domain from the command line?

Robs-iMac:~ roblacey$ host -t mx robl.me
robl.me mail is handled by 9 xen1.robl.me.
robl.me mail is handled by 10 mailforward.lcn.com.

Robs-iMac:~ roblacey$ host -t txt robl.me
robl.me descriptive text "google-site-verification=E4g5ZQVgm9j01RsxbiGISNBaOvtH614IHSF1RGHHGJE"

Robs-iMac:~ roblacey$ host -t a robl.me
robl.me has no A record

Robs-iMac:~ roblacey$ host -t a www.robl.me
www.robl.me is an alias for xen1.robl.me.
xen1.robl.me has address 207.192.74.149

Robs-iMac:~ roblacey$ host -t cname www.robl.me
www.robl.me is an alias for xen1.robl.me.
GPK of the Day Evil EDDIE