From owner-freebsd-questions Sun Aug 27 10:23:53 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 CC2F637B424 for ; Sun, 27 Aug 2000 10:23:50 -0700 (PDT) Received: (qmail 82648 invoked from network); 27 Aug 2000 17:23:49 -0000 Received: from client86-67.hispeed.ch (HELO 10.2.2.100) (62.2.86.67) by beta.root-servers.ch with SMTP; 27 Aug 2000 17:23:49 -0000 Date: Sun, 27 Aug 2000 19:25:53 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.46 Beta/3) UNREG / CD5BF9353B3B7091 Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <19427905546.20000827192553@buz.ch> To: Janko van Roosmalen Cc: A Minkstein , freebsd-questions@FreeBSD.ORG Subject: Re[2]: 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, Sunday, August 27, 2000, 6:15:12 PM, you wrote: > Samba does not need a DNS server. You need a "/etc/hosts" file. > My "hosts" file: > 127.0.0.1 localhost.utp.net localhost > 192.168.222.10 parmenides.utp.net parmenides > 192.168.222.254 socrates.utp.net socrates > 192.168.222.33 epicuris.utp.net epicuris > 192.168.222.20 heraclitus.utp.net heraclitus > 192.168.222.88 kuppo.utp.net kuppo 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message