Gentoo Archives: gentoo-user

From: sguglia@××××××.it
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mysql, bind and dns hostnames
Date: Wed, 26 Jul 2006 14:58:35
Message-Id: 200607261646.25497.sguglia@arrows.it
In Reply to: Re: [gentoo-user] mysql, bind and dns hostnames by Alexander Kirillov
1 Alle 15:20, mercoledì 26 luglio 2006, Alexander Kirillov ha scritto:
2 > If you have net-dns/bind-tools installed
3 > what's the output of dig -x 192.168.0.2 ?
4 >
5 > Are you using FQDN in mysql tables?
6 >
7 > You should use GRANT statements instead of hacking
8 > mysql tables directly and FLUSH PRIVILEGES afterwards.
9 >
10 > HTH,
11 > Sasha
12
13 hi Sasha,
14
15 # dig -x 192.168.0.2
16
17 ; <<>> DiG 9.3.2 <<>> -x 192.168.0.2
18 ;; global options: printcmd
19 ;; Got answer:
20 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 914
21 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
22
23 ;; QUESTION SECTION:
24 ;2.0.168.192.in-addr.arpa. IN PTR
25
26 ;; ANSWER SECTION:
27 2.0.168.192.in-addr.arpa. 172800 IN PTR
28 pc-0002.0.168.192.in-addr.arpa.
29
30 ;; AUTHORITY SECTION:
31 0.168.192.in-addr.arpa. 172800 IN NS
32 pc-0002.0.168.192.in-addr.arpa.
33
34 ;; Query time: 5 msec
35 ;; SERVER: 192.168.0.1#53(192.168.0.1)
36 ;; WHEN: Wed Jul 26 17:04:14 2006
37 ;; MSG SIZE rcvd: 78
38
39
40 - yes, I use FQDNs
41 - I hacked tables directly and flush privileges + hosts afterwards..
42
43
44 --
45 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] mysql, bind and dns hostnames Alexander Kirillov <nevis2us@××××××××.su>