From owner-freebsd-questions Fri Jan 26 10:32:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from virtual.sysadmin-inc.com (lists.sysadmin-inc.com [209.16.228.140]) by hub.freebsd.org (Postfix) with ESMTP id 1F36D37B402 for ; Fri, 26 Jan 2001 10:32:34 -0800 (PST) Received: from wkst ([209.16.228.145]) by virtual.sysadmin-inc.com (8.9.1/8.9.1) with SMTP id NAA26059 for ; Fri, 26 Jan 2001 13:32:37 -0500 Reply-To: From: "Peter Brezny" To: Subject: dns slave zone file rewriting Date: Fri, 26 Jan 2001 13:31:41 -0800 Message-ID: <001901c087df$601f61a0$46010a0a@sysadmininc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I posted this one to the freebsd-net list about 4 hours ago and haven't received many responses. any ideas, I'm stumped. Peter Brezny SysAdmin Services Inc. I recently revamped a lot of my zone files, consolidating several into generic files since many of our domains have mail, dns, and web hosting on the same servers. This works fine on the primary server, substituting an @ symbol in the zone file for the origin of the zone listed in the .conf file. However, on the secondary The origin in the zone file is being hard coded to what ever the server looked up first, which of course wrecks the information for any subsequent zone that uses the same default zone file. example: on the primary @ in soa etc... in ns ns1.domain.com in a ip.of.domain.com mail in a ip.of.mail.com The secondary reports this: $ORIGIN org. in soa etc... in ns ns1.domain.com in a ip.of.domain.com $ORIGIN first.domain.that.got.looked.up mail in a ip.of.mail.com Is there a way to get around this? my primary server is running bind 8.2.3-T6b and the slave server is running bind 8.1.2 Thanks in advance for your help. Peter Brezny SysAdmin Services Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message