djbdns
[Top] [All Lists]

Re: dnsqr and soa

To: dns <dns@list.cr.yp.to>
Subject: Re: dnsqr and soa
From: Jeff King <peff@peff.net>
Date: Thu, 18 Jan 2007 14:25:41 -0500
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-djbdns@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list dns@list.cr.yp.to
In-reply-to: <20070118163332.GA28241@tranquility.scriptkitchen.com>
Mail-followup-to: dns <dns@list.cr.yp.to>
Mailing-list: contact dns-help@list.cr.yp.to; run by ezmlm
References: <20070118163332.GA28241@tranquility.scriptkitchen.com>
On Thu, Jan 18, 2007 at 11:33:32AM -0500, Payal Rathod wrote:

> $ dnsqr soa scriptkitchen.com
> 6 scriptkitchen.com:
> 87 bytes, 1+1+0+0 records, response, noerror
> query: 6 scriptkitchen.com
> answer: scriptkitchen.com 2560 SOA c.ns.scriptkitchen.com 
> hostmaster.scriptkitchen.com 1168735151 16384 2048 1048576 2560
> 
> What are the numbers on last line stand for? Where can I get their 
> meaning too. Which one is TTL?

The answer line is generally:
  <mname> <ttl> <type> <answer>
For an SOA, <answer> consists of:
  <rname> <contact> <serial> <refresh> <retry> <expire> <minimum>

They are in the same order as the fields of a 'Z' line in tinydns-data's
input. The exact meaning of those fields is defined in RFC 1035, section
3.3.13.

-Peff

<Prev in Thread] Current Thread [Next in Thread>