dnsquery for Solaris
Mark Andrews
marka at isc.org
Tue Mar 9 23:59:56 UTC 2010
In message <8BE7886DD93C4870BD2A8A0D00259FAD at internal.corp.ds>, "ic.nssip" writ
es:
> What I'm trying to do is to find a way to get the TTL left for a cached
> record.
> I usually use dnsquery like this (12m23s and 9m53s is what interest me):
>
> # dnsquery -n 8.8.8.8 -t a ftp.funet.fi
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47912
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
> ;; ftp.funet.fi, type = A, class = IN
> ftp.funet.fi. 12m23s IN A 193.166.3.2
> #
> #
> # dnsquery -n 8.8.8.8 -t a ftp.funet.fi
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29770
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
> ;; ftp.funet.fi, type = A, class = IN
> ftp.funet.fi. 9m53s IN A 193.166.3.2
>
> Thank you,
> Julian
dig +norec @8.8.8.8 a ftp.funet.fi +noall +answer
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
--
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