cpanel to da : none of the sites work after migration

raghav

Verified User
Joined
Sep 8, 2011
Messages
26
Hi,

Installed da on a new server.

created reseller package.

transfered main reseller account first.

restored all user accounts next.

created name servers(ns1/ns2) with server ip.

changed custom name servers ips at registrar to point to new da server.

All sites went offline!

disabled csf. restarted named service. checked service status. everything is ok.

But, none of the sites and name servers ping. ( server fqd and ips do ping fine )

Tried opening a support ticket at DA, but cant as my license is internal license.

Please help.
 

raghav

Verified User
Joined
Sep 8, 2011
Messages
26
I used following docs for setup..

https://help.directadmin.com/item.php?id=689
https://help.directadmin.com/item.php?id=387

My domain registrar do support single ips for multiple name servers.

Intodns says that parent servers are returning correct ns ips. But everything else fails..

https://intodns.com/starvpshosting.com

Code:
Nameserver records returned by the parent servers are:
ns1.starvpshosting.com.   ['139.99.71.182']   [TTL=172800]
ns2.starvpshosting.com.   ['139.99.71.182']   [TTL=172800]
netstat says named is listening correctly..

Code:
# netstat -lnp | grep named
tcp        0      0 51.79.128.110:53        0.0.0.0:*               LISTEN      18908/named
tcp        0      0 139.99.71.182:53        0.0.0.0:*               LISTEN      18908/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      18908/named
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      18908/named
udp        0      0 51.79.128.110:53        0.0.0.0:*                           18908/named
udp        0      0 139.99.71.182:53        0.0.0.0:*                           18908/named
udp        0      0 127.0.0.1:53            0.0.0.0:*                           18908/named
This is NOT set in named.conf : allow-query { localhost; };
full named.conf file : https://pastebin.com/raw/WyiGSELa

Output from cat starvpshosting.com.db.org is at :
https://pastebin.com/raw/k44KgN17

Both iptables/firewalld NOT installed
https://pastebin.com/raw/DZWjFvsZ

# cat /etc/selinux/config

selinux is disabled..

Code:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three two values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted
After everything.. still my name servers dont work!

please help.
 
Top