[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IP--->Domainname--->OtherDomainname



Art:

I'll refer to the domain you've registered for yourself as mydomain.net,
and the domain that your ISP maintains as ispdomain.net.

1.  Register your primary and secondary nameservers for mydomain.net
with the NIC.  Web forms to do this can be found at
http://www.networksolutions.com/.  I think the NIC requires that at least
two nameservers be specified, so check out http://soa.granitecanyon.com/ 
for free primary and/or secondary DNS service.

2.  Tell your ISP to remove mymachine from ispdomain.net, and to add
the appropriate PTR record to their in-addr.arpa domain, something like:

	100.789.456.123.in-addr.arpa.	IN PTR	mymachine.mydomain.net.

if your IP address is 123.456.789.100.

3.  Add the appropriate record to your primary nameserver:

	mymachine.mydomain.net.	IN A	123.456.789.100

4.  Tell the resolver that your domain is mydomain.net with the following
line in /etc/resolv.conf:

	search mydomain.net


That should do it.  At this point, your machine is in no way associated
with your old mymachine.ispdomain.net name.  If all you really wanted to
do was have people access your web server at http://mymachine.mydomain.net/, 
then things could be made a little simpler-- basically skip steps 2 and 4,
and change the A record in step three to a CNAME records that points to
mymachine.ispdomain.net.

Marc

----------
Marc Mongeon <mongeon@bankoe.com>
Unix Specialist
Ban-Koe Systems
9100 W Bloomington Fwy
Bloomington, MN 55431-2200
(612)888-0123, x417 | FAX: (612)888-3344
----------
"It's such a fine line between clever and stupid."
   -- David St. Hubbins and Nigel Tufnel of "Spinal Tap"


>>> Art Lemasters <alemas@rmi.net> 11/02 1:12 PM >>>
     To further simplify, I am stuck with a _public_ domain (a
static one) delegated for a DSL connection.  We'll call it
static.domain.name.net.  I want to exchange traffic for 
mymachine.domain.net (I own domain.net).  There is only one
IP address, and this is one potato box that is running bind.

Art

On Tue, Nov 02, 1999 at 11:45:57AM -0700, Art Lemasters wrote:
>      How can I use one IP address and one domain name to exchange
> all kinds of server traffic for another domain name?
> 
> IP----->1stDomainname------>2ndDomainname
> 
>     In other words, I have one IP address delegated to a domain
> (e.g., hidden.static.domain.name.net).  I want all traffic (on the
> same box) to come and go from another domain (on the same box,
> e.g., mydomain.net).  ...any ideas?
> 
> Art


-- 
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null



Reply to: