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 16:13:35
Message-Id: 200607261806.24591.sguglia@arrows.it
In Reply to: Re: [gentoo-user] mysql, bind and dns hostnames by Alexander Kirillov
1 Alle 17:17, mercoledì 26 luglio 2006, Alexander Kirillov ha scritto:
2
3 > Hi Stefano,
4 >
5 > Check your reverse zone.
6 > dig -x 192.168.0.2 on mysql box should give you something like:
7 >
8 > ;; ANSWER SECTION:
9 > 2.0.168.192.in-addr.arpa. 172800 IN PTR pc-0002.localarea.
10 >
11 > Same goes for AUTHORITY SECTION
12 >
13 > try dig pc-0002.localarea as well.
14 > You may also install and run net-dns/dnswalk
15 > which is a DNS database debugger.
16 >
17 > HTH,
18 > Sasha
19
20 the right way, finally. Thank you! I recheck my 192.168.0 reverse zone and the
21 mistake was (apparently) this:
22
23 not-working:
24
25 $ORIGIN 0.168.192.IN-ADDR.ARPA.
26 $TTL 2d
27 @ IN SOA pc-0001 root.pc-0001 (2005071200 3h 1h 1w 1d)
28 @ IN NS pc-0001
29 1 IN PTR pc-0001
30 2 IN PTR pc-0002
31
32 working:
33
34 $ORIGIN 0.168.192.IN-ADDR.ARPA.
35 $TTL 2d
36 @ IN SOA pc-0001 root.pc-0001 (2005071200 3h 1h 1w 1d)
37 @ IN NS pc-0001.localarea.
38 1 IN PTR pc-0001.localarea.
39 2 IN PTR pc-0002.localarea.
40
41 anyway, now it works!!
42 Thank you Sasha, bye.
43
44 --
45 gentoo-user@g.o mailing list