how to fix: address not listed for hostname?
Debian perfect server installation with ISPCFG3 and 2 IPs.
I added the second IP to my server as advised by Falko in another thread, then I started getting these warnings in my mail logs. To fix them, I added a reverse DNS entry for the second IP and thought I got rid of them but every now and then, these warnings still appear in my logs.
126.96.36.199: address not listed for hostname h1870666.stratoserver.net
My primary IP for this server is: 188.8.131.52
Anything I forgot besides the reverse DNS?
I also added the second IP to /etc/hosts like this but I am unsure if this is right:
184.108.40.206 h1870666.stratoserver.net h1870666
220.127.116.11 h1870666.stratoserver.net h1870666
this might be related to the failures of the RIPe reverse DNS servers a few days ago:
do you have an A record for h1870666.stratoserver.net pointing to 18.104.22.168 ?
your reverse dns is set up correctly both 22.214.171.124 and 126.96.36.199 are pointing back to h1870666.stratoserver.net , however you should also have a record like
h1870666 IN A 188.8.131.52
in your zone
Just figured out the same thing! Chatted with my server provider's help desk and it turns out they suggest using one of my own domains.
Not sure I understand this:
they provide me with a server and a generic hostname, i.e. h1870666.stratoserver.net and 2 IPs but I can't use the second IP for sending emails because of the problem I reported in this thread.
The problem is that you have absolutely no control over the DNS settings for hte domain they provide me with, i.e. I can't set up an A-record for h1870666.stratoserver.net
Now my question is, if I use one of my own domains, to set up A-records and reverse DNS pointers, that would solve the problem, but I guess I would also need to change a lot of postfix configuration, right?
So in my quest to elegantly solve this I came across this thread: http://www.faqforge.com/linux/send-a...ss-in-postfix/ explaining how to stop postfix sending emails through a particular IP but in the comment below, a user explains that that solution screws up AMAVIS and suggests a new solution.
Does anyone know if the solution in the comment is the best way to go?
for those too lazy to click the link, the suggested solution is to add
The counter-solution in the comment section suggests editing /etc/postfix/master.cf:
tell me if i understand your setup
you have bought a domain from a service provider
that h1870666.stratoserver.net is one of the provider default NS's for your domain
you are hosting your domain (zone) with the provider
you are hosting your web/mail server on your own server or rented dedicated/vps
you have an A and MX record in your zone pointing to your mail server IP
is this correct ?
I see I managed to confuse you :-)
What you said earlier is actually right:
I have no control over this domain since its theirs, therefore I cannot add h1870666 IN A 184.108.40.206. so I guess its easier to simply have postfix use only my first IP for which they added the A record.
To answer your questions above:
- h1870666.stratoserver.net is the root server hostname and domain as assigned by the ISP
- on this root server I run web server/dns/mail server
- all domains I host are properly configured
The point is that postfix is configured like this:
myhostname = h1870666.stratoserver.net
myorigin = /etc/mailname
/etc/mailname contains: h1870666.stratoserver.net
so I would have to reconfigure postfix completely if I were to replace h1870666.stratoserver.net with a domain I own and host.
Therefore, I tried putting the problem like this:
|All times are GMT +2. The time now is 12:57.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.