Chris Green wrote:
- Add aliases to <each server name>.isbd.co.uk to point to 192.168.1.x
(or whatever)
I don't understand this bit, where/how do I "Add aliases"?
It depends on the DSN server you're using. I'm using Tiny DNS and for me they look like this in the root/data file:-
=zak.mpcontracting.co.uk:192.168.1.1:86400 =fred.mpcontracting.co.uk:192.168.1.100:86400 =marvin.mpcontracting.co.uk:192.168.1.101:86400 =oscar.mpcontracting.co.uk:192.168.1.102:86400 =floyd.mpcontracting.co.uk:192.168.1.103:86400 =max.mpcontracting.co.uk:192.168.1.104:86400 =larry.mpcontracting.co.uk:192.168.1.105:86400 =ivan.mpcontracting.co.uk:192.168.1.106:86400
- Set the resolv.conf on all your machines to use your upstream's DNS
server for querying (it will then query yours and get the internal network address) and set the search parameter to isbc.co.uk (to allow you to use the short name of each machine without the domain attached)
Can't do this as I use multiple ISPs and the DNS server will change according to which ISP I'm connected to. The resolv.conf (or equivalent) on all my machines is set to point to the router which passes on DNS requests to whatever IPS it happens to be connected to.
That's the same thing - at the end of the day every time you query for server.isbc.co.uk you're asking for the IP address from your ISP's nameserver. This will then query your nameserver for it. This is why you need the aliases in there to replace your hosts files.
Matt