eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'DNSMessage':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: DNSMessage


Inheritance:

   Object
   |
   +--DNSMessage

Package:
stx:goodies/communication
Category:
Net-Communication-DNS
Version:
rev: 1.20 date: 2023/06/20 14:31:13
user: stefan
file: DNSMessage.st directory: goodies/communication
module: stx stc-classLibrary: communication

Description:


no warranty; provided AS-IS
code ported from squeak

copyright

COPYRIGHT (c) 2006 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

instance creation
o  axfr: domain

o  ipV4AddressByName: hostName

o  ipV6AddressByName: hostName

o  mailExchangerFor: hostName

o  nameServersFor: domain

o  new
(comment from inherited method)
return an instance of myself without indexed variables

o  readFrom: aStream
(comment from inherited method)
read an object's printed representation from the argument, aStream
and return it.
The read object must be a kind of myself;
if it's not, an error is raised.
This is the reverse operation to 'storeOn:'.

WARNING: storeOn: does not handle circular references and multiple
references to the same object.
Use #storeBinary:/readBinaryFrom: for this.

SECURITY WARNING: if aStringOrStream is from an unsafe source,
BAD things may be evaluated, like
'Smalltalk exit' or even
'Filename rootDirectory recursiveXXXRemove'

o  reverseLookup: address

o  serversFor: domain


Instance protocol:

accessing
o  addAnswer: aDNSRecord

o  addQuestion: aDNSQuery

o  additional

o  answers

o  authoritativeAnswer

o  authoritativeAnswer: aBoolean

o  authority

o  beInverseQuery

o  checkResponseCode

o  isInverseQuery

o  isQuery

o  isResponse

o  isStandardQuery

o  opcode

o  opcode: anInteger

o  questions

o  recursionAvailable: aBoolean

o  recursionAvaliable: aBoolean

** This is an obsolete interface - do not use it (it may vanish in future versions) **

o  recursionDesired: aBoolean

o  response: aBoolean

o  responseCode

o  timedOut

o  truncated: aBoolean

initialization
o  initialize
(comment from inherited method)
just to ignore initialize to objects which do not need it

reading/wrinting
o  asByteArray

o  readFrom: aStream

o  writeHeaderOn: aStream

o  writeOn: aStream



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 27 Jul 2024 03:23:53 GMT