PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Noms de domaine > comp.protocols.tcp-ip > two questions about AXFR requests.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.protocols.tcp-ip TCP and IP network protocols.

two questions about AXFR requests.

Réponse
 
LinkBack Outils de la discussion
Vieux 30/03/2007, 02h11   #1
yawnmoth
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut two questions about AXFR requests.

1. RFC 1035 (http://www.ietf.org/rfc/rfc1035.txt), section 3.2.2,
mentions AXFR requests and * requests. Are AXFR requests always
supersets of * requests? Based on the queries I've captured with
Wireshark, it seems like they might very well be.

2. according to <http://cr.yp.to/djbdns/axfr-notes.html>, "each packet
[in an AXFR response is] preceded by a 2-byte length". Also, "several
DNS packets can be combined into one TCP packet". My question is...
how do you know when you've reached the end? In HTTP/1.1 chunking
(which sounds pretty similar to this), you keep on reading x bytes,
after x is defined, until at some point, x is zero. DNS responses,
however, don't appear to do this. atleast that's the conclusion I'm
drawing from my Wireshark captures. so my original question remains -
how do you know when you've reached the end?

  Réponse avec citation
Vieux 30/03/2007, 06h02   #2
Barry Margolin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: two questions about AXFR requests.

In article <1175217100.358876.166500@b75g2000hsg.googlegroups .com>,
"yawnmoth" <terra1024@yahoo.com> wrote:

> 1. RFC 1035 (http://www.ietf.org/rfc/rfc1035.txt), section 3.2.2,
> mentions AXFR requests and * requests. Are AXFR requests always
> supersets of * requests? Based on the queries I've captured with
> Wireshark, it seems like they might very well be.


I guess you could look at it like that. * asks for all the records of
one name, AXFR asks for all the records of all names in the zone.

>
> 2. according to <http://cr.yp.to/djbdns/axfr-notes.html>, "each packet
> [in an AXFR response is] preceded by a 2-byte length". Also, "several
> DNS packets can be combined into one TCP packet". My question is...
> how do you know when you've reached the end? In HTTP/1.1 chunking
> (which sounds pretty similar to this), you keep on reading x bytes,
> after x is defined, until at some point, x is zero. DNS responses,
> however, don't appear to do this. atleast that's the conclusion I'm
> drawing from my Wireshark captures. so my original question remains -
> how do you know when you've reached the end?


This is answered in the first paragraph of the section titled Zone
Contents:

A zone is a series of DNS records, starting with an SOA record for the
requested name, continuing with any number of non-SOA records, and
concluding with a repetition of exactly the same SOA record. (RFC 1034,
which says that all of the records for the zone name are repeated, is
wrong.) The zone data is complete when the SOA record appears again.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
  Réponse avec citation
Vieux 30/03/2007, 12h44   #3
yawnmoth
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: two questions about AXFR requests.

On Mar 30, 12:02 am, Barry Margolin <bar...@alum.mit.edu> wrote:
> <snip>
> This is answered in the first paragraph of the section titled Zone
> Contents:
>
> A zone is a series of DNS records, starting with an SOA record for the
> requested name, continuing with any number of non-SOA records, and
> concluding with a repetition of exactly the same SOA record. (RFC 1034,
> which says that all of the records for the zone name are repeated, is
> wrong.) The zone data is complete when the SOA record appears again.

I guess I didn't get that far in my reading - thanks!

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h49.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08451 seconds with 11 queries