LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-13-2007, 04:11 AM   #1
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
dns - default reverse record


On a linux client with bind: I have forward records for multiple zones pointing to the same ip.
Now I want to add the reverse records to the reverse zone for that subnet.
To which of the domains should I point the reverse record?

For example, I have:

Forward zones:
domain1.com
www IN A 192.168.0.10

domain2.com
www IN A 192.168.0.10

I have this reverse zone for that subnet:
192.168.0
10 IN PTR www.domain1.com


What is the logic of the last RR?
10 IN PTR www.domain1.com

Why shouldn't that point to: www.domain2.com
10 IN PTR www.domain2.com

Why does it matter? I guess it would be a problem when email servers on another clients end decide to do reverse lookups and find domain2 where they want domain1?
So that basicly means i can only send email from one domain when i have multiple domains located on one apache server?
Are there any other security related issues to this problem?

Thanks for any hints/tips!
 
Old 08-14-2007, 10:22 AM   #2
cjcox
Member
 
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
In most cases, those that do a check... do the following:

1. For IP...
2. Do a reverse lookup (IP -> name)
3. Do a forward lookup (name -> IP2)
4. Does IP = IP2

So... for many things that check.. you are probably fine.
 
Old 08-15-2007, 02:10 AM   #3
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Original Poster
Rep: Reputation: 38
thanks!
I anybody else has more info on this, feel free to enlighten me
 
  


Reply



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
Reverse DNS Swakoo Linux - Networking 2 12-19-2006 08:10 AM
problem with one dns reverse zone record rsmccain Linux - Networking 2 10-07-2006 08:17 AM
reverse DNS in C? Thinking Programming 3 04-27-2005 12:05 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:28 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration