Hello,
I created Reversed DNS for my domains.
The main domain is myfirstdomain.com with Name server ns1.myfirstdomain.com and ns2.myfirstdomain.com
I configure some subdomains from: mail01.myfirstdomain to mail10.myfirstdomain.com.
Then I add the new virtual Machine, with domain name: myseconddomain.com.
I create the subdomains again from mail01.myseconddomain.com to mail10.myseconddomain.com with reversed ip.
I have each ip for each sub domains.
By the way, when dig the subdomains of the myseconddomain.com, they are all resolved to first domain.
$ dig -x xxx.xx.xx.xx +short mail01.myfirstdomain.com. (xxx.xx.xx.xx is the ip reversed for mail01.myseconddomain.com)
I really don't understand why. I tried to delete all and created again but still the same result.
How can i fix it?
Thanks
You can set rDNS only in two ways, hosting company have enabled this option for their clients or you contacted your hosting company and ask them to set rDNS for you. What is your case? And what did you set as rDNS?
- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.
I have my VPS and webmin installed.
I created the A Records for them.
Here is the record for domain2.
You cant set rDNS with Wmin/Vmin. You should ask your host to set this for you. Only the owner of the IP can set rDNS.
- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.
I am the owner of ip.
I dont know why the IP still reversed to the domain1.com instead of domain2.com
For example if I dig mta20.domain2.com's ip, it willl show mta20.domain1.com.
rDNS needs to match your hostname, apparently??
Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.
I need it to match its main domain.
Also,( hostname ) not a domain you use email for?? DNS is mind boggling.
I have yet to see a professional HOWTO that is perfect on how to setup a hostname and rDNS / PTR on a dedicated server running just 1 or multiple domains.
Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.
Hostname is the domain i used.
DNS takes time to change, you can check here... https://www.whatsmydns.net/
A good hostname and rDNS is vital for email along with SPF/TXT record and DKIM etc, especially if you will be communicating with the likes of Gmail, Outlook etc etc with your project.
Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.
I know. but i have problem to with rDNS.
Your IP address xxx.xx.xx.xx is associated with the domain mail1.domain1.com. Nevertheless your message appears to be sent from mail1.domain2.com.
Then Email provider will put my email out of inbox.