Hello Howtoforge people!! I'm from argentine and my english is not the best. I have a single server setup with debian 8, apache2, bind, dovecot, postfix and ISPConfig 3.1.12. For some mails rejected problems (especially from yahoo) I want to change my server host name. Actually my server name is dns01.mydomain.com and I want to change it to mail.mydomain.com. I was looking through different posts on the forum and I've found some posts but not very sure of wich are all steps to do. Thanks in advance
Change the name in /etc/hosts, /etc/hostname, /etc/mailname, /etc/postfix/main.cf and then reboot the server. Don't forget to change the DNS PTR Record of your IP as well.
You can change the server name under system > server settings as well, but this name is just 'descriptive' and used in the server options fields in various ispconfig forms, it has no technical use.
An IP block has certain nameservers registered to perform reverse dns lookups for it, you need to change the dns on *those* servers, which is typically not your ISPConfig nameservers. But the "how to" is the same whether it's an ISPConfig nameserver or not, you simply create the correct in-addr.arpa dns zone and add your PTR record. If your IP addr is 11.22.33.44, you would create the zone "33.22.11.in-addr.arpa." and add a PTR record for "44" with the name you wish it to resolve to.
There is tutorial: https://www.howtoforge.com/tutorial...vice-with-ispconfig/#nbspreverse-name-service