Feature Request if there isnt a way to do this for mod-synthrecord:
Hi Guys I work for a carrier we have lots of ip6 address space. Our blocks are typically broken up into regions or states using /36 i.e 2403:1800:3000::/36 inside that region there are a mixture of addresses for Static and Dynamic ranges (could be others). The example of the reverse Synth records below allows reverse ranges to do as I require and have different prefixes for Static and Dynamic
But forwards appear to be a problem unless there are features I have not found yet.
I wish to have a forward zone being able to return different prefixes depending on where in the address block it is ie 2403:1800:3000::/48 return prefix static. else 2403:1800:3000::/36 return prefix dyn
example config
mod-synthrecord:
- id: rev-state1-ranges
type: reverse
prefix: dyn
origin: state1.core.ourdomain.net
ttl: 300
network: 2403:1800:3000::/36
- id: rev-state1-static-ranges
type: reverse
prefix: static
origin: state1.core.ourdomain.net
ttl: 300
network: 2403:1800:3000::/48
- id: fwd-state1-ranges
type: forward
prefix: dyn
ttl: 300
network: 2403:1800:3000::/36
- id: fwd-state1-static-ranges
type: forward
prefix: static
ttl: 300
network: 2403:1800:3000::/48
zone:
- domain: 3.0.0.8.4.3.0.4.2.ip6.arpa
storage: /var/lib/knot/zones/
file: 3.0.0.8.4.3.0.4.2.ip6.arpa.pri
module: mod-synthrecord/rev-state1-ranges
- domain: 0.0.0.3.0.0.8.4.3.0.4.2.ip6.arpa
storage: /var/lib/knot/zones/
file: 0.0.0.3.0.0.8.4.3.0.4.2.ip6.arpa.pri
module: mod-synthrecord/rev-state1-static-ranges
- domain: ourdomain.net
storage: /var/lib/knot/zones/
file: ourdomain.net.pri
module: mod-synthrecord/fwd-state1-ranges
Would nice to be able to do something like this
- domain: ourdomain.net
storage: /var/lib/knot/zones/
file: ourdomain.net.pri
module: mod-synthrecord/fwd-state1-ranges,fwd-state1-static-ranges
or
- domain: ourdomain.net
storage: /var/lib/knot/zones/
file: ourdomain.net.pri
module: mod-synthrecord/fwd-state1-ranges
module: mod-synthrecord/fwd-state1-static-ranges
Regards Phil