From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,893fad3ff8d9ffd3,start X-Google-Attributes: gidfee84,public From: Hans Westerback Subject: BIND bug? Date: 1998/11/10 Message-ID: <36486D1B.47C6233B@unixcenter.ericsson.se>#1/1 X-Deja-AN: 410361639 Content-Transfer-Encoding: 8bit X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 Organization: N/DMU Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Digital UNIX 4.0D+latest patches. We have a strange problem with name resolution and BIND, which only affect Digital UNIX, not e.g. Sun Solaris. In our resolv.conf we list two name servers. The first one is a "floating" IP address which we can move around for better redundancy. The second one is a "normal" IP address. Resolv.conf: domain domain.se nameserver xxy.www.vvv.48 #virtual_dns1 (which also has IP name othername_dns1) nameserver xxx.zzz.yyy.25 #dnsserver2 Initial connection to Digital servers have been very slow, and we have tracked this down to name resolution. Doing an nslookup from a digital server, and at the same time using snoop from the first name server gives this output from the nslookup: (takes 20-30 seconds to fail over to dnsserver2) root@decserver1# nslookup someserver *** Can't find server name for address xxy.www.vvv.48: Timed out Server: dnsserver2.domain.se Address: xxx.zzz.yyy.25 Name: someserver.domain.se Address: xxy.www.vvv.34 And this is from the snoop: othername_dns1# snoop src decserver1 Using device /dev/le (promiscuous mode) decserver1.domain.se -> othername_dns1 TCP D=996 S=22 Ack=2536626715 Seq=862291997 Len=36 Win=33580 decserver1.domain.se -> virtual_dns1.domain.se DNS C port=1975 decserver1.domain.se -> othername_dns1 ICMP Destination unreachable (Bad port) decserver1.domain.se -> othername_dns1 TCP D=996 S=22 Ack=2536626735 Seq=862292033 Len=20 Win=33580 decserver1.domain.se -> virtual_dns1.domain.se DNS C port=1975 decserver1.domain.se -> othername_dns1 ICMP Destination unreachable (Bad port) decserver1.domain.se -> virtual_dns1.domain.se DNS C port=1975 decserver1.domain.se -> othername_dns1 ICMP Destination unreachable (Bad port) decserver1.domain.se -> virtual_dns1.domain.se DNS C port=1975 decserver1.domain.se -> othername_dns1 ICMP Destination unreachable (Bad port) decserver1.domain.se -> virtual_dns1.domain.se DNS C port=1977 decserver1.domain.se -> othername_dns1 ICMP Destination unreachable (Bad port) A ping from decserver1 to either virtual_dns1 or othername_dns1 also shows one ICMP failure, but seems to fail over to dnsserver2 almost at once. Snoop says: decserver1.ericsson.se -> virtual_dns1.ericsson.se DNS C port=2042 decserver1.ericsson.se -> othername_dns1 ICMP Destination unreachable (Bad port) decserver1.ericsson.se -> othername_dns1 TCP D=996 S=22 Ack=2536628655 Seq=862303509 Len=20 Win=33580 decserver1.ericsson.se -> virtual_dns1.ericsson.se ICMP Echo request Doing the nslookup from a Solaris server works immediately, and a corresponding snoop says: sunserver.domain.se -> othername_dns1 TCP D=987 S=22 Ack=117062426 Seq=1441240807 Len=20 Win=8760 sunserver.domain.se -> othername_dns1 TCP D=987 S=22 Ack=117062446 Seq=1441240827 Len=36 Win=8760 sunserver.domain.se -> othername_dns1 TCP D=987 S=22 Ack=117062466 Seq=1441240863 Len=20 Win=8760 sunserver.domain.se -> virtual_dns1.domain.se DNS C port=34575 sunserver.domain.se -> virtual_dns1.domain.se DNS C port=34576 sunserver.domain.se -> othername_dns1 TCP D=987 S=22 Ack=117062466 Seq=1441240883 Len=156 Win=8760 Is there some bug in Digital's BIND that prevents us from using a "virtual" name server? If it works on Sun... Where does the ICMP error come from? Any ideas? Rgds, -- Hans Westerback * E-Mail : hans.westerback@edt.ericsson.se LM Ericsson Data AB * Memo : edt.edthwes G�talandsv�gen 230 * Phone : +46-8-7262652 S-125 82 Stockholm * Fax : +46-8-7217131