3

Cool Linux Tool: Resolve domain to IP and back with ‘dig’

view full story
linux-howto

http://www.suseblog.com – Once in awhile, I need to find out the IP address associated with a domain name. The tool I use to do this is dig. Here’s a quick example: scott@desktop:~> dig suseblog.com ; DiG 9.7.3 suseblog.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER dig -x 69.164.206.99 ; DiG 9.7.3 -x 69.164.206.99 ;; global options: +cmd ;; Got answer: ;; ->>HEADER (Distributions)