On Tue, 18 Jan 2005 17:13, Christian Hiris wrote: > On Tuesday 18 January 2005 07:19, Ian Moore wrote: > > Now I'm not sure what the best way to get around this would be. I run a > > caching name server on the machine, so I guess I can tweak it to force > > localhost.foo.com resolve to 127.0.0.1 > > I'm running ntpd and a caching nameserver on one machine, too. The external > IP is only referenced by /etc/hosts. My bind holds only the internal > networks, including it's own localhost. There also could be some influence > from your /etc/resolv.conf, but I'm not sure about. > > # dig localhost.matrix.net > > ; <<>> DiG 9.3.0 <<>> localhost.matrix.net > ;; global options: printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47348 > ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 > > ;; QUESTION SECTION: > ;localhost.matrix.net. IN A > > ;; ANSWER SECTION: > localhost.matrix.net. 3600 IN A 127.0.0.1 > > ;; AUTHORITY SECTION: > matrix.net. 3600 IN NS ns.matrix.net. > > ;; ADDITIONAL SECTION: > ns.matrix.net. 3600 IN A 192.168.123.1 > > ;; Query time: 1 msec > ;; SERVER: 192.168.123.1#53(192.168.123.1) > ;; WHEN: Tue Jan 18 07:27:54 2005 > ;; MSG SIZE rcvd: 87 > > > # cat /etc/resolv.conf > search matrix.net > nameserver 127.0.0.1
Oops, I've just realised I'm not running a name server at all on my 5.3 system. I have 4.9 installed on this computer too & I'd set up the caching server on it, I guess I forgot that step when I installed 5.3. I'll set it up & see that makes any difference. Cheers, -- Ian GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc
pgpSR9uAmIFYt.pgp
Description: PGP signature