* [gentoo-user] Quick question about DNS and bind
@ 2005-12-13 16:02 Michael Sullivan
2005-12-13 16:44 ` Francesco Riosa
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Michael Sullivan @ 2005-12-13 16:02 UTC (permalink / raw
To: gentoo-user
I believe that I have my DNS configuration set up correctly and the
named server is starting. The problem is that when I issue
dig 127.0.0.1 I get this:
bullet ~ # dig 127.0.0.1
; <<>> DiG 9.2.5 <<>> 127.0.0.1
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 34083
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;127.0.0.1. IN A
;; AUTHORITY SECTION:
. 86400 IN SOA A.ROOT-SERVERS.NET.
NSTLD.VERISIGN-GRS.COM. 2005121201 1800 900 604800 86400
;; Query time: 127 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Tue Dec 13 10:00:47 2005
;; MSG SIZE rcvd: 102
This shouldn't be right - it should be showing me the records that I set
up yesterday, but for some reason it's not consulting my new DNS server.
How do I make it use my DNS server? Do I need to specify 127.0.0.1 in
my /etc/resolv.conf file? (All of this is on my server box)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Quick question about DNS and bind
2005-12-13 16:02 [gentoo-user] Quick question about DNS and bind Michael Sullivan
@ 2005-12-13 16:44 ` Francesco Riosa
2005-12-13 16:48 ` Francesco Riosa
2005-12-14 2:51 ` Jessica Rasku
2 siblings, 0 replies; 4+ messages in thread
From: Francesco Riosa @ 2005-12-13 16:44 UTC (permalink / raw
To: gentoo-user
Michael Sullivan wrote:
> I believe that I have my DNS configuration set up correctly and the
> named server is starting. The problem is that when I issue
>
> dig 127.0.0.1 I get this:
>
> bullet ~ # dig 127.0.0.1
>
^^^ this does not do what you want:
use either
#dig 1.0.0.127.in-addr.arpa.
or in short
#dig -x 127.0.0.1
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Quick question about DNS and bind
2005-12-13 16:02 [gentoo-user] Quick question about DNS and bind Michael Sullivan
2005-12-13 16:44 ` Francesco Riosa
@ 2005-12-13 16:48 ` Francesco Riosa
2005-12-14 2:51 ` Jessica Rasku
2 siblings, 0 replies; 4+ messages in thread
From: Francesco Riosa @ 2005-12-13 16:48 UTC (permalink / raw
To: gentoo-user
Michael Sullivan wrote:
> I believe that I have my DNS configuration set up correctly and the
> named server is starting. The problem is that when I issue
>
> dig 127.0.0.1 I get this:
>
>
^^^^ this does not do what you want
use either
#dig 1.0.0.127.in-addr.arpa.
or
#dig -x 127.0.0.1
...
sorry if this is a duplicate mail
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Quick question about DNS and bind
2005-12-13 16:02 [gentoo-user] Quick question about DNS and bind Michael Sullivan
2005-12-13 16:44 ` Francesco Riosa
2005-12-13 16:48 ` Francesco Riosa
@ 2005-12-14 2:51 ` Jessica Rasku
2 siblings, 0 replies; 4+ messages in thread
From: Jessica Rasku @ 2005-12-14 2:51 UTC (permalink / raw
To: gentoo-user
Michael Sullivan wrote:
> I believe that I have my DNS configuration set up correctly and the
> named server is starting. The problem is that when I issue
>
> dig 127.0.0.1 I get this:
>
> bullet ~ # dig 127.0.0.1
This isn't the correct format to do a reverse DNS lookup. I believe
that it is
# dig 1.0.0.127.in-addr.arpa
I believe this is what you are looking for. If not, then it is not
setup correctly.
> ; <<>> DiG 9.2.5 <<>> 127.0.0.1
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 34083
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;127.0.0.1. IN A
>
> ;; AUTHORITY SECTION:
> . 86400 IN SOA A.ROOT-SERVERS.NET.
> NSTLD.VERISIGN-GRS.COM. 2005121201 1800 900 604800 86400
>
> ;; Query time: 127 msec
> ;; SERVER: 192.168.1.1#53(192.168.1.1)
> ;; WHEN: Tue Dec 13 10:00:47 2005
> ;; MSG SIZE rcvd: 102
This is querying 192.168.1.1 port 53. This if I'm not mistaken is a
private network, and thus would have to be your machine. So it's just a
matter of forming your request in the correct format. Unless you
haven't set things up correctly.
> This shouldn't be right - it should be showing me the records that I set
> up yesterday, but for some reason it's not consulting my new DNS server.
> How do I make it use my DNS server? Do I need to specify 127.0.0.1 in
> my /etc/resolv.conf file? (All of this is on my server box)
I think everything is correct. Your query was just malformed. No
problem, try the query that I put, it should work.
Jessica
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-12-14 3:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-13 16:02 [gentoo-user] Quick question about DNS and bind Michael Sullivan
2005-12-13 16:44 ` Francesco Riosa
2005-12-13 16:48 ` Francesco Riosa
2005-12-14 2:51 ` Jessica Rasku
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox