How can I know if I have problems with my views?
Carlos Ribas
carlos at ansp.br
Wed Mar 28 13:02:40 UTC 2012
Hello,
You're right Mark, thanks. The problem I said yesterday was solved
with the implementation of TSIG as mentioned in
https://www.isc.org/faq/item/182.
What happened was that my slave was receiving zones from the same
master view. I know, my fault! but I hope my error helps you guys.
Best regards,
---------------------------------
Carlos Eduardo Ribas
2012/3/27 Mark Andrews <marka at isc.org>
>
> In message <CAGdn3FHQzc=
> KFLN+egfkcnQbUuZm9Lpj+VrLU0Lov4nZm6VBQw at mail.gmail.com>,
> >
> > Hello all,
> >
> > I'm with problems in my dns. Some external clients access my zones
> > without problem, but others can't access because they are receiving
> > internal IP instead of public ones. I'm using views and below is the
> basic
> > configuration. Is there something wrong?
> >
> >
> > acl rede_local { 10.0.1.0/24; };
>
> Don't forget loopback addressess. 127/8 is also local.
>
> > acl rede_confiavel {
> > my_public_ips;
> > };
> >
> > // ===============
> > // View interno
> > // ===============
> >
> > view "internal" {
> > match-clients { rede_local; };
> > allow-query { rede_local; };
> > allow-recursion { rede_local; };
> > allow-query-cache { rede_local; };
> > zone-statistics yes;
> >
> > zone "example.br" {
> > type master;
> > file "/var/named/db.example.br.intranet";
> > };
> > zone "1.0.10.in-addr.arpa" {
> > type master;
> > file "/var/named/db.10_0_1";
> > };
> >
> > include "/etc/bind/zonas/default";
> > include "/etc/bind/zonas/my_zones";
> > include "/etc/bind/zones.rfc1918";
> > };
> >
> > // ===============
> > // View externo
> > // ===============
> >
> > view "external" {
> > match-clients { rede_confiavel; };
> > allow-query { rede_confiavel; };
> > allow-recursion { rede_confiavel; };
> > allow-query-cache { rede_confiavel; };
> > zone-statistics yes;
> >
> > zone "example.br" {
> > type master;
> > file "/var/named/db.example.br";
> > };
> >
> > include "/etc/bind/zonas/default";
> > include "/etc/bind/zonas/my_zones";
> > include "/etc/bind/zones.rfc1918";
> >
> > };
> >
> > // ===============
> > // View recursivo
> > // ===============
> >
> > view "recursion" {
> > match-clients { any; };
> > zone-statistics yes;
> > recursion no;
> > additional-from-auth no;
> > additional-from-cache no;
> >
> > zone "example.br" {
> > type master;
> > file "/var/named/db.example.br";
> > };
> >
> > include "/etc/bind/zonas/my_zones";
> > include "/etc/bind/zones.rfc1918";
> > };
> >
> > Best regards,
> >
> > ---------------------------------
> > Carlos Eduardo Ribas
> >
> --
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20120328/a9b9a0d3/attachment.html>
More information about the bind-users
mailing list