Class HostsEntry (0.1.4)

HostsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Single /etc/hosts entry.

Attributes

NameDescription
ip str
IP (raw, IPv4/6 agnostic).
host_names MutableSequence[str]
List of host names / aliases.