From owner-freebsd-questions Wed Jul 29 05:08:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA09757 for freebsd-questions-outgoing; Wed, 29 Jul 1998 05:08:08 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (www.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA09726 for ; Wed, 29 Jul 1998 05:08:02 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.de (unverified [194.95.214.164]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Wed, 29 Jul 1998 14:08:49 +0200 Received: (from malte@webmore.com) by neuron.webmore.de (8.8.8/8.8.8) id LAA00473; Wed, 29 Jul 1998 11:12:20 +0200 (CEST) From: Malte Lance MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 29 Jul 1998 11:12:20 +0200 (CEST) To: Ka-Wh00t Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Hostname assigning? In-Reply-To: References: X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13758.58229.881225.985316@neuron.webmore.de> Reply-To: malte.lance@gmx.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ka-Wh00t writes: > Hi: > > I recently set up a virtual host on my noc.panthernet.com box > (208.18.212.108) using ifconfig aliasing and it seems to be running > well. However, I would like to give it a hostname that will DNS Resolve. > Inserting the ip/hostname into /etc/hosts works from within my box, but I > want it to DNS Resolve. I also have root access to a nameserver (domain > server) if I'm required to do it from there. Step-by-step instructions > will be greatly appecitated! Assuming 208.18.212.108 is the alias-address on your device and the DNS-entry it should resolve to is banana.panthernet.com Yes, you'll need to change the database on the nameserver, that is authoritative for your IP-addresses. That means, connect to your authoritative nameserver, then: 1. Find the RAR-file where the resolution for 212.18.208.IN-ADDR.ARPA is done. 2. Add the following entry: 108 in ptr banana.panthernet.com 3. Find the zone-file for panthernet.com 4. Add the following entry: banana in a 208.18.212.108 Send named a HUP-signal. On the other hand, if you just want a transparent alias, then in step 2. just pointer the alias-address to the DNS-name that belongs to the IP-address the device in question was ifconfig'ed with in the first place. Malte. > > Thanks in advance, > sysadmin@noc.panthernet.com > System Administrator > NOC Panthernet > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message