From owner-freebsd-questions@FreeBSD.ORG Wed Nov 21 18:12:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CBE68D9 for ; Wed, 21 Nov 2012 18:12:09 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm12.bullet.mail.bf1.yahoo.com (nm12.bullet.mail.bf1.yahoo.com [98.139.212.171]) by mx1.freebsd.org (Postfix) with ESMTP id F1D058FC15 for ; Wed, 21 Nov 2012 18:12:08 +0000 (UTC) Received: from [98.139.215.140] by nm12.bullet.mail.bf1.yahoo.com with NNFMP; 21 Nov 2012 18:12:02 -0000 Received: from [98.139.212.243] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 21 Nov 2012 18:12:02 -0000 Received: from [127.0.0.1] by omp1052.mail.bf1.yahoo.com with NNFMP; 21 Nov 2012 18:12:02 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 325296.4649.bm@omp1052.mail.bf1.yahoo.com Received: (qmail 92695 invoked by uid 60001); 21 Nov 2012 18:12:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1353521522; bh=hFfpPZtWuBpDVzk2IBqU2GSDdQGkOQK3X0BFPybhy08=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sGxayWIfAf6F/9nFjWEVAo3TR4YppwwjSrGkxs6DPvZ5WMCssRmLGfXz0bFxqrKv+NJyk4RmFsMZDkHtff/V3lk9YMVGo2phyvVykSeWJdjtZ8qgqp28bfOWuECf1nFiALTneXuuOZe4A5ARZz2D4DGxjXN3rUs//PNn05HysT0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=SxyWYM0tLfeO5+YUhn0OkGfKhJiPFl/+XHLIo7/oTlalPQkWZ6Lsdd1RreUJYaVWU/oauqyy9jIune2n2jy7Nb9i4vtVun0y9U+NU/1GKNK/3SHEb/GKqDvnka3qJjoJ72I0ZwWunuimppbw2rXnGGfSCeKy7Bh3izSYZYJ+Hdg=; X-YMail-OSG: JndiuykVM1nA.CWiUgSlnrTna_6wVplzMgEmU88JkERfaLW SV5R_0WIfJJsCjvWQvyy0ayz4x2buvpYRqzm5eXIJ6fkHeLdsza0GcIbd5xv Aeovg.DINsLOU2OjNUVWRPJnh1AtFhqLAM204OCElcvcMRGNc9dzoDEVrEvg XQpDfibF5zisso30TuUWSZa.u.IPWjUfOIe8WZT7LmyjqHljxuFV0MXVGwhb d7PohUdb1fflGOmujDauATeH3YOlZzhFarlqTb7tlWu7Z1kLSCaCqpjDU2Yw EywWkWZQezrwAQhobDxbwPMEJbZpolVfqJfBwUO9CfBUJ_nY78AChY57dk5P DASnz.YswiiZ9YnQmTp9RMFmD0zriWZhW74BLx_K6EjOBlNrpnCnd7f4hiYM OqQAT7PrPbDHqWE7tRWnSY0iErapztDOGpQHrtRs7PooNs_Gik7o9V8vqQO6 rGfQrkfHN85gLYAqZISgsoNKK0zcuxK.wTCToEGbBXKWJAyxSJvYzHgmk3vL ChL5y47qMteWtTWbvVFd9lMXxYVTlFmtHor8G36cH_O1sQmypNVz6rHaN1du Bs7W_ArPAeWmLVs78Z23eqJ9K2XwTihnzAvGDgGeZEqInHbt40CIHEuk- Received: from [124.43.67.254] by web161903.mail.bf1.yahoo.com via HTTP; Wed, 21 Nov 2012 10:12:02 PST X-Rocket-MIMEInfo: 001.001, PiBGcm9tOiBVbmdhIDx1bmdhODg4QHlhaG9vLmNvbT4KPiBUbzogSWx5YSBLYXpha2V2aWNoIDxrYXpha2V2aWNoaWx5YUBnbWFpbC5jb20.Cj4gQ2M6ICJmcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZyIgPGZyZWVic2QtcXVlc3Rpb25zQGZyZWVic2Qub3JnPgo.IFNlbnQ6IFdlZG5lc2RheSwgTm92ZW1iZXIgMjEsIDIwMTIgMzozNiBQTQo.IFN1YmplY3Q6IFJlOiBCaW5kOTkgc3RvcHBlZCByZXNvbHZpbmcgZm9yIGV4dGVybmFsIHF1ZXJpZXMKPiAKPiBIaSBJSXlhCj4gCj4gVGhhbmsgeW91IGZvciABMAEBAQE- X-Mailer: YahooMailWebService/0.8.123.460 References: <1353498387.59705.YahooMailNeo@web161902.mail.bf1.yahoo.com> <1353512187.68024.YahooMailNeo@web161902.mail.bf1.yahoo.com> Message-ID: <1353521522.90256.YahooMailNeo@web161903.mail.bf1.yahoo.com> Date: Wed, 21 Nov 2012 10:12:02 -0800 (PST) From: Unga Subject: Re: Bind99 stopped resolving for external queries [SOLVED] To: Ilya Kazakevich In-Reply-To: <1353512187.68024.YahooMailNeo@web161902.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Unga List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 18:12:09 -0000 > From: Unga =0A> To: Ilya Kazakevich =0A> Cc: "freebsd-questions@freebsd.org" =0A> Sent: Wednesday, November 21, 2012 3:36 PM=0A> Subject: Re: Bind9= 9 stopped resolving for external queries=0A> =0A> Hi IIya=0A> =0A> Thank yo= u for your reply. =0A> =0A>> Hello,=A0=0A> =0A>> =0A>> =0A>> =0A>>> From my= laptop if I ping the server:=0A>>> ping www.mydoamin.com=0A>>> ping: canno= t resolve www.mydoamin.com: Host name lookup failure=0A>>> =0A>>> But if I = log in to the server and do the same ping, it works fine.=0A>>> =0A>>> =0A>= > =0A>> =0A>> 1) check your laptop is configured to work with this DNS serv= er (cat =0A> /etc/resolv.conf on laptop or "ipconfig /all | findstr DNS" in= case of =0A> windows )=0A> =0A> My laptop and the server are in two differ= ent countries. Btw, laptop also run =0A> FreeBSD.=0A> =0A> =0A> =0A>> 2) ch= eck server is accessible (ping from laptop)=0A> =0A> Yes, = the server is accessible (ping from the laptop.=0A> =0A> = =0A>> 3) check server is accessible via TCP/53 =0A> ("telnet=A0=A053" from your laptop)=A0=0A> =0A> No, there was a reverse DNS error = here. It was pointing to the Reverse DNS =0A> server of the data centre.=0A= > =0A> Now its been corrected:=0A> =0A> telnet 53=0A> Tryi= ng ...=0A> Connected to ns1.mydomain.com.=0A> Escape charac= ter is '^]'.=0A> =0A>> 4) check firewall on server and/or devices between s= erver and laptop, it may =0A> block requests=0A> =0A> No firewall on the se= rver yet. =0A> =0A> =0A>> 5) check your server is configured to use the sam= e DNS:=A0cat =0A> /etc/resolv.conf=A0=0A>> =0A> nameserver 127.0.0.1=0A> na= meserver other_ip1=0A> nameserver other_ip2=0A> =0A> =0A> Although the Reve= rse DNS is now been corrected, still cannot ping as from the =0A> laptop:= =0A> ping www.mydomain.com=0A> ping: cannot resolve www.mydomain.com: Host = name lookup failure=0A> =0A> Any ideas?=0A> =0A> Regards=0A> Unga=0A> =0A= =0AHi all=0A=0AFound the problem. The domain name was expired 2 days ago. T= hat was the last thing I expected :)=0A=0ABest regards=0AUnga