Training, Open Source Programming Languages

This is page ... -DNS-.html

Our email: • Phone: 01144 1225 708225

For 2023 - 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))
What are DHCP and DNS?

Are they the same thing? Absolutely not, though both relate to resolving addresses on a network.

You can use DHCP (Dynamic Host Configuration Protocol) when you connect your client computer onto a network that it's not been pre-configured for. All computers on an IP network need to know:
a) an available local network address that they can use for themselves
b) where to pass information for the outside world
c) which computer(s) to ask for information when they need to translate a host name such as into an IP address such as
and you can set the information manually if you like - however, if a network administrator is expecting to host visiting computers or wants to issue addresses from a pool, he'll run a DHCP server.

If you're going to be using a network that has a DHCP server on it, you can simply set your own system up to "DHCP" and it will send out a broadcast - a message to all machines on the local network - and the DHCP server will come pick up the broadcast, start a conversation, and issue the information that's needed. More? See the DHCP FAQ

DNS (The Domain Name Service) is used to translate host names - usually server computer names such as into IP addresses such as

The internet is a network of networks, numbered using the IP4 scheme which is four numbers each in the range 0 to 255. The earlier part of the sequence is used to indicate which particular network a computer is attached to, and the latter part resolves which particular computer it is in that network. All very well and good except that we want to be able to address computers by a name that fits into a logical naming scheme (,, rather than based on where they are physically located. It's DNS that sorts this out for you.

As part of the configuration when you connect a computer to a network, you'll tell it the IP address of a DNS server (or it will find one out via DHCP - that's how the two technologies are both linked and confused) and your local computer will then ask that DNS server whenever it's given a host name that it's not come across before. DNS servers talk to each other so that the system administrator of each only has to look after his own logical area, and they cache (store) information so they can answer common enquiries quickly and without having to burn up bandwidth with the same enquiry thousands of times a day. More? See the DNS FAQ

(written 2005-11-27, updated 2006-06-09)

Associated topics are indexed as below, or enter for individual articles
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)
  [332] Looking up IP addresses - (2005-06-01)
  [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
Would you steal ... petrol? ... a training course?
Previous and next
Horse's mouth home
Forward to
Introduction to Object Oriented Programming
Some other Articles
Dynamic Web presence - next generation web site
Snippets from Geekmas
Comment, please!
Introduction to Object Oriented Programming
What are DHCP and DNS?
Would you steal ... petrol? ... a training course?
We are about Open Source programming courses in the UK
10 years C# knowledge please
SELECT in MySQL - choosing the rows you want
.css - using PHP to make dynamic style sheets
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 - 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).

© WELL HOUSE CONSULTANTS LTD., 2023: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: • WEB: • SKYPE: wellho

PAGE: ... -DNS-.html • PAGE BUILT: Sun Oct 11 16:07:41 2020 • BUILD SYSTEM: JelliaJamb