Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
BIND problem

BIND problem

2004-02-17       - By Cowles, Steve

 Back
Reply:     1     2     3     4  

Bill Gradwohl wrote:
> bind 9-2-3 was running just fine on two name servers (master
> NS1 & slave NS2) until I implemented split DNS using "views".
>
> I've got about 30 zones, but I'll only present one.
> Here is the portion of my master named.conf that's of interest.
>
> view "private" {
>    match-clients { 192.168.168.0/24; 127.0.0.0/8; 66.80.98.192/28; };  
>    recursion yes; zone "ycc.com" IN {
>       type master;
>       notify explicit;

According to the named.conf docs... The notify parameter shold be either yes
or no. Do you see any errors logged when named starts?

>       also-notify { 192.168.168.146; };

If 192.168.168.146 is a listed name server (NS) within the zone, the
also-notify is really not needed.

>       file "zone/privateycc.com";
>       # Allow the slave to transfer and inquire.
>       allow-transfer { 192.168.168.146; 192.168.168.211;
>       192.168.168.54; };
>        allow-query { internals; };
>    };
> };

I take it you have previously defined an ACL named internals?? E.g. Relevant
parts from my named.conf file

acl "trusted-nets" {
       192.168.8.0/22;
       127.0.0.1;
};

acl "xfer-int" {
       192.168.9.3;
};

acl "xfer-ext" {
       xx.xx.xx.xx;   // Public Slave Server
       xx.xx.xx.xx;   // Public Slave Server
};

// Global Options
options {
       directory "/var/named";
       pid-file "/var/run/named/named.pid";
       statistics-file "/var/log/named/named.stats";
       dump-file "/var/log/named/named.dump";
       zone-statistics yes;

       listen-on { 127.0.0.1 ; 192.168.8.2; };
       
       notify no;
       transfer-format many-answers;
       max-transfer-time-in 60;
       interface-interval 0;

       allow-transfer {
            xfer-int;
            xfer-ext;
       };
       allow-query {
            trusted-nets;
       };
};

view "internal" in {
       match-clients { trusted-nets; };
       recursion yes;
       
       additional-from-auth yes;
       additional-from-cache yes;
       
       zone "mydomain.com" in {
           type master;                 // Zone is a master
           notify yes;                  // Send notifies?
           file "int/db.mydomain";      // Load zone file
       };
};

view "external" in {
       match-clients { any; };
       recursion no;
       
       additional-from-auth no;
       additional-from-cache no;

       zone "mydomain.com" in {
           type master;                 // Zone is a master
           notify yes;                  // Send notifies?
           allow-query { any; };        // Allow anyone to query zone
           file "ext/db.mydomain";      // Load zone file
       };


--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list



Earn $52 per hosting referral at Lunarpages.