Re: What is wrong in the view matching below

2019-12-05 Thread Niall O'Reilly
On 5 Dec 2019, at 13:49, Harshith Mulky wrote: > view "external" { > >   match-clients { any; }; > >   recursion no; > > zone "nixcraft.com" IN { > >     type master; > >     file "internet.master.nixcraft.com"; > >   }; > > }; > > view "internal" { > > match-clients { internal; }; > > allow-recur

Re: What is wrong in the view matching below

2019-12-05 Thread Bob Harold
; lan.master.nixcraft.com:26: ignoring out-of-zone data ( > in-router.nixcraft.com) > zone internal.nixcraft.com/IN: has 0 SOA records > zone internal.nixcraft.com/IN: has no NS records > zone internal.nixcraft.com/IN: not loaded due to errors. > > > -

Re: What is wrong in the view matching below

2019-12-05 Thread Harshith Mulky
zone internal.nixcraft.com/IN: has 0 SOA records zone internal.nixcraft.com/IN: has no NS records zone internal.nixcraft.com/IN: not loaded due to errors. From: Ondřej Surý Sent: Thursday, December 5, 2019 6:42 PM To: Sten Carlsen Cc: Harshith Mulky ; bind-user

Re: What is wrong in the view matching below

2019-12-05 Thread Ondřej Surý
There’s a space after com O. -- Ondřej Surý ond...@isc.org > On 5 Dec 2019, at 13:29, Sten Carlsen wrote: > >> >> zone "internal.nixcraft.com " IN { >> type master; >> file "lan.master.nixcraft.com"; >> }; >> }; > > Looks like the file lan.master.nixcraft.com has no data. > >> >>

Re: What is wrong in the view matching below

2019-12-05 Thread Sten Carlsen
> > zone "internal.nixcraft.com " IN { > type master; > file "lan.master.nixcraft.com "; > }; > }; Looks like the file lan.master.nixcraft.com has no data. > > Dec 05 17:51:54 sataradnsVM1 named[4038]: zone internal.nixc

What is wrong in the view matching below

2019-12-05 Thread Harshith Mulky
I have setup view matching as below on my bind server running version "bind-9.9.5P1-2.2.2.x86_64" my /etc/named.conf is as below options { directory "/var/lib/named"; #dnssec-enable yes; managed-keys-directory "/var/lib/named/dyn/"; dump-file "/var/log/named_dump