Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 13:00:35 -0400
From:      "Peter Brezny" <peter@sysadmin-inc.com>
To:        <freebsd-isp@freebsd.org>
Subject:   dns transfer through ipfw keepstate rule not working.
Message-ID:  <MFEFLELMIJGKDKPCJHAFMEOOCAAA.peter@sysadmin-inc.com>

next in thread | raw e-mail | index | archive | help
In a somewhat desperate attempt to convince my firewall to allow our
upstream provider to perform a zone transfer, I've added the following line
to the ipfw firewall.

        $fwcmd add allow all from 209.16.228.146 to $ns1 keep-state in via
$oif

However, this is still not allowing a zone transfer.  On occasion, the
secondary will write a file with a somewhat garbled name for the zone to be
transfered, but it is blank.

This firewall entry however, works.

        $fwcmd add allow all from 209.16.228.146 to $ns1 in via $oif
        $fwcmd add allow all from $ns1 to 209.16.228.146 out via $oif

Why doesn't the above dynamic rule work?

My rc.conf options section is as follows.

TIA,

pb

// $FreeBSD: src/etc/namedb/named.conf,v 1.6.2.1 2000/07/15 07:49:29 kris
Exp $

        options {

        directory "/etc/namedb";

        forwarders {    207.230.75.34;          //ns1.deltacom.net
                        207.230.75.50;          //ns2.deltacom.net
                        206.191.128.46;         //c2901.wa.net
                        199.166.24.1; };        //ns1.vrx.net

        allow-transfer { 209.16.228.140;        //virtual/ns2

                        207.230.75.34;          //ns1.deltacom.net
                        207.230.75.50; };       //ns2.deltacom.net


        query-source address 209.16.228.145 port 53;
        transfer-source 209.16.228.145;
        listen-on { 209.16.228.145; 209.16.228.150; };

        dump-file "s/named_dump.db";
        pid-file "s/named.pid";

};      //end of options

Peter Brezny
SysAdmin Services Inc.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MFEFLELMIJGKDKPCJHAFMEOOCAAA.peter>