DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 27th, 2004, 03:29 PM
PolkMOMO PolkMOMO is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 4 PolkMOMO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
mysterious Mail DNS problems...

Hi people,

Ok, so have this VPS I am in charge of. I had basically the domain (or subdomain rather) mail.teen-moods.net setup for my mail services. It was working fine, I was able to connect to get my mail and all that good stuff. But then one day my mail client says that it cannot find the server, and it has been that way ever since. I came here and looked around at similar posts and double checked my DNS records and I'm sure they're fine.

I guess you can referr to this to double check for me, I am totally sure: DNS Crawler Results

Thanks for any help you can provide

Reply With Quote
  #2  
Old June 27th, 2004, 05:12 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
you going to have to be more specific on those errors. I was able to connect to both the POP3 and SMTP server just fine. The DNS is kinda screwed, but not for connecting to the servers.

Dave
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #3  
Old June 27th, 2004, 05:26 PM
PolkMOMO PolkMOMO is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 4 PolkMOMO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation

Quote:
Originally Posted by SilentRage
you going to have to be more specific on those errors. I was able to connect to both the POP3 and SMTP server just fine. The DNS is kinda screwed, but not for connecting to the servers.

Dave



Well you can connect to them using just the domain teen-moods.net but I orignally was connecting to mail.teen-moods.net ; I know it's not a big deal as far as functionality but I still want to know why this happened for my personal knowledge.

WTF... now it's working... wtf

Anyway, I know I need to setup reverse DNS too, but other than that what do you mean as in my DNS being kinda screwed?

Thanks

Reply With Quote
  #4  
Old June 27th, 2004, 05:38 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
The DNS is kinda screwed cause I assume you want mail to work for *@teen-moods.net. However, when a mail server makes a query for MX records like below:

dig teen-moods.net mx

There isn't any. They're hiding under the mail subdomain. So the mail server looking for your MX records falls back to a second type of query:

dig teen-moods.net a

Then it tries to connect to that IP to send the mail. It is generally not recommended to rely on A records to direct people to your mail server. MX is better.

Then there's the issue of your mail server. It thinks it is called "pluto.teen-moods.net". When you finally do setup reverse DNS that little stone is gonna be a real pain since it's easy to overlook. I assume you'll set the IP to point to "mail.teen-moods.net", so your server should announce itself as the same.

Reply With Quote
  #5  
Old June 27th, 2004, 07:10 PM
PolkMOMO PolkMOMO is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 4 PolkMOMO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation

It's amusing in a way because Plesk, the admin interface I am using, set up the dns that way by default; Why would it do that if it's not suppose to be like that by standard?

Ok, I deleted that original mx record; and done a new one:
teen-moods.net. MX (10) mail.teen-moods.net.

I checked it out using DNS crawler: Here
That looks better than before right? and I am still able to connect to the mail server so that's a plus too. Imma do a test email also. dnsreport.com said I'm doing ok too! yay!

Time to get that mailserver ident corrected...

Question:
Quote:
Originally Posted by SilentRage
Then there's the issue of your mail server. It thinks it is called "pluto.teen-moods.net". When you finally do setup reverse DNS that little stone is gonna be a real pain since it's easy to overlook. I assume you'll set the IP to point to "mail.teen-moods.net", so your server should announce itself as the same.

Am I suppose to be able to configure just the mail server to announce itself as mail.teen-moods.net or will I have to set the entire server under the domain of mail.teen-moods.net;

Also, if I have my IP resolving to the address of my mail server rather than just the domain would that cause some problems as far as someone tring to come up with the site and they get that address (pretend they don't just drop the mail subdomain)?

Reply With Quote
  #6  
Old June 27th, 2004, 08:09 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
not sure what you're asking with the question, so I'll grab a cement truck and try to hit the answer in the dark.

when I connect to mail.teen-moods.net I want to see this line first thing returned from the server:

220 mail.teen-moods.net ESMTP

When your server sends an email, it better send this line first thing:

HELO|EHLO mail.teen-moods.net

Now tell your server who it is. My suggestion is that anywhere you see that pluto.teen-moods.net you replace it with mail.teen-moods.net. I don't think you can go wrong like that.

Now as for that second question... er... I have no clue what you're talking about. But what I can say is configuring your IP to point to "mail.teen-moods.net" has NO disadvantages. It does nothing but good for you as long as mail.teen-moods.net resolves to that same IP.

Reply With Quote
  #7  
Old June 28th, 2004, 02:39 AM
PolkMOMO PolkMOMO is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 4 PolkMOMO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
My host said that only the sending mailserver(pluto.teen-moods.net), which has a different IP than the recieving mail server(mail.teen-moods.net), needs to have a reverse DNS entry....

Quote:
Usually, it's not necessary for the incoming mail server to have a reverse DNS entry -- what's usually necessary is that the mail server that's sending mail (which would be pluto) have a reverse dns entry -- if that's the case, we can leave mail as-is and simply set up a reverse DNS entry for pluto.


Does this seem OK to you?

Reply With Quote
  #8  
Old June 28th, 2004, 02:46 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
Let's take a quote from the RDNS post in "Generic DNS references and tips"

Quote:
How do I make sure sending mail from my server isn't rejected?

1) Configure the mail server to announce itself as the correct mail server domain.
2) Make sure your mail server domain resolves to your mail server IP.
3) Make sure your mail server IP resolves to your mail server domain.

MX records can point to any domain you want as long as the domain points to your mail server's IP.


If your server announces itself as "pluto", "pluto" resolves to the mail server IP, and the mail server IP resolves to "pluto", then all is gravey. If you want your MX to be "mail" that's fine too.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > mysterious Mail DNS problems...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT