HashResolver policies are used to locally store the IP addresses belonging to a domain name. A domain name (Hostname) and one or more corresponding IP addresses (Addresses) can be stored in a hash. If the domain name to be resolved is not included in the hash, the name resolution will fail. The HashResolver can be used to direct incoming connections to specific servers based on the target domain name.
Example 5.30. A simple HashResolver policy |
---|
The resolver policy below associates the IP addresses ResolverPolicy(name="DMZ", resolver=HashResolver(mapping={"mail.example.com": ("192.168.1.12", "192.168.1.13")})) |
Published on June 04, 2020
© 2007-2019 BalaSys
Send your comments to support@balasys.hu