From owner-freebsd-questions Mon Aug 28 11:44:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from beta.root-servers.ch (beta.root-servers.ch [195.49.33.19]) by hub.freebsd.org (Postfix) with SMTP id 93F5637B424 for ; Mon, 28 Aug 2000 11:44:48 -0700 (PDT) Received: (qmail 11032 invoked from network); 28 Aug 2000 18:44:46 -0000 Received: from client86-67.hispeed.ch (HELO 10.2.2.100) (62.2.86.67) by beta.root-servers.ch with SMTP; 28 Aug 2000 18:44:46 -0000 Date: Mon, 28 Aug 2000 20:46:54 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.46 Beta/3) UNREG / CD5BF9353B3B7091 Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <12213829055.20000828204654@buz.ch> To: Janko van Roosmalen Cc: questions@freebsd.org Subject: Re[4]: How to setup DNS server? In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello Janko, Monday, August 28, 2000, 8:14:44 PM, you wrote: >> Having a DNS server for this would save you from the task of keeping >> the hosts file synchronous on all hosts. The following zonefile should >> do the job: >> >> @ IN SOA name.of.primary.dns. admin.domain.com. ( >> 967940102; Serial >> 10800; >> 3600; >> 604800; >> 86400 ) >> localhost IN A 127.0.0.1 >> parmenides IN A 192.168.222.10 >> socrates IN A 192.168.222.254 >> epicuris IN A 192.168.222.33 >> heraclitus IN A 192.168.222.20 >> kuppo IN A 192.168.222.88 >> > And what about the reverse IN.ARPA zone file (; ? Hmm use something like the following: 222.168..192.in-addr.arpa. IN SOA nameserver.hostname. admin.domain.com. (2000021553 10800 3600 604800 86400) 222.168.192.in-addr.arpa. IN NS ns.hostname. 10.222.168.192.in-addr.arpa. IN PTR parmenides.domain.com. 33.222.168.192.in-addr.arpa. IN PTR epicuris.domain.com. and so on... Best regards, Gabriel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message