Re: DNS: Can public and private data be hosted by the same server?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 08 June 2008 08:18:50 am Tim wrote:
> NB: This is *NOT* a top posting list.
>
> Edward:
> > Is there a sample for reference ?
>
> Yes, in the manuals (/usr/share/doc/bind*/).  It has instructions and
> examples.
>
> > I want to know what different between IP address and INT eth ? ...
>
> An example from the docs:
> view "internal" {
>       // This should match our internal networks.
>       match-clients { 10.0.0.0/8; };
>       // Provide recursive service to internal clients only.
>       recursion yes;
>       // Provide a complete view of the example.com zone
>       // including addresses of internal hosts.
>       zone "example.com" {
>             type master;
>             file "example-internal.db";
>       };
> };
> view "external" {
>       // Match all clients not matched by the previous view.
>       match-clients { any; };
>       // Refuse recursive service to external clients.
>       recursion no;
>       // Provide a restricted view of the example.com zone
>       // containing only publicly accessible hosts.
>       zone "example.com" {
>            type master;
>            file "example-external.db";
>       };
> };


Thanks for the tip!  I was able to set this all up very easily
and it does exactly what I wanted.

However, I am having problems with logging:

logging {
        channel my_syslog {
	file "/var/log/named/named.log" versions 25;
                severity info;
                print-category yes;
                print-time yes;
        };
      category eventlib { my_syslog; };
};

(I also tried dropping "versions 25", same problem)

In /var/log/named:
===========
-rw-------  root root system_u:object_r:var_log_t:s0   named.log

>From /var/log/messages:
===============
Jun  9 11:37:02 myhost named[13314]: logging channel 'my_syslog' 
file '/var/log/named/named.log': file not found

What am I doing wrong?

Thanks!
Dan

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux