IN Package

IN Package

Class IN rdata type classes.

A Module

class pytomo.dns.rdtypes.IN.A.A(rdclass, rdtype, address)[source]

Bases: pytomo.dns.rdata.Rdata

A record.

@ivar address: an IPv4 address @type address: string (in the standard “dotted quad” format)

address
classmethod from_text(rdclass, rdtype, tok, origin=None, relativize=True)[source]
classmethod from_wire(rdclass, rdtype, wire, current, rdlen, origin=None)[source]
to_text(origin=None, relativize=True, **kw)[source]
to_wire(file, compress=None, origin=None)[source]

AAAA Module

class pytomo.dns.rdtypes.IN.AAAA.AAAA(rdclass, rdtype, address)[source]

Bases: pytomo.dns.rdata.Rdata

AAAA record.

@ivar address: an IPv6 address @type address: string (in the standard IPv6 format)

address
classmethod from_text(rdclass, rdtype, tok, origin=None, relativize=True)[source]
classmethod from_wire(rdclass, rdtype, wire, current, rdlen, origin=None)[source]
to_text(origin=None, relativize=True, **kw)[source]
to_wire(file, compress=None, origin=None)[source]

APL Module

class pytomo.dns.rdtypes.IN.APL.APL(rdclass, rdtype, items)[source]

Bases: pytomo.dns.rdata.Rdata

APL record.

@ivar items: a list of APL items @type items: list of APL_Item @see: RFC 3123

classmethod from_text(rdclass, rdtype, tok, origin=None, relativize=True)[source]
classmethod from_wire(rdclass, rdtype, wire, current, rdlen, origin=None)[source]
items
to_text(origin=None, relativize=True, **kw)[source]
to_wire(file, compress=None, origin=None)[source]
class pytomo.dns.rdtypes.IN.APL.APLItem(family, negation, address, prefix)[source]

Bases: object

An APL list item.

@ivar family: the address family (IANA address family registry) @type family: int @ivar negation: is this item negated? @type negation: bool @ivar address: the address @type address: string @ivar prefix: the prefix length @type prefix: int

address
family
negation
prefix
to_wire(file)[source]

DHCID Module

class pytomo.dns.rdtypes.IN.DHCID.DHCID(rdclass, rdtype, data)[source]

Bases: pytomo.dns.rdata.Rdata

DHCID record

@ivar data: the data (the content of the RR is opaque as far as the DNS is concerned) @type data: string @see: RFC 4701

data
classmethod from_text(rdclass, rdtype, tok, origin=None, relativize=True)[source]
classmethod from_wire(rdclass, rdtype, wire, current, rdlen, origin=None)[source]
to_text(origin=None, relativize=True, **kw)[source]
to_wire(file, compress=None, origin=None)[source]

IPSECKEY Module

class pytomo.dns.rdtypes.IN.IPSECKEY.IPSECKEY(rdclass, rdtype, precedence, gateway_type, algorithm, gateway, key)[source]

Bases: pytomo.dns.rdata.Rdata

IPSECKEY record

@ivar precedence: the precedence for this key data @type precedence: int @ivar gateway_type: the gateway type @type gateway_type: int @ivar algorithm: the algorithm to use @type algorithm: int @ivar gateway: the public key @type gateway: None, IPv4 address, IPV6 address, or domain name @ivar key: the public key @type key: string @see: RFC 4025

algorithm
classmethod from_text(rdclass, rdtype, tok, origin=None, relativize=True)[source]
classmethod from_wire(rdclass, rdtype, wire, current, rdlen, origin=None)[source]
gateway
gateway_type
key
precedence
to_text(origin=None, relativize=True, **kw)[source]
to_wire(file, compress=None, origin=None)[source]

KX Module

class pytomo.dns.rdtypes.IN.KX.KX(rdclass, rdtype, preference, exchange)[source]

Bases: pytomo.dns.rdtypes.mxbase.UncompressedMX

KX record

NAPTR Module

