Received: (at submit) by bugs.debian.org; 28 May 1997 15:51:43 +0000 Received: (qmail 13099 invoked from network); 28 May 1997 15:51:36 -0000 Received: from black.csi.cam.ac.uk (exim@131.111.8.33) by master.debian.org with SMTP; 28 May 1997 15:51:31 -0000 Received: from dex.trin.cam.ac.uk [131.111.213.18] (mail) by black.csi.cam.ac.uk with smtp (Exim 1.62 #1) id 0wWl0V-0001nv-00; Wed, 28 May 1997 16:51:23 +0100 Received: from fanf by dex.trin.cam.ac.uk with local (Exim 1.61 #1) id 0wWl0T-0002cM-00 (Debian); Wed, 28 May 1997 16:51:21 +0100 To: submit@bugs.debian.org Subject: Problem with host(1) Organization: Coll: SS. et Indiv: Trin: Cant: Cc: Message-Id: <E0wWl0T-0002cM-00@dex.trin.cam.ac.uk> From: Tony Finch <fanf2@cam.ac.uk> Date: Wed, 28 May 1997 16:51:21 +0100 Package: dnsutils Version: 970203-0.1 I have been tuning my DNS-related files and I came across a strange problem. root@dex:/etc > cat hosts 127.0.0.1 localhost 131.111.213.18 dex.trin.cam.ac.uk dex 10.0.0.1 dextrin.ether dextrin 10.0.0.2 hector.ether hector root@dex:/etc > cat host.conf order hosts,bind multi on root@dex:/etc > cat resolv.conf nameserver 127.0.0.1 search lspace.org student-run.ucam.local trin.cam.ac.uk cam.ac.uk ac.uk ether With it searching the domains in this order, I can't do zone transfers: root@dex:/etc > host dex dex.student-run.ucam.local CNAME dex.trin.cam.ac.uk dex.trin.cam.ac.uk A 131.111.213.18 root@dex:/etc > host -la lspace.org dex does not exist (Authoritative answer) Error in looking up own name root@dex:/etc > host -la cam.ac.uk dex does not exist (Authoritative answer) Error in looking up own name It all works if I reorder things slightly. root@dex:/etc > cat resolv.conf nameserver 127.0.0.1 search student-run.ucam.local lspace.org trin.cam.ac.uk cam.ac.uk ac.uk ether root@dex:/etc > host -la lspace.org lspace.org SOA orion.cp.tn.tudelft.nl leo.lspace.org ( 97052102 ;serial (version) 36000 ;refresh period (10 hours) 3600 ;retry interval (1 hour) 3600000 ;expire time (5 weeks, 6 days, 16 hours) 36000 ;default ttl (10 hours) ) [...] Tony.