From owner-freebsd-questions@FreeBSD.ORG Mon Jul 24 07:00:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D55716A4DF for ; Mon, 24 Jul 2006 07:00:03 +0000 (UTC) (envelope-from dthomas53@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FD7E43D46 for ; Mon, 24 Jul 2006 07:00:01 +0000 (GMT) (envelope-from dthomas53@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so2217627uge for ; Mon, 24 Jul 2006 00:00:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Gos7kBeZldBMW/fOxci+MMo+V1zbYfcSS2g6pe971YvJsXQZydRRWNkJ1uEkig4P8VMX5Pwr9X2yt6BJfM61+9we/FPJPdUvHhB+ISI2uxgNPQCnLZftCA/S+QA9AEAHzyh75a7PGPa4dSbzrSD6EQC3lq8+hMbzuwmvP0AaYzk= Received: by 10.78.178.5 with SMTP id a5mr1376888huf; Mon, 24 Jul 2006 00:00:00 -0700 (PDT) Received: by 10.78.165.18 with HTTP; Mon, 24 Jul 2006 00:00:00 -0700 (PDT) Message-ID: Date: Mon, 24 Jul 2006 03:00:00 -0400 From: "David Stanford" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Simple DNS Configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2006 07:00:03 -0000 Hi all, I feel like I'm losing my mind here. It's been a while since I configured named and I can't quite figure out what I'm doing wrong here. Here is my understanding of what is "needed" to get (a very basic configuration of) named running with a few A records in place: # sh make-localhost append default named.conf with: ===== zone "example.org" { type master; file "master/example.org"; }; ===== create master/example.org with: ===== $TTL 3600 ; 1 hour example.org. IN SOA ns.example.org. admin.example.org. ( 2006072400 ; Serial 1d ; Refresh 2h ; Retry 100d ; Expire 1h ) ; Minimum TTL ; Machine Names localhost IN A 127.0.0.1 host1 IN A 192.168.1.1 host2 IN A 192.168.1.2 host3 IN A 192.168.1.3 ===== append rc.conf with: ===== named_enable="YES" ===== # reboot Is there something I'm missing? This is on a fresh 6.1 install (rebuilt with latest src) and a few random ports installed (editors and such) and no firewall config. [root@curtis ~]# uname -sri FreeBSD 6.1-RELEASE-p3 GENERIC [root@curtis ~]# host -t a example.org localhost Using domain server: Name: localhost Address: 127.0.0.1#53 Aliases: Host example.org not found: 2(SERVFAIL) -David -- [root@fbsd ~]# fortune Happiness is just an illusion, filled with sadness and confusion.