️️
Size: a a a
️️
c
MA
️️
PO
️️
️️
PO
nmg = newNMG()
nmg:addMask('192.0.2.0/27')
nmg:addMask('2001:db8:0:12::/48')
-- Add the netmask group to the rule selector
-- Second argument means that we use dst based matching instead of source based
selector = AndRule{NetmaskGroupRule(nmg, false)}
newServer({address="192.0.2.3", pool="myPool"})
-- Send queries matching the first argument to the pool pool.
addAction(selector, PoolAction("myPool"))
PO
PO
PO
PO
PO
️️
PO
PO
PO
PO
PO