Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
Looking up IP addresses

Browsers, mail clients, ftp and ssh and telnet clients and the rest are for ever converting fully qualified names such as www.sheepbingo.co.uk into IP addresses such as 212.227.118.78. How can you do such a lookup manually?

Firstly, there are numerous web sites out there that will help you - I'm not supplying any links here because I'm sure you already have your own favourite. But did you know that there are ... not one ... not two ... but three utilities under Linux to do the job for you?

The host command does a quick and dirty lookup:

[trainee@saturday trainee]$ host www.sheepbingo.co.uk
www.sheepbingo.co.uk has address 212.227.118.78
[trainee@saturday trainee]$

The dig command tells you a lot more:

[trainee@saturday trainee]$ dig www.sheepbingo.co.uk

; <<>> DiG 9.2.1 <<>> www.sheepbingo.co.uk
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<<- opcode: QUERY, status: NOERROR, id: 31254
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.sheepbingo.co.uk. IN A

;; ANSWER SECTION:
www.sheepbingo.co.uk. 10476 IN A 212.227.118.78

;; Query time: 17 msec
;; SERVER: 158.152.1.43#53(158.152.1.43)
;; WHEN: Wed Jun 1 08:42:54 2005
;; MSG SIZE rcvd: 54

[trainee@saturday trainee]$

And the deprecated nslookup give interactive facilites too

[trainee@saturday trainee]$ nslookup www.sheepbingo.co.uk
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 158.152.1.43
Address: 158.152.1.43#53

Non-authoritative answer:
Name: www.sheepbingo.co.uk
Address: 212.227.118.78

[trainee@saturday trainee]$

(written 2005-06-01, updated 2010-10-26)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
W501 - Introduction to Web Site Structure
  [528] Getting favicon to work - avoiding common pitfalls - (2005-12-14)
  [1024] Web site - a refresh to improve navigation - (2007-01-07)
  [1031] robots.txt - a clue to hidden pages? - (2007-01-13)
  [1168] Moving out some of the web site bloat - (2007-04-29)
  [1176] A pu that got me into trouble - (2007-05-04)
  [1198] From Web to Web 2 - (2007-05-21)
  [1431] Getting the community on line - some basics - (2007-11-13)
  [1636] What to do if the Home Page is missing - (2008-05-08)
  [1686] FTP - how not to corrupt data (binary v ascii) - (2008-06-24)
  [1969] Search Engines. Getting the right pages seen. - (2009-01-01)
  [2094] If you have a spelling mistake in your URL / page name - (2009-03-21)
  [2214] Global Index to help you find resources - (2009-06-01)
  [2282] Checking robots.txt from Python - (2009-07-12)
  [2552] Web site traffic - real users, or just noise? - (2009-12-26)

A163 - Web Application Deployment - Network Configuration and Security
  [11] A bolt of lightning on Multicasting - (2004-08-11)
  [37] Security and Safety - (2004-09-03)
  [267] Searching security holes - (2005-04-04)
  [506] What are DHCP and DNS? - (2005-11-27)
  [511] Domain Forwarding - 2 ways of doing it - (2005-11-29)
  [1073] Heartbeat script in Perl - (2007-02-09)
  [1408] Wireless hotel tips - FTP and Skype connections failing - (2007-10-26)
  [1666] Slow boot and terminal start on Linux boxes - (2008-06-05)
  [1712] As different as night and tyres - (2008-07-18)
  [1904] Ruby, Perl, Linux, MySQL - some training notes - (2008-11-23)
  [2052] How was my web site compromised? - (2009-02-24)
  [2489] Parallel Pinging, using Python Threads or Expect spawn lists - (2009-11-02)
  [3448] Checking all the systems on a subnet, using Expect and Tk - (2011-09-18)
  [4134] Setting up your MacBook Air as a mobile broadband router - (2013-07-07)


Back to
08:45 is a difficult time
Previous and next
or
Horse's mouth home
Forward to
Do NOT follow links or read attachments in these emails
Some other Articles
Targetted Advertising
Sad priorities
Symbolic links and hard links
Do NOT follow links or read attachments in these emails
Looking up IP addresses
08:45 is a difficult time
An O level comes in handy
the Stately Homes of England
Making programs easy for any user to start
How far should our support go
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.info/mouth/332_Look ... esses.html • PAGE BUILT: Sun Oct 11 16:07:41 2020 • BUILD SYSTEM: JelliaJamb