pkb_client.client package¶
Submodules¶
pkb_client.client.bind_file module¶
- class pkb_client.client.bind_file.BindFile(origin: str, ttl: int | None = None, records: List[BindRecord] | None = None)[source]¶
Bases:
object
- origin: str¶
- records: List[BindRecord]¶
- ttl: int | None = None¶
- class pkb_client.client.bind_file.BindRecord(name: str, ttl: int, record_class: pkb_client.client.bind_file.RecordClass, record_type: pkb_client.client.dns.DNSRecordType, data: str, prio: int | None = None, comment: str | None = None)[source]¶
Bases:
object
- comment: str | None = None¶
- data: str¶
- name: str¶
- prio: int | None = None¶
- record_class: RecordClass¶
- record_type: DNSRecordType¶
- ttl: int¶
pkb_client.client.client module¶
pkb_client.client.dns module¶
- class pkb_client.client.dns.DNSRecord(id: str, name: str, type: pkb_client.client.dns.DNSRecordType, content: str, ttl: int, prio: int | None, notes: str)[source]¶
Bases:
object
- content: str¶
- id: str¶
- name: str¶
- notes: str¶
- prio: int | None¶
- ttl: int¶
- type: DNSRecordType¶