One tool I’m used to having without installing (it’s included by default in FreeBSD) is Dig (which is short for Domain Information Groper). Dig is a really handy tool for checking and troubleshooting DNS related issues once you learn how to use it. For instance, it makes it easy to see how your MX records are resolving:
- # dig google.com mx
- ; <<>> DiG 9.3.2-P2.1 <<>> google.com mx
- ;; global options: printcmd
- ;; Got answer:
- ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41334
- ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
- ;; QUESTION SECTION:
- ;google.com. IN MX
- ;; ANSWER SECTION:
- google.com. 10212 IN MX 10 smtp3.google.com.
- google.com. 10212 IN MX 10 smtp4.google.com.
- google.com. 10212 IN MX 10 smtp1.google.com.
- google.com. 10212 IN MX 10 smtp2.google.com.
- ;; Query time: 1 msec
- ;; SERVER: 208.67.220.220#53(208.67.220.220)
- ;; WHEN: Sat Nov 8 02:56:08 2008
- ;; MSG SIZE rcvd: 116
Luckily this is easy to install, just not terribly intuitive or easy to find as it’s not a package known as dig:
- # sudo apt-get install dnsutils
That’s pretty much it– you should now be able to use dig!
By how to convert ubuntu gnome desktop into ubuntu server April 22, 2010 - 10:54 pm
[...] can install according to this page: http://ubuntuforums.org/showthread.php?t=59832 And this: http://devnulled.com/content/2008/11...-ubuntu-linux/ Let me [...]
By MTeck April 30, 2010 - 9:16 am
Thanks. I removed this and for the life of me couldn't remember what package it came in.
By david coder January 7, 2011 - 3:00 pm
*very* helpful
By PeterP July 16, 2011 - 4:29 am
juuuuust what I needed...