LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 08-03-2002, 12:11 PM   #1
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
Question Reverse DNS question


I have to link www.somedomain.nl to www.somedomain.com. How do i do this in reverse dns???
I can't use the ipaddress so i have use CNAME. Normaly the line will look like this:

www IN A 123.123.123.123

But when i make the rev dns file from somedomain.nl to point to somedomain.com with CNAME like the following:

www IN CNAME www.somedomain.com

Then it wont be accepted. We have a script at work to do a killall -HUP named and to check up on things and it says it all works fine, but i know the dns file isn't correct because it just wont work.

Help would be appreciated!
 
Old 08-03-2002, 12:39 PM   #2
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
You don't use CNAME records for reverse DNS. You use PTR records.

Regards
 
Old 08-04-2002, 04:05 AM   #3
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
I know, but isnt there any way that i can link to somedomain.com without using the ipadress?
 
Old 08-04-2002, 04:20 AM   #4
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
The only question in your original post was "How do i do this in reverse dns???".

I'm confused as to what you actually want to do.

Regards
 
Old 08-04-2002, 08:15 AM   #5
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
If a user goes to somedomain.nl it has to be redirected to somedomain.com.
This has to be done with dns but i don't know how.
 
Old 08-04-2002, 09:03 AM   #6
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
DNS doesn't do that. DNS merely converts names to IPs (A records) , IPs to names (PTR records) , or says what names can be considered to be equivalent to each other (CNAME records).

The easiest way to do this is to simply have an index page at somedomain.nl that instantly redirects to somedomain.com

This is a trivial piece of HTML.

Regards
 
Old 08-04-2002, 09:31 AM   #7
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
Only the domain somedomain.nl exists. It has got no webspace at all. So using javascripts or something isn't a possibility.
 
Old 08-04-2002, 10:14 AM   #8
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
There's no Javascript involved, just plain old HTML.

You must have some hosting somewhere, so simply create a virtual host there and point the DNS at it. Easy.
 
Old 08-04-2002, 02:53 PM   #9
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
For html you will need webspace. And the domain we have registred doesnt have any webspace.
I will ask it to a collegue tomorrow, he probably has an answer.
Tnx for trying to help!
 
  


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
No reverse DNS??? DragonM15 Linux - Networking 5 11-22-2005 12:06 AM
Reverse DNS Webbie Linux - Networking 4 10-10-2005 07:49 PM
Reverse DNS Snerkel Linux - Networking 11 04-19-2005 12:25 PM
Reverse DNS davespink Linux - Networking 2 02-27-2005 06:44 PM
Reverse DNS Pyro2k4 Linux - Networking 8 09-06-2004 04:59 PM


All times are GMT -5. The time now is 10:00 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