Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Red Hat Enterprise Linux 9 Essentials Book now available.

Purchase a copy of Red Hat Enterprise Linux 9 (RHEL 9) Essentials

Red Hat Enterprise Linux 9 Essentials Print and eBook (PDF) editions contain 34 chapters and 298 pages

Preview Book

10.5.2. Looking Up an IP Address

To look up an IP address assigned to a particular domain, use the command in the following form:
dig name A
In Example 10.18, “A Sample IP Address Lookup”, the dig utility is used to display the IP address of
Example 10.18. A Sample IP Address Lookup
~]$ dig A

; <<>> DiG 9.7.1-P2-RedHat-9.7.1-2.P2.fc13 <<>> A
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4849
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;                   IN      A

;; ANSWER SECTION:            155606  IN      A

;; AUTHORITY SECTION:            99175   IN      NS            99175   IN      NS

;; Query time: 1 msec
;; WHEN: Wed Aug 18 18:07:25 2010
;; MSG SIZE  rcvd: 93

  Published under the terms of the Creative Commons License Design by Interspire