skip to main | skip to sidebar

Blog Around The Corner

Sometimes I wonder about my life. I lead a small life. Well, valuable but small. And sometimes I wonder, do I do it because I like it, or because I haven't been brave? So much of what I see reminds me of something I read in a book, when shouldn't it be the other way around? I don't really want an answer. I just want to send this cosmic question out into the void. So good night, dear void.

2007-12-24

There is never more than one question in a DNS message

There is always one question in a DNS message; it includes the domain name and the requested datatype and class. There is never more than one question in a DNS message -- the capability of handling more than one would require a redesign of the message format. For one thing, the single authority bit would have to be changed because the answer section could contain a mix of authoritative and nonauthoritative answers. In the present design, setting the authoritative answer bit means that the name server is authoritative for the zone that contains the domain name in the question section.

For you sticklers for detail, there is a time when the number of questions in a DNS message isn't one: in an inverse query, when it's zero. In an inverse query, there is one answer in the query message, and the question section is empty. The name server fills in the question. But, as we said, inverse queries are almost nonexistent.

Posted by Display Name - 1:36 PM  

Labels: Network/Security

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

$ find /my/blog -type d

  • *nix (49)
  • Apple (46)
  • C/CPP (25)
  • Cygwin (7)
  • Databases (3)
  • Debian/Ubuntu (25)
  • Google (36)
  • Make/Build (7)
  • Misc (50)
  • Music (12)
  • Network/Security (58)
  • Perl (14)
  • Python (6)
  • Shell/Scripting (32)
  • Tcl/Expect (16)
  • Utils (64)
  • Version Control (14)
  • Vim (9)

$ tar -czf blog.tgz /my/blog

  • ►  2010 (1)
    • ►  Apr (1)
  • ►  2009 (16)
    • ►  May (1)
    • ►  Apr (9)
    • ►  Feb (1)
    • ►  Jan (5)
  • ►  2008 (96)
    • ►  Dec (2)
    • ►  Oct (4)
    • ►  Aug (2)
    • ►  Jul (5)
    • ►  Jun (15)
    • ►  May (11)
    • ►  Apr (8)
    • ►  Mar (19)
    • ►  Feb (19)
    • ►  Jan (11)
  • ▼  2007 (203)
    • ▼  Dec (7)
      • Linux Initial RAD Disk (initrd)
      • [转] 苹果 Firefox 输入框缺字问题
      • Resolver Routines
      • O'Reilly Book Collections
      • There is never more than one question in a DNS mes...
      • 《南方周末》新闻社区
      • CMake Modules of KDE
    • ►  Nov (5)
    • ►  Oct (21)
    • ►  Sep (22)
    • ►  Aug (18)
    • ►  Jul (37)
    • ►  Jun (24)
    • ►  May (11)
    • ►  Apr (24)
    • ►  Mar (18)
    • ►  Feb (9)
    • ►  Jan (7)

$ find /my/blog -type l

  • Another Blog Around The Corner

$ cat /my/blog/README

You're a lone reed. You're a lone reed, standing tall, waving boldly in the corrupt sands of commerce.
 
Powered By Blogger