Which Domain is picked by Bind Server?

Anand Buddhdev anandb at ripe.net
Fri May 27 09:09:51 UTC 2016


On 27/05/16 10:25, Harshith Mulky wrote:

Hi Harshith,

> If I have the following configuration in Bind server inside named.conf
> 
> zone "e164.arpa" IN {
>         type master;
>         file "e164.arpa";
> };
> 
> zone "1.e164.arpa" IN {
>         type master;
>         file "e164.arpa";
> };
> 
> zone "2.e164.arpa" IN {
>         type master;
>         file "e164.arpa";
> };
> 
> and I have an incoming query request to Bind as
> 9.0.0.9.2.5.0.6.4.2.1.e164.arpa.
> 
> Which Zone file would bind pick up?

I'm assuming your question is actually "which zone will BIND answer out of?"

> e164.arpa or 1.e164.arpa?

BIND will answer out of 1.e164.arpa, because that's the longest match
for the query.

Regards,
Anand


More information about the bind-users mailing list