Bind 9.9.1 forward zone "local"

Lawrence K. Chen, P.Eng. lkchen at ksu.edu
Tue Mar 25 21:01:59 UTC 2014


What happens if you remove the "." after local?

On 03/25/14 12:57, Андрей Ветров wrote:
> Hello. I have a problem with forwarding zone "local" to ISP resolvers.
> My config is:
> options {
>         directory "/tmp";
>         disable-empty-zone ".";
> };
> 
> zone "." {
>         type slave;
>         masters { 192.0.32.132; 193.0.14.129;};
>         masterfile-format text;
>         file "/etc/bind/db.root";
>         allow-query { any; };
> };
> 
> zone "local." IN {
>         type forward;
>         forwarders {DNS_IP_ISP;};
>         forward only;
> };
> 
> zone "opendns.com <http://opendns.com>" IN {
>         type forward;
>         forwarders {208.67.222.222; 208.67.222.220; 208.67.220.220;
> 208.67.220.222;};
>         forward only;
> };
> Forwarding to opendns works, dig +short myip.opendns.com
> <http://myip.opendns.com> returns ip address correctly.
> Forwarding to local doesnt works, dig return nxdomain.
> Commenting zone "." leads to correct work of zone "local"
> 
> 

-- 
Who: Lawrence K. Chen, P.Eng. - W0LKC - Sr. Unix Systems Administrator
For: Enterprise Server Technologies (EST) -- & SafeZone Ally


More information about the bind-users mailing list