Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 1998 11:12:20 +0200 (CEST)
From:      Malte Lance <malte@webmore.com>
To:        Ka-Wh00t <sysadmin@noc.panthernet.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Hostname assigning?
Message-ID:  <13758.58229.881225.985316@neuron.webmore.de>
In-Reply-To: <Pine.BSF.3.96.980728143209.171B-100000@noc.panthernet.com>
References:  <Pine.BSF.3.96.980728143209.171B-100000@noc.panthernet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13758.58229.881225.985316>