LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-03-2005, 11:46 AM   #1
dulaus
LQ Newbie
 
Registered: Sep 2002
Location: Ottawa
Posts: 13

Rep: Reputation: 0
Dns - Cname - Domain Masking


Hi there ...

I am using Mandrake 9.2 with BIND.

I am an affiliate of another site and have been told to create a subdomain.

My subdomain will be called: adventures.mysite.com

The affiliate site is called: adventures.affiliate.org

The intent is to hide the affiliate URL in the browser window on my own website, as well as hard coded URL's such as adventures.mysite.com which will resolve to adventures.affiliate.com.

There is confusion on my part on this ... of what I have to include in my zone file be it, A records, CNAME or anything else.

I have entered a record in named.conf already which is adventures.mysite.com

Could someone give me an example of a complete zone file that does this.
I have given this several attempts but have failed.

adventures.mysite.com. IN CNAME adventures.affiliate.org ?


Thanks ...
 
Old 06-06-2005, 06:30 AM   #2
dulaus
LQ Newbie
 
Registered: Sep 2002
Location: Ottawa
Posts: 13

Original Poster
Rep: Reputation: 0
bump
 
Old 06-06-2005, 07:21 AM   #3
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
You can use:
adventures.mysite.com. IN A IP-addres-of-affliate.org
Or else you could use javascript to hide the URL from the status bar at the bottom and you can use frames for the address bar.
I.e. define a frameset like this:
<FRAMESET ROWS="100%,*" BORDER="0" FRAMEBORDER="0" FRAMESPACING="0">
<FRAME NAME="top" SRC="http://adventures.affiliate.org" NORESIZE>
<FRAME NAME="bottom" SRC="blankpage.html" MARGINWIDTH="0"
MARGINHEIGHT="0" SCROLLING="NO" FRAMEBORDER="0" NORESIZE>
</FRAMESET>
Of course a skilled user could find what the actual URLs are.

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dns & Cname abhijeetudas Linux - Networking 1 09-15-2005 03:32 AM
DNS, CNAME conflicts in logs cyanescent Linux - Networking 1 05-12-2005 07:31 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
Any name resolves to. A? CNAME? DNS Q dlublink Linux - Networking 3 01-11-2005 09:55 AM
Domain, DNS is it possible Kaiser_Sose Linux - Networking 1 02-09-2002 10:10 PM


All times are GMT -5. The time now is 05:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration