Nslookup not showng TTL
Mark Andrews
marka at isc.org
Thu Oct 15 21:54:39 UTC 2009
In message <76D7097B-28A4-4BBB-A2C8-05BF5B822901 at conundrum.com>, Matthew Pounse
tt writes:
>
> On 15-Oct-2009, at 16:03, John Horne wrote:
>
> > On Thu, 2009-10-15 at 13:15 -0400, Kevin Darcy wrote:
> >>>
> >> Removing features from nslookup gets us that much closer to KILLING
> >> and
> >> BURYING it. Forever.
> >>
> > So why does the ISC still distribute it?
> > (Although I guess the answer may simply be "because people still use
> > it".)
>
> There was a while there that nslookup printed a big warning banner
> telling you not to use it because it'd been deprecated and would go
> away any day now. That doesn't seem to be there anymore, sadly. I
> kinda wish it would just vanish.
We lost the battle to get rid of nslookup.
Index: bin/dig/nslookup.c
===================================================================
RCS file: /proj/cvs/prod/bind9/bin/dig/nslookup.c,v
retrieving revision 1.122
diff -u -r1.122 nslookup.c
--- bin/dig/nslookup.c 6 May 2009 23:47:50 -0000 1.122
+++ bin/dig/nslookup.c 15 Oct 2009 12:45:26 -0000
@@ -373,6 +373,7 @@
printrdata(&rdata);
}
dns_rdata_reset(&rdata);
+ printf("\tttl = %u\n", rdataset->ttl);
loopresult = dns_rdataset_next(rdataset);
}
}
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list