From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G5kqI-0007nR-QH for garchives@archives.gentoo.org; Wed, 26 Jul 2006 14:58:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6QEuLkW024972; Wed, 26 Jul 2006 14:56:21 GMT Received: from mail-relay-2.tiscali.it (mail-relay-2.tiscali.it [213.205.33.42]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6QEqL7V000626 for ; Wed, 26 Jul 2006 14:52:21 GMT Received: from pc-0001.localarea (217.133.77.46) by mail-relay-2.tiscali.it (7.3.110.2) id 44C4F3DD0003FDDD for gentoo-user@lists.gentoo.org; Wed, 26 Jul 2006 16:46:25 +0200 From: sguglia@arrows.it Organization: Arrows.it To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] mysql, bind and dns hostnames Date: Wed, 26 Jul 2006 16:46:25 +0200 User-Agent: KMail/1.9.1 References: <200607261431.46439.sguglia@arrows.it> <44C76C15.3040208@infoline.su> In-Reply-To: <44C76C15.3040208@infoline.su> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Message-Id: <200607261646.25497.sguglia@arrows.it> X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k6QEqL7V000626 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k6QEuLl3024972 X-Archives-Salt: adbb3502-7863-4368-9105-7343a80aa4da X-Archives-Hash: d51378674d3bbd4ed0271d2fd48b0de8 Alle 15:20, mercoled=EC 26 luglio 2006, Alexander Kirillov ha scritto: > If you have net-dns/bind-tools installed > what's the output of dig -x 192.168.0.2 ? > > Are you using FQDN in mysql tables? > > You should use GRANT statements instead of hacking > mysql tables directly and FLUSH PRIVILEGES afterwards. > > HTH, > Sasha hi Sasha, # dig -x 192.168.0.2 ; <<>> DiG 9.3.2 <<>> -x 192.168.0.2 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 914 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;2.0.168.192.in-addr.arpa. IN PTR ;; ANSWER SECTION: 2.0.168.192.in-addr.arpa. 172800 IN PTR =20 pc-0002.0.168.192.in-addr.arpa. ;; AUTHORITY SECTION: 0.168.192.in-addr.arpa. 172800 IN NS =20 pc-0002.0.168.192.in-addr.arpa. ;; Query time: 5 msec ;; SERVER: 192.168.0.1#53(192.168.0.1) ;; WHEN: Wed Jul 26 17:04:14 2006 ;; MSG SIZE rcvd: 78 - yes, I use FQDNs - I hacked tables directly and flush privileges + hosts afterwards.. --=20 gentoo-user@gentoo.org mailing list