LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-02-2012, 12:13 AM   #1
padeen
Member
 
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware 14, Debian 7, FreeBSD, OpenBSD
Posts: 175

Rep: Reputation: 34
Consequences of setting DNS PTR record to hostname


I have a VPS that I have been using for a personal site with a webserver and mail server as public-facing services. All DNS records are set up and everything is fine.

Code:
hostname:  host.mysite.com

*.mysite.com  A  111.222.333.444
host.mysite.com. MX 111.222.333.444

blah444.333.222.111 PTR  host.mysite.com
I am now going to host several virtual domains, and I want to avoid DNS information leakage.

To that end, I thought to change the PTR record to point to the machine's (newly changed) internal hostname instead of one of the domain's publicly resolvable host. From what I've read, upstream SMTP servers should accept email from the host as long as the PTR matches the hostname (i.e. it doesn't have to match up with a resolvable A record).

Code:
hostname: host.myinternalserver.net

*.domainA.com  A  111.222.333.444
*.domainA.com. MX 111.222.333.444

*.domainB.com  A  111.222.333.444
*.domainB.com. MX 111.222.333.444

blah444.333.222.111 PTR host.myinternalserver.net
Apparently, this is the recommended way of handling virtual hosting (again, from what I've read elsewhere).

Any comments on the consequences? Also, will it affect other public services, which will be web server, vpn, ssh? The MTA is postfix, by the way.
 
  


Reply

Tags
dns, ptr, virtual


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
For PTR record creation Windows DNS linuxlover.chaitanya General 7 05-03-2012 07:04 AM
[SOLVED] DNS: A Record and PTR Record hydraMax Linux - Server 4 12-21-2010 10:28 PM
DDNS record and a static PTR record mou5e Linux - Networking 2 01-22-2008 01:16 AM
what is the actual use of PTR record in DNS ZAMO Linux - Server 1 04-12-2007 01:15 AM
How to format DNS PTR record ? pcom Linux - Networking 2 07-01-2004 11:59 PM


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