On Fri, May 20, 2005 at 01:42:26PM +0100, Martyn Drake wrote:
Chris Green wrote:
So how do you set things up so your nameserver knows a set of short convenient 'alias' names for all the local machines? Don't you need some sort of mechanism akin to /etc/hosts to enable you to give names to things like the two print servers I have?
On your client machines you do this in your /etc/resolv.conf:
search isbd.co.uk
Yes, OK, so now if I try to connect to 'fred' the system will look for fred.isbd.co.uk as well as fred. However where/how does fred.isbd.co.uk get resolved to an IP address? Two or three of my 'fred's are print servers and/or printers which don't have a lot of inherent intelligence.
If you're running Windows for your clients, you'd go to Control Panel -> Network Connections -> Right-click NIC -> Double-click TCP/IP settings -> Click Advanced -> DNS -> DNS suffix for this connection (or alternatively you can use the Append these Domain Suffixes (in order).
Thanks for that bit.