On Fri, May 20, 2005 at 01:08:30PM +0100, Matt Parker wrote:
Firstly, check your /var/log/messages on your DNS box for "martian sources" - I get them as I've set my DNS up to resolve external and internal addresses and have set the ADSL router to forward on all ports to my gateway machine. If so, you may want to set up your system like I
I'm not doing anything like this and there aren't any odd messages in the messages file that I can see.
do (or you might try this anyway even if you're not getting those messages):-
- Remove the entries in your hosts files (they're unwieldy to maintain
and not necessary for an internal network)
Well that's easy enough to do!
- 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"?
- 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.
Unless I'm misunderstanding what you mean by "upstream's DNS server", even if I'm not I don't see how that DNS server will "then query yours and get the internal network address".
Sorry if I'm sounding a bit obtuse but I'm rather lost.
I found maintaining a couple of /etc/hosts files much easier! :-)