Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th November 2011, 01:41
MaddinXx MaddinXx is offline
Senior Member
 
Join Date: Jul 2011
Location: Switzerland
Posts: 197
Thanks: 25
Thanked 60 Times in 44 Posts
Question rDNS error - mail.subdomain.domain.tld

Hello everyone

Once again, I need some help from professional guys like you all.

Following the multiserver setup I created 4 virtual servers, which are OK. They are splitted as web (Web & DB), mail and ns1 & ns2.

As I plan to add some more root server to my "network" sooner or later, I thought it would be cool to have a well organized domain structure, like this:

servername.domain.tld (Node)
web.servername.domain.tld (Virtual)
mail.servername.domain.tld (Mail)
and so on...

Testing the mailserver with MXToolbox I got a rDNS does not match SMTP banner error.

So I had a look at /etc/mailname which is correct, rDNS is set.
I guess the problem is the hostname (is it checked for this?) which is still shown as mail only (but it should be mail.servername). However it does not seem to be possible to add dots in hostname.

Is there any way I can realize my wish with the domain structure or is it simply not possible to have it like this - meaning it must always be mail.domain.tld?

Thank you very much for solving my problem

Greets,
MaddinXx
Reply With Quote
Sponsored Links
  #2  
Old 13th November 2011, 12:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Do you have mail.servername.domain.tld in /etc/mailname?
Does
Code:
telnet localhost 25
show mail.servername.domain.tld?

Does mail.servername.domain.tld exist as an A record?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th November 2011, 14:12
MaddinXx MaddinXx is offline
Senior Member
 
Join Date: Jul 2011
Location: Switzerland
Posts: 197
Thanks: 25
Thanked 60 Times in 44 Posts
Default

Hi falko

/etc/mailname is set correctly.

but telnet localhost 25 gives an command not found error.

netstat -tna gives:

Code:
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN     
tcp        0      0 xxx.x.xxx.xx:22         xx.xxx.xxx.xx:50441     ESTABLISHED
tcp6       0      0 :::22                   :::*                    LISTEN
and A records are set correctly, meaning the records generated by the ISPConfig wizard as well as an A record for mail.subdomain pointing to the mailserver IP, and MX set to mail.subdomain.domain.tld.

Regards,
Michel
Reply With Quote
  #4  
Old 14th November 2011, 10:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by MaddinXx View Post
but telnet localhost 25 gives an command not found error.
Please install telnet...
Code:
apt-get install telnet
... and try again.

Does
Code:
dig mail.servername.domain.tld
show that it points to the correct IP?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 14th November 2011, 14:12
MaddinXx MaddinXx is offline
Senior Member
 
Join Date: Jul 2011
Location: Switzerland
Posts: 197
Thanks: 25
Thanked 60 Times in 44 Posts
Default

Hi falko

Output of telnet localhost 25 is:

Code:
220 mail.alpha.rackster-server.ch ESMTP Postfix (Debian/GNU)
and output of the dig command is:

Code:
; <<>> DiG 9.7.3-P3 <<>> mail.alpha.rackster-server.ch
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40865
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.alpha.rackster-server.ch.	IN	A

;; ANSWER SECTION:
mail.alpha.rackster-server.ch. 86400 IN	A	176.9.221.50

;; Query time: 62 msec
;; SERVER: 192.168.1.254#53(192.168.1.254)
;; WHEN: Mon Nov 14 14:08:11 2011
;; MSG SIZE  rcvd: 63
which is correct IP.

Regards,
Michel
Reply With Quote
  #6  
Old 15th November 2011, 14:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

I've checked your hostname and the reverse record, and everything seems to be fine...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 15th November 2011, 19:41
MaddinXx MaddinXx is offline
Senior Member
 
Join Date: Jul 2011
Location: Switzerland
Posts: 197
Thanks: 25
Thanked 60 Times in 44 Posts
Default

Hi falko

Oh lol just checked again with mxtoolbox and yep, it seems to be right for me too now.

Really strange as I swear it wasn't before. Probably the Hetzner DNS took some while (long) to update their records.

Thank you for the support & le'ts hope it stays as it is.

Regards,
Michel
Reply With Quote
  #8  
Old 16th November 2011, 18:04
MxToolBox MxToolBox is offline
Junior Member
 
Join Date: Nov 2009
Location: Austin, TX
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks for using our SMTP Diagnostic Tools...it does sound like the DNS wasn't quite updated, keep in mind that DNS changes can take 24-48 hours. I also wanted to let you know that in addition to the Free Tools on our website we also have a Free Monitoring Tool that will monitor any of the commands you can do on the website.

Then our tool can automatically alert you if there is an SMTP, TCP, Blacklist issue. http://www.mxtoolbox.com/services_servermonitoring.aspx

Thanks,
@mxtoolbox
__________________
MxToolBox.com
@MxToolBox
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig3 / IPv6 / rdns dietervh Installation/Configuration 2 8th June 2010 19:42
rDNS / Need Help Chad Server Operation 1 7th April 2010 16:27
rDNS, Hotmail and Yahoo Ryanmt Installation/Configuration 10 14th May 2008 12:35
rdns help for mail server daveb Server Operation 2 8th December 2007 21:13
DNS, rDNS, NAT and vhosts, oh my! Hyakugei Installation/Configuration 2 19th May 2006 16:23


All times are GMT +2. The time now is 09:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.