<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
This crops up time and time again - perhaps +trace should have been
+mimic.<br>
<br>
The '+trace' option causes dig to act as a recursive server would,
asking each server in turn for a none recursive answer. Thus when
you say +trace its your instance of dig that's doing the work.<br>
<br>
The details in the response hold your answer:<br>
<br>
<pre>$ dig @66.231.91.222 google-public-dns-a.google.com
; <<>> DiG 9.3.6-P1 <<>> @66.231.91.222 google-public-dns-a.google.com
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 503
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0
;; QUESTION SECTION:
;google-public-dns-a.google.com. IN A
;; AUTHORITY SECTION:
. 3600000 IN NS A.ROOT-SERVERS.NET.
. 3600000 IN NS B.ROOT-SERVERS.NET.
. 3600000 IN NS C.ROOT-SERVERS.NET.
. 3600000 IN NS D.ROOT-SERVERS.NET.
. 3600000 IN NS E.ROOT-SERVERS.NET.
. 3600000 IN NS F.ROOT-SERVERS.NET.
. 3600000 IN NS G.ROOT-SERVERS.NET.
. 3600000 IN NS H.ROOT-SERVERS.NET.
. 3600000 IN NS I.ROOT-SERVERS.NET.
. 3600000 IN NS J.ROOT-SERVERS.NET.
. 3600000 IN NS K.ROOT-SERVERS.NET.
. 3600000 IN NS L.ROOT-SERVERS.NET.
. 3600000 IN NS M.ROOT-SERVERS.NET.
;; Query time: 111 msec
;; SERVER: 66.231.91.222#53(66.231.91.222)
;; WHEN: Wed Nov 17 09:50:35 2010
;; MSG SIZE rcvd: 259
</pre>
Looking at the flags in the response note the lack of 'ra';
Recursion Available!<br>
<br>
Thus the server is saying I don't know (or I wont tell you what's in
my cache) and I'm not going to find an answer for you, go start
looking at the root servers. Hence the +trace works.<br>
<br>
<br>
<br>
Regards<br>
Stacey<br>
On 16/11/2010 21:00, M. Meadows wrote:
<blockquote cite="mid:BLU156-w388096E5F21E429FBE625AF3370@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
Can someone explain the following dig results? The first dig
@8.8.8.8 provides the expected result<br>
<br>
<br>
: dig +noall +answer google-public-dns-a.google.com @8.8.8.8<br>
google-public-dns-a.google.com. 85040 IN A 8.8.8.8<br>
<br>
We get the same result from KLOTH.NET (<a moz-do-not-send="true"
href="http://www.kloth.net/services/nslookup.php">http://www.kloth.net/services/nslookup.php</a>)<br>
<br>
<br>
But when we specify the public facing exacttarget.com server<br>
<br>
: dig +noall +answer google-public-dns-a.google.com @66.231.91.222
<br>
<br>
No answer<br>
<br>
And when we use +trace ... it seems to find it's way to the
correct answer.<br>
<br>
: dig google-public-dns-a.google.com @66.231.91.222 +trace<br>
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2
<<>> google-public-dns-a.google.com @66.231.91.222
+trace<br>
;; global options: printcmd<br>
. 3600000 IN NS
A.ROOT-SERVERS.NET.<br>
. 3600000 IN NS
B.ROOT-SERVERS.NET.<br>
. 3600000 IN NS
C.ROOT-SERVERS.NET.<br>
. 3600000 IN NS
D.ROOT-SERVERS.NET.<br>
. 3600000 IN NS
E.ROOT-SERVERS.NET.<br>
. 3600000 IN NS
F.ROOT-SERVERS.NET.<br>
. 3600000 IN NS
G.ROOT-SERVERS.NET.<br>
. 3600000 IN NS
H.ROOT-SERVERS.NET.<br>
. 3600000 IN NS
I.ROOT-SERVERS.NET.<br>
. 3600000 IN NS
J.ROOT-SERVERS.NET.<br>
. 3600000 IN NS
K.ROOT-SERVERS.NET.<br>
. 3600000 IN NS
L.ROOT-SERVERS.NET.<br>
. 3600000 IN NS
M.ROOT-SERVERS.NET.<br>
;; Received 228 bytes from 66.231.91.222#53(66.231.91.222) in 1 ms<br>
com. 172800 IN NS
g.gtld-servers.net.<br>
com. 172800 IN NS
f.gtld-servers.net.<br>
com. 172800 IN NS
l.gtld-servers.net.<br>
com. 172800 IN NS
h.gtld-servers.net.<br>
com. 172800 IN NS
j.gtld-servers.net.<br>
com. 172800 IN NS
c.gtld-servers.net.<br>
com. 172800 IN NS
i.gtld-servers.net.<br>
com. 172800 IN NS
d.gtld-servers.net.<br>
com. 172800 IN NS
k.gtld-servers.net.<br>
com. 172800 IN NS
m.gtld-servers.net.<br>
com. 172800 IN NS
a.gtld-servers.net.<br>
com. 172800 IN NS
e.gtld-servers.net.<br>
com. 172800 IN NS
b.gtld-servers.net.<br>
;; Received 504 bytes from 198.41.0.4#53(A.ROOT-SERVERS.NET) in 35
ms<br>
google.com. 172800 IN NS ns2.google.com.<br>
google.com. 172800 IN NS ns1.google.com.<br>
google.com. 172800 IN NS ns3.google.com.<br>
google.com. 172800 IN NS ns4.google.com.<br>
;; Received 184 bytes from 192.42.93.30#53(g.gtld-servers.net) in
75 ms<br>
google-public-dns-a.google.com. 86400 IN A 8.8.8.8<br>
;; Received 64 bytes from 216.239.34.10#53(ns2.google.com) in 39
ms<br>
<br>
What's going on?<br>
<br>
Thanks!<br>
Marty<br>
<br>
<br>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
bind-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a></pre>
</blockquote>
<br>
</body>
</html>