• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Please help with DNS Setup

S

SilasO

Guest
I need help with my DNS setup.
Am on plesk 10.1.1 / centOS 5
4 IP addresses, let's say
192.168.209.197 - server main IP
192.168.209.199
192.168.30.200
192.168.30.203

I assigned 192.168.30.200 to ns1.main-domain.tv & ns3.main-domain.tv
and 192.168.30.203 to ns2.main-domain.tv & ns4.main-domain.tv

This is my current DNS template on Plesk panel

<domain>. NS ns1.main-domain.tv.
<domain>. NS ns2.main-domain.tv.
<domain>. NS ns3.main-domain.tv.
<domain>. NS ns4.main-domain.tv.
<domain>. A <ip>
<domain>. MX (10) mail.<domain>.
<ip> / 24 PTR <domain>.
ftp.<domain>. A <ip>
mail.<domain>. A <ip>
webmail.<domain>. A <ip>

So I added the domain (main-domain.tv on 192.168.209.197) to the plesk panel.
Now on the subcription panel(SMB) for the domain main-domain.tv, I added 2 more domains to that they can point to the same directory as main-domain.tv, as in
other-domain.mobi - pointing to /httpdocs/mobile
other-domain.fm - pointing to /httpdocs/radio
and a subdomain admin.main-domain.tv - pointing to /httpdocs/adminpage

On the domain panel(SMB), the primary/master DNS looks like this:

*.webmail.main-domain.tv. A 192.168.209.197
192.168.209.197 / 24 PTR server.main-domain.tv.
192.168.209.199 / 24 PTR server.main-domain.tv.
192.168.30.200 / 24 PTR ns1.main-domain.tv.
192.168.30.203 / 24 PTR ns2.main-domain.tv.
ftp.main-domain.tv. A 192.168.209.197
mail.main-domain.tv. A 192.168.209.197
manage.main-domain.tv. A 192.168.209.197
ns1.main-domain.tv. A 192.168.30.200
ns2.main-domain.tv. A 192.168.30.203
ns3.main-domain.tv. A 192.168.30.200
ns4.main-domain.tv. A 192.168.30.203
server.main-domain.tv. A 192.168.209.197
server.main-domain.tv. A 192.168.209.199
main-domain.tv. NS ns1.main-domain.tv.
main-domain.tv. NS ns2.main-domain.tv.
main-domain.tv. NS ns3.main-domain.tv.
main-domain.tv. NS ns4.main-domain.tv.
main-domain.tv. A 192.168.209.197
main-domain.tv. MX (10) mail.main-domain.tv.
webmail.main-domain.tv. A 192.168.209.197
www.main-domain.tv. CNAME main-domain.tv.

The problem am having is that only main-domain.tv works whilst others, including subdomains point to the server default template.

Also any domain pointing to the ns1, ns2, ns3 & ns4 will show server default even if not hosted on the server.

the DNS for the other domains under main-domain.tv smb panel, that is, other-domain.mobi & other-domain.fm looks like this

*.webmail.other-domain.mobi. CNAME other-domain.mobi.
192.168.209.199 / 24 PTR other-domain.mobi.
ftp.other-domain.mobi. A 192.168.209.199
mail.other-domain.mobi. A 192.168.209.199
other-domain.mobi. NS ns1.main-domain.tv.
other-domain.mobi. NS ns2.main-domain.tv.
other-domain.mobi. NS ns3.main-domain.tv.
other-domain.mobi. NS ns4.main-domain.tv.
other-domain.mobi. A 192.168.209.199
other-domain.mobi. MX (10) mail.other-domain.mobi.
webmail.other-domain.mobi. A 192.168.209.199
www.other-domain.mobi. CNAME other-domain.mobi.


I added another subscription on 192.168.209.199 just to test and that works fine.

So, I don't know what i've done wrong...can someone please put me through cause I've been on dis for like 2 weeks
 
Back
Top