LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-25-2012, 10:23 PM   #1
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 117

Rep: Reputation: 15
PTR question


Hi all,
Does the PTR record have to match the MX record or can it match the domain name?

Below is example.com zone file:
Code:
$ORIGIN example.com.
example.com.          IN      MX      10      mail
example.com.          IN      A       1.1.1.1
mail                  IN      A       1.1.1.1
Will setting the PTR to example.com work or does it HAVE to point to mail.example.com?

Code:
1.1.1.1          IN   PTR     example.com
OR
1.1.1.1          IN   PTR     mail.example.com
DOes it matter? will both work?
 
Old 06-26-2012, 02:57 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
1) purpose PTR is to resolve ip to domain . normaly limited to 1 domain
2) to resolve domain to ip we use "A" record , can be multiple domain for 1 ip

for the below is not OR . its either one

Code:
1.1.1.1          IN   PTR     example.com
OR
1.1.1.1          IN   PTR     mail.example.com
cheers
 
1 members found this post helpful.
  


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
BIND9 PTR Records pgibsonorg Linux - Software 1 09-12-2011 05:58 PM
[SOLVED] Pointer arithmetic question : *ptr++ or (*ptr)++ theKbStockpiler Programming 8 06-02-2010 11:12 AM
PTR record OTIM Linux - Server 3 11-22-2007 12:16 PM
PTR problem csdhiman Linux - Server 2 11-18-2007 01:20 PM
DNS -- PTR -- help understand Fredstar Linux - Newbie 8 09-28-2005 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:54 PM.

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