dig

$ dig dixu.ddns.net
$ dig yahoo.com A +noall +answer	# This must be a domain and not a host
$ dig yahoo.com MX +noall +answer
$ dig yahoo.com NS +noall +answer
$ dig yahoo.com ANY +noall +answer	# Query all records
$ dig dixu.ddns.net +short		# Getting streamlined answers
$ dig gentoo.de +trace
$ dig cse.ogi.edu +nssearch
$ dig cse.ogi.edu +nssearch | cut -d' ' -f4,11
Licensed under CC BY-NC-SA 4.0
comments powered by Disqus