LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-30-2005, 01:52 PM   #1
veeruk101
Member
 
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Rep: Reputation: 16
Why do forward AND reverse lookups?


Hello,

I've been reading things were it says that you should always do forward AND reverse lookups. What are the reasons for this? Isn't a forward lookup sufficient, and wouldn't a reverse lookup just tell you what you originally started with?

I know doing both is supposed to help verify whether the person you're dealing with is who they say they are or whatever, but how does this all work? Seems cool.

Thanks.
 
Old 03-30-2005, 01:58 PM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
Some RFCs, if followed strictly, require that you also have a reverse lookup. Some MTAs will not deliver mail if you have it setup that if the reverse lookup doesn't come back with what the DNS name is saying, or with just a response, then it won't deliver the mail.

Silly things like that. Maybe someone else has a more concrete reason...usually though, I've used it to help me determine what and where the IP came from.
 
Old 03-30-2005, 08:02 PM   #3
veeruk101
Member
 
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Original Poster
Rep: Reputation: 16
Thanks.

Do you know how exactly the process of forward lookups followed by a reverse lookup prevents against fraud or whatever? You're right that some programs would require it, but how does it solve anything? Wouldn't you just get the same thing you started off with after a forward then reverse lookup?

Thanks again.
 
Old 03-31-2005, 10:22 AM   #4
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
For instance, let's say I spoof a name from where I'm coming from, but it also logs my IP address, granted that can be spoofed too, but in this example it isn't.

So, what you get is someone trying to send you mail from technoslave.net, but their IP address isn't 204.9.59.52, so the mail server rejects it.

I'm sure there are other programs that use it frequently, but none that I've really come across lately, especially since my IP address at home, I can change the DNS and point it to the IP, but I don't have control of the reverse for it, and I have yet to have any problems sending mail and the like.

It's just one of those things that when it was setup ( the idea of DNS ) that if you have a forward looking address you should also have a reverse.

The place where you can get bind might have some more info ( http://www.isc.org/index.pl?/sw/bind/ )
 
  


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
Reverse Lookups abhijeetudas Linux - Networking 1 10-18-2005 01:20 PM
iptables DNS reverse lookups soren625 Linux - Networking 6 03-10-2005 10:06 AM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 06:25 AM
forward and reverse DNS don't match Neoslak Slackware 0 12-14-2003 02:12 PM
Reverse DNS Lookups ascii2k Linux - Networking 2 08-08-2001 09:01 AM


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