Reverse DNS Question

tony1234

Verified User
Joined
Jul 25, 2005
Messages
71
I am a beginner and know it (ha), and need some into "direction" here.
I have a domain called, say, www.mydomain.com
My server name on my dedicated server is server.mydomain.com
(first question is that ok?)
I installed a script to run in cron that runs rkhunter and emails the result to the root email (which i redirected to [email protected])
It runs ok and sends it.
At my comcast email I see the email, but it appears to be trying to reject it, by sending it back to [email protected]
From what I have read my googling this is likely a reverse dns issue.
(2nd question is this assumption correct?)
Also, my last question is:
do I need to setup a reverse dns for any or all of the following to both have this work now and also in general for my domain?
www.mydomain.com
server.mydomain.com
mail.mydomain.com
Thanks in advance.
 
Tony,

Because you're a beginner I'll try to not be too harsh on you :) .

But you and I both know you don't own mydomain.com. It's impossible to give specific answers to your question without knowing the real domain name, because it's impossible to check to see if you have reverse DNS setup or not.

For what it's worth mydomain.com does have reverse DNS set up for it.

It's unlikely that setting up reverse DNS on your own server will be helpful, because while we can't check without knowing your domain name, it's unlikely your upstream provider has delegated reverse DNS to you; most don't unless you've got an entire C-Class (256 IP#s).

So it's likely you'll have to have your upstream set it up, and in any event, you should ask them if you don't want to tell us the real domain name, and don't know how to check yourself.

As far as what needs to be set up in Reverse DNS; that's simple to answer: you set up one reverse DNS record for each IP#. Not for each domain name, but for each IP#.

And as I said above, that won't even work unless your upstream provider has delegated reverse DNS to you.

Jeff
 
Yes, i don't own mydomain.com
I know already i don't have reverse dns set up. Which was why I was asking about the domain name. But I guess I learned it was ip related.
I have my server at layeredtech and they don't delegate reverse dns stuff, i saw that on their site.
So, they say to send them a ticket request.
My main domain name is "like" www.mydomain.com
My server name is "like" server.mydomain.com
So, for my reverse dns stuff should i tell them to point my reverse dns for my ip to my main domain name or my server name or my own name servers which i set up?
Also, i added a PTR record in DirectAdmin today. Should I delete that before asking them?
Thanks in advance, and also thanks for being easy on me !!!
 
Oh, one more thing. I have 5 usable ips, should i have them do all 5, or just the main ip for my server?
 
Well, now you're no longer a newbie, so I don't have to be as nice :) :

http://homepages.tesco.net./~J.deBoynePollard/FGA/dont-obscure-your-dns-data.html

Once you've read that, you'll understand why I can't give you suggestions on what you should do.

What I would do for my server if it were on a system that didn't delegate DNS to me, would be:

Have my upstream set up reverse DNS for all the IPs delegated to me to my server's name.

Jeff
 
Well you are indeed not being nice to me. LOL However, I am not obscuring my IP/domain stuff because I think I need to do this to be secure. It is basically I have not made my server secure yet (doing this myself too lol). Once I do I would not hesitate. Anyway, about DNS access, layeredtech does give me DNS access, as I can do this via the DirectAdmin DNS screen. Reverse DNS is different. Their quote is " We currently do not allow the delegation of reverse DNS to client local DNS servers.". So I have DNS access (and made my name servers), just not reverse DNS access. So, just to make sure you understand my situation, I posted that here. I did just add a PRT record, but perhaps I should delete it and then request reverse DNS for my 5 ips? Or do you think I should leave it before I request it? My overall intent here was to get the general direction to start with, not to fix a problem and make it hard to people to help me. Perhaps I should have been specific about that in the beginning. Thanks.
 
It sounds as if you either haven't read the link (which I send to over 100 folk yearly who request help so don't feel singled out), or you don't understand it.

If you're trying to publish DNS then you're trying to let everyone in the world know the information.

Except the people you want to help you.

I don't waste time on guesses. Either you tell us what you're having a problem with or you find someone else to guess for you.

That said, you should delete your PTR records, since they don't do you any good, and ask your host to set up reverse DNS for you.

Which is really what they told you to do.

Jeff
 
Back
Top