Most specific match on PTR records
Matus UHLAR - fantomas
uhlar at fantomas.sk
Fri Feb 22 09:47:06 UTC 2013
>On 21.02.2013 19:20, Nikita Koshikov wrote:
>>I'm trying to "cut" /24 network from the scope of /8 network, here is
>>example:
>>
>> zone "11.2.10.in-addr.arpa" {
>> type forward;
>> forwarders { 192.168.1.23; 192.168.1.24; };
>> };
>>
>> zone "10.in-addr.arpa" {
>> type master;
>> file "master/int/10.in-addr.arpa";
>> };
On 21.02.13 20:10, Hauke Lampe wrote:
>The local authoritative data takes precedence over a forward zone.
>>10.in-addr.arpa is just a file that returns NXDOMAIN for any 10.0.0.0/8 ip
>>address. But I need to forward requests for 10.2.11.0/24 net to other dns
>>servers and the above config not working.
>
>The easiest way might be to delegate the subdomain with a static-stub:
>
> zone "11.2.10.in-addr.arpa" {
> type static-stub;
> server-addresses { 192.168.1.23; 192.168.1.24; };
> };
so a "type static-stub" works, while "type forward" does not?
Is this another difference between those two types?
("type forward" has one advantage: it allows standard resolving to take
place when forwarding does not help. But this is not the case.)
--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Holmes, what kind of school did you study to be a detective?
- Elementary, Watson. -- Daffy Duck & Porky Pig
More information about the bind-users
mailing list