djbdns
[Top] [All Lists]

Re: Minimal DNS answer using Net::DNS

To: dns@list.cr.yp.to
Subject: Re: Minimal DNS answer using Net::DNS
From: James Raftery <james-djbdns@now.ie>
Date: Wed, 20 Dec 2006 15:51:50 +0000
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: <26face530612200720p2e024792rfeab70554a7d685c@mail.gmail.com>
Mail-followup-to: dns@list.cr.yp.to
Mailing-list: contact dns-help@list.cr.yp.to; run by ezmlm
References: <26face530612200720p2e024792rfeab70554a7d685c@mail.gmail.com>
On Wed, Dec 20, 2006 at 08:20:13AM -0700, Kelly Jones wrote:
> ;; HEADER SECTION
> ;; id = 26432

The ID needs to match the ID the client sends.

> ;; qr = 0    opcode = QUERY    aa = 0    tc = 0    rd = 1

QR should be set.

> It's ugly and minimal, but is it a valid DNS answer? Does the question
> section actually have to contain the question asked or is that
> optional?

It's supposed to, but I don't know if DiG cares. You might also like to
set RA and/or AA.


james
-- 
The probable future is that in time, the use of the apostrophe-s will become
the default for all occurrences of the letter s at the end of a word. So we
are soon likely to assume it's normal to see apostrophe's at the end of
word's, even though reader's of mature year's might think it suck's.
  -- Dave Williams, comp.risks.

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