1 |
Michael Sullivan wrote: |
2 |
> I believe that I have my DNS configuration set up correctly and the |
3 |
> named server is starting. The problem is that when I issue |
4 |
> |
5 |
> dig 127.0.0.1 I get this: |
6 |
> |
7 |
> bullet ~ # dig 127.0.0.1 |
8 |
|
9 |
This isn't the correct format to do a reverse DNS lookup. I believe |
10 |
that it is |
11 |
|
12 |
# dig 1.0.0.127.in-addr.arpa |
13 |
|
14 |
I believe this is what you are looking for. If not, then it is not |
15 |
setup correctly. |
16 |
|
17 |
> ; <<>> DiG 9.2.5 <<>> 127.0.0.1 |
18 |
> ;; global options: printcmd |
19 |
> ;; Got answer: |
20 |
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 34083 |
21 |
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 |
22 |
> |
23 |
> ;; QUESTION SECTION: |
24 |
> ;127.0.0.1. IN A |
25 |
> |
26 |
> ;; AUTHORITY SECTION: |
27 |
> . 86400 IN SOA A.ROOT-SERVERS.NET. |
28 |
> NSTLD.VERISIGN-GRS.COM. 2005121201 1800 900 604800 86400 |
29 |
> |
30 |
> ;; Query time: 127 msec |
31 |
> ;; SERVER: 192.168.1.1#53(192.168.1.1) |
32 |
> ;; WHEN: Tue Dec 13 10:00:47 2005 |
33 |
> ;; MSG SIZE rcvd: 102 |
34 |
|
35 |
This is querying 192.168.1.1 port 53. This if I'm not mistaken is a |
36 |
private network, and thus would have to be your machine. So it's just a |
37 |
matter of forming your request in the correct format. Unless you |
38 |
haven't set things up correctly. |
39 |
|
40 |
> This shouldn't be right - it should be showing me the records that I set |
41 |
> up yesterday, but for some reason it's not consulting my new DNS server. |
42 |
> How do I make it use my DNS server? Do I need to specify 127.0.0.1 in |
43 |
> my /etc/resolv.conf file? (All of this is on my server box) |
44 |
|
45 |
I think everything is correct. Your query was just malformed. No |
46 |
problem, try the query that I put, it should work. |
47 |
|
48 |
Jessica |
49 |
|
50 |
|
51 |
|
52 |
-- |
53 |
gentoo-user@g.o mailing list |