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
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to