I'm trying to configure a zone for a 10.0.1.0/24 network.
I have rfc1918 zones defined, but then I commented out 10.in-addr.arpa network, since I'm neading it.
I then configured a db.1.0.10 file (reverse for 10.0.1.0/24 network)...
But then had to create a db.10 file for all the other 10. networks not being 10.0.1.1/24 - That's a 4Mb file with this content:
zone "0.0.10.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
//zone "1.0.10.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "2.0.10.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "3.0.10.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
... (65531 more lines)
zone "255.255.10.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
This seems unreasonable to me and it takes forever for bind to start. Plus, it now consumes 79.7% of my scarce 512Mb of memory.
After you stop laughing, could you please tell me how I could tell bind something like:
Hey, man, 10.something is empty, except for 10.0.1.something which you can look up in 1.0.10.db file.