What is DNS record of this public IP address?
| ;; global options: printcmd |
| ;; Got answer: |
| ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 5201 |
| ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 |
| ;; QUESTION SECTION: |
| ;38.107.191.117. IN ANY |
| ;; AUTHORITY SECTION: |
| . 10800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2010072900 1800 900 604800 86400 |
| ;; Query time: 20 msec |
| ;; SERVER: 127.0.0.1#53(127.0.0.1) |
| ;; WHEN: Thu Jul 29 21:17:52 2010 |
| ;; MSG SIZE rcvd: 107 |
dig Linux tool
Follow documentation come from Linux man documentation
dig is DNS lookup utility.
dig (domain information groper) is a flexible tool for interrogating DNS name servers. It performs DNS lookups and displays the answers that are returned from the name server(s) that were queried. Most DNS administrators use dig to troubleshoot DNS problems because of its flexibility, ease of use and clarity of output. Other lookup tools tend to have less functionality than dig.
Although dig is normally used with command-line arguments, it also has a batch mode of operation for reading lookup requests from a file. A brief summary of its command-line arguments and options is printed when the -h option is given. Unlike earlier versions, the BIND 9 implementation of dig allows multiple lookups to be issued from the command line.
Unless it is told to query a specific name server, dig will try each of the servers listed in /etc/resolv.conf.
When no command line arguments or options are given, will perform an NS query for "." (the root).
It is possible to set per-user defaults for dig via ${HOME}/.digrc. This file is read and any options in it are applied before the command line arguments.
The IN and CH class names overlap with the IN and CH top level domains names. Either use the -t and -c options to specify the type and class or use the -q the specify the domain name or use "IN." and "CH." when looking up these top level domains.
