From owner-freebsd-questions@FreeBSD.ORG Thu Jun 19 23:32:09 2003 Return-Path: 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 6C92537B401 for ; Thu, 19 Jun 2003 23:32:09 -0700 (PDT) Received: from smtp.prodigy.net.mx (dfproxy02.prodigy.net.mx [148.235.168.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id B02AC43FBD for ; Thu, 19 Jun 2003 23:32:08 -0700 (PDT) (envelope-from ibac@prodigy.net.mx) Received: from pc1 (du-200-67-41-134.prodigy.net.mx [200.67.41.134]) sims.4.0.2001.07.26.11.50.p9) with SMTP id <0HGR004ATOPVAH@SMTP.Prodigy.Net.mx>; Fri, 20 Jun 2003 01:29:57 -0500 (CDT) Date: Fri, 20 Jun 2003 01:32:40 -0500 From: Alfonso Romero To: freebsd-questions Message-id: <018a01c336f5$bfb36b80$0100a8c0@ibacsoft.dynu.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-Priority: 3 X-MSMail-priority: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Creating an additional DNS zone file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 06:32:09 -0000 I have a DNS server for my local LAN. I use "ibacsoft.dynu.com" as the = primary zone and all works properly. When I wanted to add an additional = zone, "lalis.com", to use virtual hosts with apache, I created the = following zone file, called "lalis.com" on /etc/namedb: ------------------------------------------- $TTL 3600 lalis.com. IN SOA adeline.ibacsoft.dynu.com. = root.adeline.ibacsoft.dynu.com ( 6 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS adeline.ibacsoft.dynu.com. ; IN A 192.168.0.101 www IN CNAME @ mail IN CNAME @ @ IN MX 10 mail.lalis.com. ------------------------------------ I then reload named with "ndc reload", ping www.lalis.com and all looks = fine. I even go to www.lalis.com and the apache home page shows up. The problem is when I try to use lalis.com, without the "www" part. When = I ping lalis.com, it doesn=B4t give me the correct internal IP address, = like www.lalis.com does. What am I doing wrong? Thanks in advance, Alfonso Romero