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.domain1 to mail10.domain1.com.
Then I add the new virtual Machine, with domain name: domain2.com.
I create the subdomains again from mail01.domain2.com to mail10.domain2.com with reversed ip.
I have each ip for each sub domains.
By the way, when dig the subdomains of the domain2.com, they are all resolved to first domain.
Quote:
$ dig -x xxx.xx.xx.xx +short
mail01.domain2.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?
Here is the record for domain2.
Quote:
@ IN SOA ns1.domain1.com root.domain1.com ( 2015101020
10800
3600
604800
38400 )
domain2.com. IN NS ns1.domain1.com
domain2.com. IN A xxx.xx.xx.32
www.domain2.com. IN A xxx.xx.xx.32
ftp.domain2.com. IN A xxx.xx.xx.32
m.domain2.com. IN A xxx.xx.xx.32
localhost.domain2.com. IN A 127.0.0.1
webmail.domain2.com. IN A xxx.xx.xx.32
admin.domain2.com. IN A xxx.xx.xx.32
mail.domain2.com. IN A xxx.xx.xx.32
domain2.com. IN MX 5 mail.domain2.com.
domain2.com. IN TXT "v=spf1 a mx a:domain1.com ip4xx.xx.xx.32 ip6:2xxx.xx.xx::36 ?all"
domain2.com. IN AAAA 2xxx.xx.xx::36
www.domain2.com. IN AAAA 2xxx.xx.xx::36
ftp.domain2.com. IN AAAA 2xxx.xx.xx::36
m.domain2.com. IN AAAA 2xxx.xx.xx::36
webmail.domain2.com. IN AAAA 2xxx.xx.xx::36
admin.domain2.com. IN AAAA 2xxx.xx.xx::36
mail.domain2.com. IN AAAA 2xxx.xx.xx::36
domain2.com. IN NS ns2.domain1.com
mta12.domain2.com. IN A xxx.xx.xx.44
mta13.domain2.com. IN A xxx.xx.xx.45
mta14.domain2.com. IN A xxx.xx.xx.46
mta15.domain2.com. IN A xxx.xx.xx.47
mta16.domain2.com. IN A xxx.xx.xx.48
mta17.domain2.com. IN A xxx.xx.xx.49
mta18.domain2.com. IN A xxx.xx.xx.50
mta19.domain2.com. IN A xxx.xx.xx.51
mta20.domain2.com. IN A xxx.xx.xx.52
mta21.domain2.com. IN A xxx.xx.xx.53
|
Here is the reversed records:
Quote:
$ttl 38400xxx.xx.xx.in-addr.arpa. IN SOA ns1.domain1.com. root.domain1.com. (
2015101028
10800
3600
604800
38400 )
xxx.xx.xx.in-addr.arpa. IN NS ns1.domain1.com.
32.xxx.xx.xx.in-addr.arpa. IN PTR ns1.domain1.com.
33.xxx.xx.xx.in-addr.arpa. IN PTR ns2.domain1.com.
44.xxx.xx.xx.in-addr.arpa. IN PTR mta12.domain2.com.
45.xxx.xx.xx.in-addr.arpa. IN PTR mta13.domain2.com.
46.xxx.xx.xx.in-addr.arpa. IN PTR mta14.domain2.com.
47.xxx.xx.xx.in-addr.arpa. IN PTR mta15.domain2.com.
49.xxx.xx.xx.in-addr.arpa. IN PTR mta17.domain2.com.
51.xxx.xx.xx.in-addr.arpa. IN PTR mta19.domain2.com.
50.xxx.xx.xx.in-addr.arpa. IN PTR mta18.domain2.com.
48.xxx.xx.xx.in-addr.arpa. IN PTR mta16.domain2.com.
52.xxx.xx.xx.in-addr.arpa. IN PTR mta20.domain2.com.
53.xxx.xx.xx.in-addr.arpa. IN PTR mta21.domain2.com.
34.xxx.xx.xx.in-addr.arpa. IN PTR mta2.domain1.com.
35.xxx.xx.xx.in-addr.arpa. IN PTR mta3.domain1.com.
36.xxx.xx.xx.in-addr.arpa. IN PTR mta4.domain1.com.
37.xxx.xx.xx.in-addr.arpa. IN PTR mta5.domain1.com.
38.xxx.xx.xx.in-addr.arpa. IN PTR mta6.domain1.com.
39.xxx.xx.xx.in-addr.arpa. IN PTR mta7.domain1.com.
40.xxx.xx.xx.in-addr.arpa. IN PTR mta8.domain1.com.
41.xxx.xx.xx.in-addr.arpa. IN PTR mta9.domain1.com.
42.xxx.xx.xx.in-addr.arpa. IN PTR mta10.domain1.com.
43.xxx.xx.xx.in-addr.arpa. IN PTR mta11.domain1.com.
|
My first domain:
Quote:
$ttl 38400@ IN SOA domain1.com. root.domain1.com. (
2015101021
10800
3600
604800
38400 )
domain1.com. IN NS ns1.domain1.com.
domain1.com. IN A xxx.xx.xx.32
www.domain1.com. IN A xxx.xx.xx.32
ftp.domain1.com. IN A xxx.xx.xx.32
m.domain1.com. IN A xxx.xx.xx.32
localhost.domain1.com. IN A 127.0.0.1
webmail.domain1.com. IN A xxx.xx.xx.32
admin.domain1.com. IN A xxx.xx.xx.32
mail.domain1.com. IN A xxx.xx.xx.32
domain1.com. IN MX 5 mail.domain1.com.
domain1.com. IN TXT "v=spf1 a mx ptr ip4xx.xx.xx.32/24 ip6xx.xx.xx::36 include:google.com all"
domain1.com. IN AAAA xxx.xx.xx::36
www.domain1.com. IN AAAA xxx.xx.xx::36
ftp.domain1.com. IN AAAA xxx.xx.xx::36
m.domain1.com. IN AAAA xxx.xx.xx::36
webmail.domain1.com. IN AAAA xxx.xx.xx::36
admin.domain1.com. IN AAAA xxx.xx.xx::36
mail.domain1.com. IN AAAA xxx.xx.xx::36
domain1.com. IN NS ns2.domain1.com.
ns1.domain1.com. IN A xxx.xx.xx.32
ns2.domain1.com. IN A xxx.xx.xx.33
mta1.domain1.com. IN A xxx.xx.xx.33
mta2.domain1.com. IN A xxx.xx.xx.34
mta3.domain1.com. IN A xxx.xx.xx.35
mta4.domain1.com. IN A xxx.xx.xx.36
mta5.domain1.com. IN A xxx.xx.xx.37
mta6.domain1.com. IN A xxx.xx.xx.38
mta7.domain1.com. IN A xxx.xx.xx.39
mta8.domain1.com. IN A xxx.xx.xx.40
mta9.domain1.com. IN A xxx.xx.xx.41
mta10.domain1.com. IN A xxx.xx.xx.42
mta11.domain1.com. IN A xxx.xx.xx.43
|
Thanks