Reading about acl statement in bind's ARM found the following:


"Matches any host on an IPv4 or IPv6 network for which the system has an interface. When addresses are added or removed, the localnets ACL element is updated to reflect the changes."

"for which the system has an interface" - sound like a nosense. I understand what network interface is, but don't understand aforementioned text.

Could you please tell the meaning of the above quote, and what is the difference between localhost and localnets? Thanks

1 Answer 1


I guess localhost refer to one IP address which is by default, but, localnet refer to every network that you have an IP address from it on interface on your machine.

For example, if you have two interfaces and every one have its IP from different network so localnets can match all networks.

eth0 ip    netmask
eth1 ip netmask

So localnets match (\8,\24).

  • You mean that localnets is the set of all addresses on machine's interfaces?
    – Bulat M.
    Dec 29, 2016 at 8:21
  • @BulatM. I have edited my question for more explanation Dec 29, 2016 at 8:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.