From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Copper, Steve" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY-ISH: Resolv.conf error? Date: Wed, 26 Sep 2007 13:59:24 +0100 Message-ID: <4F15B507E8E83649B62136D80751CEE8012C0098@PLOEVS01.westernpower.co.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1190811671 23778 80.91.229.12 (26 Sep 2007 13:01:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Sep 2007 13:01:11 +0000 (UTC) To: tru64-unix-managers@ornl.gov Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Sep 26 15:01:06 2007 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by lo.gmane.org with smtp (Exim 4.50) id 1IaWVj-00051Y-RU for gotm-tru64-unix-managers@gmane.org; Wed, 26 Sep 2007 15:01:04 +0200 Original-Received: (qmail 12176 invoked by uid 49509); 26 Sep 2007 13:00:41 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 12167 invoked from network); 26 Sep 2007 13:00:41 -0000 Original-Received: from emroute4.ornl.gov (160.91.86.27) by sws1.ornl.gov with SMTP; 26 Sep 2007 13:00:41 -0000 Original-Received: from emroute4.ornl.gov ([127.0.0.1]) by emroute4.ornl.gov (PMDF V6.3-x11 #31501) with ESMTP id <0JOZ00BYH854ZG@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 26 Sep 2007 09:00:41 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.3-x11 #31501) id <0JOZ00F01854E5@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 26 Sep 2007 09:00:40 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.3-x11 #31501) id <0JOZ00F0684M55@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 26 Sep 2007 09:00:40 -0400 (EDT) Original-Received: from mail56.messagelabs.com (mail56.messagelabs.com [193.109.254.67]) by emroute4.ornl.gov (PMDF V6.3-x11 #31501) with SMTP id <0JOZ00BP3832BR@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 26 Sep 2007 09:00:21 -0400 (EDT) Original-Received: (qmail 3460 invoked from network); Wed, 26 Sep 2007 12:59:24 +0000 Original-Received: from mail.westernpower.co.uk (HELO plomes04.westernpower.co.uk) (194.154.186.82) by server-12.tower-56.messagelabs.com with SMTP; Wed, 26 Sep 2007 12:59:24 +0000 Original-Received: from PLOEVS01.westernpower.co.uk ([194.154.186.81]) by plomes04.westernpower.co.uk with Microsoft SMTPSVC(6.0.3790.1830); Wed, 26 Sep 2007 13:59:24 +0100 X-Originating-IP: [194.154.186.82] X-Envelope-from: scopper@westernpower.co.uk X-MIMEOLE: Produced By Microsoft Exchange V6.5 Thread-Topic: SUMMARY-ISH: Resolv.conf error? Thread-Index: Acf6swYDnHNvMl/cTTK3TeYAcaPbfwBmMJIAAPsfdyA= Content-class: urn:content-classes:message X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on email.ornl.gov X-Spam-Level: X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00,BOTNET_SERVERWORDS, BOTNET_SOHO,MIME_QP_LONG_LINE autolearn=no version=3.2.3 X-VirusChecked: Checked X-Env-Sender: scopper@westernpower.co.uk X-Msg-Ref: server-12.tower-56.messagelabs.com!1190811564!127313769!1 X-StarScan-Version: 5.5.12.14.2; banners=westernpower.co.uk,-,- X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 26 Sep 2007 12:59:24.0112 (UTC) FILETIME=[0FFA3500:01C8003D] Xref: news.gmane.org gmane.os.tru64.managers:9235 Archived-At: All, I=20have=20found=20a=20fix=20for=20the=20below=20problem=20though=20it=20i= s=20more=20of=20a=20work around=20rather=20than=20actually=20understanding=20what=20is=20going=20on= .=20I=20am=20using my=200.1%=20caveat=20that=20it=20wasn't=20a=20samba=20issue=20to=20good=20= affect=20here=20because the=20change=20I=20made=20was=20to=20do=20with=20the=20samba=20configurati= on!! Looking=20at=20the=20log=20files=20for=20log.smb=20it=20was=20showing=20th= e=20following entries 2007/09/26=2013:15:15=20Connection=20denied=20from=200.0.0.0 getpeername=20failed getpeername=20failed 2007/09/26=2013:15:25=20Connection=20denied=20from=200.0.0.0 Ad=20infinitum=20whenever=20there=20was=20a=20failed=20connection.=20In=20= the=20samba configuration=20file=20there=20is=20a=20"hosts=20allow"=20line=20which=20w= as=20as=20it suggests=20only=20allowing=20connections=20from=20the=20stated=20ip=20addr= ess=20ranges. Removing=20this=20line=20and=20restarting=20the=20samba=20processes=20now=20= allows=20the connection=20to=20work=20whenever=20one=20of=20our=20DNS=20servers=20is=20= not=20available. So=20although=20this=20problem=20has=20been=20"worked=20around"=20I=20stil= l=20don't understand=20why=20the=20reverse=20lookup=20of=20the=20client=20attempting= =20to=20connect=20to the=20samba=20share=20is=20failing=20and=20coming=20back=20with=200.0.0.0=20= as=20it's=20ip address=20as=20all=20nslookups=20(of=20the=20client=20and=20other=20server= s)=20are=20working fine=20and=20moving=20on=20from=20the=20failed=20nameserver=20entry=20to=20= the=20next available=20one. Oh=20well,=20least=20it's=20working... Many=20thanks=20to=20the=20following=20for=20their=20replies. Johan=20Brusche Rik=20Werme James=20Sainsbury Martin=20Ronde=20Andersen=20and=20 Ann=20Majeske Regards Steve=20Copper -----Original=20Message----- From:=20Copper,=20Steve=20 Sent:=2021=20September=202007=2013:50 To:=20tru64-unix-managers@ornl.gov Subject:=20Resolv.conf=20error? Hi=20All, I=20have=20just=20experienced=20a=20problem=20where=20my=20samba=20shares=20= to=202=20servers suddenly=20stopped=20working.=20The=20reason=20as=20to=20why=20they=20stop= ped=20working=20is because=20out=20DNS=20server=20crashed.=20Now=20I=20am=2099.99%=20sure=20t= hat=20this=20isn't=20a samba=20issue=20as=20all=20my=20other=2016=20servers=20with=20identical=20= configuration files=20were=20still=20working,=20and=20when=20the=20DNS=20server=20came=20= back=20up=20the=202 servers=20samba=20shares=20started=20working=20again.=20Stopping=20and=20r= estarting=20the samba=20processes=20had=20no=20affect. So=20this=20led=20me=20to=20look=20at=20the=20resolv.conf=20files=20and=20= this=20is=20where=20I think=20that=20the=20problem=20lies.=20All=20the=20servers=20have=20a=20do= main=20statement followed=20by=202=20nameserver=20entries=20as=20follows domain=20aaaaa.co.uk nameserver=201.1.1.1 nameserver=202.2.2.2 And=20it=20was=20the=201.1.1.1=20server=20which=20crashed.=20Now=20the=202= =20servers=20whose samba=20shares=20stopped=20working=20had=20the=201.1.1.1=20address=20as=20= the=20first=20entry followed=20by=202.2.2.2,=20all=20the=20others=20who=20still=20worked=20hav= e=202.2.2.2=20as=20the first=20entry=20followed=20by=20the=201.1.1.1 So=20this=20leads=20me=20to=20conclude=20that=20somehow=20the=20resolv.con= f=20"process" isn't=20working=20as=20designed=20as=20reading=20the=20below=20taken=20fro= m=20the=20man=20page on=20resolv.conf=20indicates=20that=20if=20the=20first=20server=20(1.1.1.1= )=20isn't available=20then=20it=20will=20move=20onto=20the=20second=20server=20(2.2.= 2.2) ...... =20=20nameserver=20Address =20=20Internet=20address=20(in=20dot=20notation)=20of=20a=20name=20server=20= that=20the=20resolver should=20query.=20=20Up=20to=20MAXNS=20(currently=203)=20name=20servers=20= may=20be=20listed,=20one per=20keyword.=20=20If=20there=20are=20multiple=20servers,=20the=20resolve= r=20library queries=20them=20in=20the=20order=20listed.=20=20If=20no=20nameserver=20en= tries=20are=20present, the=20default=20is=20to=20use=20the=20name=20server=20on=20the=20local=20m= achine.=20(The algorithm=20used =20=20is=20to=20try=20a=20name=20server,=20and=20if=20the=20query=20times=20= out,=20try=20the=20next, until=20out=20of=20name=20servers,=20then=20repeat=20trying=20all=20the=20= name=20servers=20until a=20maximum=20number=20of=20retries=20are=20made). ...... All=20the=20nsswitch.conf=20and=20svc.conf=20files=20are=20exactly=20the=20= same=20on=20all=2018 servers=20so=20I=20doubt=20they=20are=20the=20problem,=20although=20here=20= is=20the=20contents of=20the=20svc.conf=20file=20and=20nsswitch.conf=20file aliases=3Dlocal,bind auth=3Dlocal group=3Dlocal,yp hosts=3Dlocal,bind netgroup=3Dyp networks=3Dlocal passwd=3Dlocal,yp protocols=3Dlocal rpc=3Dlocal services=3Dlocal And aliases:=20=20=20=20=20=20=20=20files=20dns auth_default:=20=20=20files auth_devassign:=20files auth_files:=20=20=20=20=20files auth_prpasswd:=20=20files auth_ttys:=20=20=20=20=20=20files group:=20=20=20=20=20=20=20=20=20=20compat group_compat:=20=20=20nis hosts:=20=20=20=20=20=20=20=20=20=20files=20dns netgroup:=20=20=20=20=20=20=20nis networks:=20=20=20=20=20=20=20files passwd:=20=20=20=20=20=20=20=20=20compat passwd_compat:=20=20nis protocols:=20=20=20=20=20=20files rpc:=20=20=20=20=20=20=20=20=20=20=20=20files services:=20=20=20=20=20=20=20files Has=20anyone=20seen=20this=20behaviour=20before=20of=20not=20moving=20onto= =20the=20next=20server in=20the=20nameserver=20address,=20and=20know=20what=20the=20cause=20is? We=20are=20running=20on=20Tru645.1B=20with=20PK4 Thanks=20in=20advance. Regards Steve=20Copper Western=20Power=20Distribution=20(South=20West)=20plc=20/=20Western=20Powe= r=20Distribution=20(South=20Wales)=20plc=20 Registered=20in=20England=20and=20Wales=20 Registered=20number:=202366894=20(South=20West)=20/=202366985=20(South=20W= ales)=20 Registered=20Office:=20Avonbank,=20Feeder=20Road,=20Bristol,=20BS2=200TB=20= This=20email=20and=20any=20files=20transmitted=20with=20it=20are=20confide= ntial=20and=20intended=20solely=20for=20the=20use=20of=20the=20individual=20= or=20entity=20to=20whom=20they=20are=20addressed.=20If=20you=20have=20rece= ived=20this=20email=20in=20error=20please=20notify=20postmaster@westernpow= er.co.uk