class pytomo.dns.rdtypes.IN.NAPTR.NAPTR(rdclass, rdtype, order, preference, flags, service, regexp, replacement)[source]

Bases: pytomo.dns.rdata.Rdata

NAPTR record

@ivar order: order @type order: int @ivar preference: preference @type preference: int @ivar flags: flags @type flags: string @ivar service: service @type service: string @ivar regexp: regular expression @type regexp: string @ivar replacement: replacement name @type replacement: dns_name.Name object @see: RFC 3403

choose_relativity(origin=None, relativize=True)[source]
flags
classmethod from_text(rdclass, rdtype, tok, origin=None, relativize=True)[source]
classmethod from_wire(rdclass, rdtype, wire, current, rdlen, origin=None)[source]
order
preference
regexp
replacement
service
to_text(origin=None, relativize=True, **kw)[source]
to_wire(file, compress=None, origin=None)[source]

NSAP Module

class pytomo.dns.rdtypes.IN.NSAP.NSAP(rdclass, rdtype, address)[source]

Bases: pytomo.dns.rdata.Rdata

NSAP record.

@ivar address: a NASP @type address: string @see: RFC 1706

address
classmethod from_text(rdclass, rdtype, tok, origin=None, relativize=True)[source]
classmethod from_wire(rdclass, rdtype, wire, current, rdlen, origin=None)[source]
to_text(origin=None, relativize=True, **kw)[source]
to_wire(file, compress=None, origin=None)[source]

NSAP_PTR Module

class pytomo.dns.rdtypes.IN.NSAP_PTR.NSAP_PTR(rdclass, rdtype, target)[source]

Bases: pytomo.dns.rdtypes.nsbase.UncompressedNS

NSAP-PTR record

PX Module

class pytomo.dns.rdtypes.IN.PX.PX(rdclass, rdtype, preference, map822, mapx400)[source]

Bases: pytomo.dns.rdata.Rdata

PX record.

@ivar preference: the preference value @type preference: int @ivar map822: the map822 name @type map822: dns_name.Name object @ivar mapx400: the mapx400 name @type mapx400: dns_name.Name object @see: RFC 2163

choose_relativity(origin=None, relativize=True)[source]
classmethod from_text(rdclass, rdtype, tok, origin=None, relativize=True)[source]
classmethod from_wire(rdclass, rdtype, wire, current, rdlen, origin=None)[source]
map822
mapx400
preference
to_text(origin=None, relativize=True, **kw)[source]
to_wire(file, compress=None, origin=None)[source]

SRV Module

class pytomo.dns.rdtypes.IN.SRV.SRV(rdclass, rdtype, priority, weight, port, target)[source]

Bases: pytomo.dns.rdata.Rdata

SRV record

@ivar priority: the priority @type priority: int @ivar weight: the weight @type weight: int @ivar port: the port of the service @type port: int @ivar target: the target host @type target: dns_name.Name object @see: RFC 2782

choose_relativity(origin=None, relativize=True)[source]
classmethod from_text(rdclass, rdtype, tok, origin=None, relativize=True)[source]
classmethod from_wire(rdclass, rdtype, wire, current, rdlen, origin=None)[source]
port
priority
target
to_text(origin=None, relativize=True, **kw)[source]
to_wire(file, compress=None, origin=None)[source]
weight

WKS Module

class pytomo.dns.rdtypes.IN.WKS.WKS(rdclass, rdtype, address, protocol, bitmap)[source]

Bases: pytomo.dns.rdata.Rdata

WKS record

@ivar address: the address @type address: string @ivar protocol: the protocol @type protocol: int @ivar bitmap: the bitmap @type bitmap: string @see: RFC 1035

address
bitmap
classmethod from_text(rdclass, rdtype, tok, origin=None, relativize=True)[source]
classmethod from_wire(rdclass, rdtype, wire, current, rdlen, origin=None)[source]
protocol
to_text(origin=None, relativize=True, **kw)[source]
to_wire(file, compress=None, origin=None)[source]

Table Of Contents

Previous topic

ANY Package

Next topic

flvlib Package

This Page