DNS: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
Line 14: Line 14:


=== Reverse DNS lookup ===
=== Reverse DNS lookup ===
See [[Linux Commands#dig]], [[Linux Commands#host]] and [[Linux Commands#nslookup]].
Use option <code>-x</code> of ''dig'' command:
<source lang=bash>
dig +short -x 82.78.227.176
# 176.176-191.227.78.82.in-addr.arpa.
# ivorde.ro.
</source>

Or query record <code>PTR</code> in <code>in-addr.arpa</code> domain:
<source lang=bash>
dig +short ptr 176.227.78.82.in-addr.arpa.
# 176.176-191.227.78.82.in-addr.arpa.
# ivorde.ro.
</source>

Revision as of 04:35, 8 June 2016

References

A DNS database consists of one or more zone files used by the DNS server. Each zone holds a collection of structured resource records, the following of which are supported by the DNS Server service.
How DNS works.
Detailed explanations on how DNS work, applied to Linux.

How-to

Reverse DNS lookup

See Linux Commands#dig, Linux Commands#host and Linux Commands#nslookup.