File: zone.py

package info (click to toggle)
python-aioice 0.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 424 kB
  • sloc: python: 3,832; makefile: 20; sh: 1
file content (20 lines) | stat: -rw-r--r-- 446 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from typing import Union

from .name import Name
from .rdataclass import IN
from .rdataset import Rdataset
from .rrset import RRset


class Zone:
    def __init__(
        self, origin: str, rdclass: int = IN, relativize: bool = False
    ) -> None: ...

    def find_rrset(self, name: Union[Name, str], rdtype: int) -> RRset: ...

    def replace_rdataset(
        self, name: Union[Name, str], replacement: Rdataset
    ) -> None: ...

    ...