From owner-freebsd-questions Mon Feb 5 20:20:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from malkav.snowmoon.com (unknown [209.23.60.62]) by hub.freebsd.org (Postfix) with SMTP id 81AE437B6A8 for ; Mon, 5 Feb 2001 20:20:23 -0800 (PST) Received: (qmail 47045 invoked from network); 6 Feb 2001 04:20:21 -0000 Received: from localhost.snowmoon.com (HELO localhost) (127.0.0.1) by localhost.snowmoon.com with SMTP; 6 Feb 2001 04:20:21 -0000 Date: Mon, 5 Feb 2001 23:20:21 -0500 (EST) From: jaime@snowmoon.com To: Beech Rintoul Cc: freebsd-questions@freebsd.org Subject: Re: Nameserver for virtual host In-Reply-To: <01020515002901.00558@galaxy.anchoragerescue.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 5 Feb 2001, Beech Rintoul wrote: > Thanks for responding. What I'm trying to figure is the DNS settings. > I have a working nameserver for my main domain. All the examples I've > read point to other nameservers. Is it possible to resolve two domain > names to the same machine? If so, how do I add the second domain in > BIND. I'm trying to avoid getting another static IP, and having to > set up a third nameserver. I am somewhat familiar with setting up the > SOA and A records etc....but I can't quite figure out how to do this. Sounds like you just need a few quick tips on DNS systems and BIND in particular. Yes, two names can point to the same IP. In fact, I use the CNAME records in BIND to do this all the time. These settings go in your /etc/named/* files, though the exact file will varry depending on your configs. www IN CNAME foo mail IN CNAME foo foo IN A 1.2.3.4 foo IN MX 2.3.4.5 ; To send email elsewhere Does that help? Email me directly (or via CC) if you want more helkp. I'm about to unsubscribe from the list for an unknown length of time. Jaime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message