Class HostsEntry (0.1.11)

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

Single /etc/hosts entry.

Attributes

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