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

Tim ignored_mailbox at yahoo.com.au
Sun Jun 8 15:18:50 UTC 2008


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";
      };
};


-- 
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




More information about the fedora-list mailing list