LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 11:23 PM   #1
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 115

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, 03:57 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 774
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


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


All times are GMT -5. The time now is 01:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration