Gentoo Archives: gentoo-user

From: Alexander Kirillov <nevis2us@××××××××.su>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mysql, bind and dns hostnames
Date: Wed, 26 Jul 2006 15:22:24
Message-Id: 44C787A7.7020305@infoline.su
In Reply to: Re: [gentoo-user] mysql, bind and dns hostnames by sguglia@arrows.it
1 >> If you have net-dns/bind-tools installed
2 >> what's the output of dig -x 192.168.0.2 ?
3 >
4 > # dig -x 192.168.0.2
5 >
6 > ; <<>> DiG 9.3.2 <<>> -x 192.168.0.2
7 > ;; global options: printcmd
8 > ;; Got answer:
9 > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 914
10 > ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
11 >
12 > ;; QUESTION SECTION:
13 > ;2.0.168.192.in-addr.arpa. IN PTR
14 >
15 > ;; ANSWER SECTION:
16 > 2.0.168.192.in-addr.arpa. 172800 IN PTR
17 > pc-0002.0.168.192.in-addr.arpa.
18 >
19 > ;; AUTHORITY SECTION:
20 > 0.168.192.in-addr.arpa. 172800 IN NS
21 > pc-0002.0.168.192.in-addr.arpa.
22
23 Hi Stefano,
24
25 Check your reverse zone.
26 dig -x 192.168.0.2 on mysql box should give you something like:
27
28 ;; ANSWER SECTION:
29 2.0.168.192.in-addr.arpa. 172800 IN PTR pc-0002.localarea.
30
31 Same goes for AUTHORITY SECTION
32
33 try dig pc-0002.localarea as well.
34 You may also install and run net-dns/dnswalk
35 which is a DNS database debugger.
36
37 HTH,
38 Sasha
39
40 --
41 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] mysql, bind and dns hostnames sguglia@××××××.it