dns caching server response....
Hi
I got a doubt regarding DNS caching
server response
As per my setup, i have two machines
connected
in LAN...both the machines are Montavista
Linux 2.4.20_mvl31-pc_target.
One of them acting as a server &
another as client, as well as caching server
(used loopback address ::1). Both machines
are Ipv6 aware. The caching server
is acting as client also. i just configured
the /etc/resolv.conf like
nameserver ::1
i have setup a self-contained root nameserver,
accordingly i configured the /var/named/named.ca
.
3600000
NS ns.ipv6.domain.
ns.ipv6.domain.
3600000 AAAA fe80::210:b5ff:fea7:f057
and commented 'cache line' in the /etc/named.conf
of server machine(root server)
well its working fine...here the result
i got
[root@localhost bind-9.2.4]#
dig ipv6.domain AAAA
; <<>> DiG 9.2.1
<<>> ipv6.domain AAAA
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<-
opcode: QUERY, status: NOERROR, id: 1165
;; flags: qr rd ra;
QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;ipv6.domain.
IN AAAA
;; ANSWER SECTION:
ipv6.domain.
86391 IN AAAA
::1
;; AUTHORITY SECTION:
ipv6.domain.
86391 IN NS
ns.ipv6.domain.
;; ADDITIONAL SECTION:
ns.ipv6.domain.
86391 IN AAAA fe80::210:b5ff:fea7:f057
;; Query time: 4 msec
;; SERVER: ::1#53(::1)
;; WHEN: Mon Sep 26 17:20:59
2005
;; MSG SIZE rcvd: 102
But what i got as doubt is like whenever
the caching server returns
response for the first time should not
it send the same along with 'aa' bit set,
coz first time it wont have the data
in its cache....from 2nd time onwards the
'aa' bit should not be set...
Another thing is like where the caching
server maintains the cache?
can we check it with any command or
by opening any file? I'm really really
very eager to know this........
plz comment....
thanks & regards
Sanjib
______________________________________________________________________
Reply to: