From owner-freebsd-questions@FreeBSD.ORG Mon Jul 24 22:28:26 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 BD72016A4DA for ; Mon, 24 Jul 2006 22:28:26 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-142-072.chi1.dsl.speakeasy.net [64.81.142.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3AF843D53 for ; Mon, 24 Jul 2006 22:28:21 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from p17.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.6/8.12.11) with ESMTP id k6OMRI3r002434; Mon, 24 Jul 2006 17:27:19 -0500 (CDT) Message-Id: <6.0.0.22.2.20060724172439.02531cf0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 24 Jul 2006 17:27:03 -0500 To: "David Stanford" , "Matthias Fechner" From: Derek Ragona In-Reply-To: References: <44C47C7E.5030609@webanoide.org> <44C4FCC0.40000@fechner.net> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 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 22:28:26 -0000 Check your /etc/nsswitch.conf file. You want the line for hosts to be: dns files Also be sure named is running. While it says it is starting do a: ps -ax|grep name -Derek At 04:53 PM 7/24/2006, David Stanford wrote: >On 7/24/06, Matthias Fechner wrote: >> >>Hi David, >> >>David Stanford wrote: >> > Now it appears to be working correctly and responding to queries, >>however >> > I'm noticing I continue to get that same error when I add my CNAME >>entry: >> > ===== >> > @ IN CNAME www.example.org. >> > ===== >> >>write: >>www IN CNAME example.org. >> >> >> >>Best regards, >>Matthias >> >>I've tried everyone's suggestions to no avail. Here's my actual >configuration: > >[root@chadwick ~]# /etc/rc.d/named stop >Stopping named. >[root@chadwick ~]# tail -12 /etc/namedb/named.conf > >zone "daemonbox.net" { > type master; > file "master/daemonbox.net"; >}; > >/* >zone "140.246.66.in-addr.arpa" { > type master; > file "master/140.246.66.in-addr.arpa"; >}; >*/ >[root@chadwick ~]# cat /etc/namedb/master/daemonbox.net >$TTL 3600 ; 1 hour >daemonbox.net. IN SOA chadwick.daemonbox.net. >dstanford.daemonbox.net. ( > 2006072400 ; Serial > 1d ; Refresh > 2h ; Retry > 100d ; Expire > 1h ) ; Minimum TTL > > >; DNS Servers >@ IN NS chadwick.daemonbox.net. >@ IN NS ns1.nac.net. >@ IN NS ns2.nac.net. > >; MX Records > IN MX 10 mail.daemonbox.net. > >; Machine Names >localhost IN A 127.0.0.1 >chadwick IN A 66.246.140.170 >mail IN A 66.246.246.58 >www IN A 66.246.140.170 >@ IN A 66.246.140.170 > >; Aliases >www IN CNAME @ >[root@chadwick ~]# /etc/rc.d/named start >Starting named. >[root@chadwick ~]# host -t a daemonbox.net localhost >Using domain server: >Name: localhost >Address: 127.0.0.1#53 >Aliases: > >Host daemonbox.net not found: 2(SERVFAIL) > > >Does anyone see anything wrong with this? Thanks for all your help! > >-David >-- >[root@fbsd ~]# fortune >Happiness is just an illusion, filled with sadness and confusion. >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.