Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-03-2005, 12:46 PM   #1
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:

The affiliate site is called:

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 which will resolve to

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

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

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

Original Poster
Rep: Reputation: 0
Old 06-06-2005, 08:21 AM   #3
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,213

Rep: Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405
You can use: IN A
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:
<FRAME NAME="bottom" SRC="blankpage.html" MARGINWIDTH="0"
Of course a skilled user could find what the actual URLs are.



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 04:32 AM
DNS, CNAME conflicts in logs cyanescent Linux - Networking 1 05-12-2005 08:31 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 04:43 AM
Any name resolves to. A? CNAME? DNS Q dlublink Linux - Networking 3 01-11-2005 10:55 AM
Domain, DNS is it possible Kaiser_Sose Linux - Networking 1 02-09-2002 11:10 PM

All times are GMT -5. The time now is 01:16 AM.

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