I recently bought a dedicated server from OVH and installed Centos 7 and Cpanel on it it seems there is problems with my BIND configuration because even BIND it self can not resolve its own IP address. and when i start bind,it starts but i saw these in log file:
Erros in /var/log/named:
07-Jun-2020 16:10:43.903 general: error: zone server-123.xyz/IN/internal: has no NS records
07-Jun-2020 16:10:43.903 general: error: zone server-123.xyz/IN/internal: not loaded due to errors.
07-Jun-2020 16:10:43.908 general: error: zone server-123.xyz/IN/external: has no NS records
07-Jun-2020 16:10:43.908 general: error: zone server-123.xyz/IN/external: not loaded due to errors.
my configurations is like below:
host name: s1.server-123.xyz
ns1: ns1.server-123.xyz
ns2: ns2.server-123.xyz
zonefile:
; cPanel first:88.0.6 (update_time):1591539730 Cpanel::ZoneFile::VERSION:1.3 hostname:s1.server-123.xyz latest:88.0.6
; Zone file for server-123.xyz
$TTL 14400
server-123.xyz. 86400 IN SOA ns1.server-123.xyz. root.s.server-123.xyz. (
2020060720 ;Serial Number
3600 ;refresh
1800 ;retry
1209600 ;expire
86400 )
server-123.xyz. 14400 IN A [redacted]
server-123.xyz. 14400 IN MX 0 server-123.xyz.
mail 14400 IN CNAME server-123.xyz.
www 14400 IN CNAME server-123.xyz.
ftp 14400 IN A [redacted]
server-123.xyz. 14400 IN TXT "v=spf1 +a +mx +ip4:[redacted] ~all"
default._domainkey 14400 IN TXT "v=DKIM1; k=rsa;p=****;
ns1 14400 IN A [redacted]
ns2 14400 IN A [redacted]
s1 14400 IN A [redacted]
Would you please help me understand what is the problem?
[Moderator note: removed IP addresses]
Erros in /var/log/named:
07-Jun-2020 16:10:43.903 general: error: zone server-123.xyz/IN/internal: has no NS records
07-Jun-2020 16:10:43.903 general: error: zone server-123.xyz/IN/internal: not loaded due to errors.
07-Jun-2020 16:10:43.908 general: error: zone server-123.xyz/IN/external: has no NS records
07-Jun-2020 16:10:43.908 general: error: zone server-123.xyz/IN/external: not loaded due to errors.
my configurations is like below:
host name: s1.server-123.xyz
ns1: ns1.server-123.xyz
ns2: ns2.server-123.xyz
zonefile:
; cPanel first:88.0.6 (update_time):1591539730 Cpanel::ZoneFile::VERSION:1.3 hostname:s1.server-123.xyz latest:88.0.6
; Zone file for server-123.xyz
$TTL 14400
server-123.xyz. 86400 IN SOA ns1.server-123.xyz. root.s.server-123.xyz. (
2020060720 ;Serial Number
3600 ;refresh
1800 ;retry
1209600 ;expire
86400 )
server-123.xyz. 14400 IN A [redacted]
server-123.xyz. 14400 IN MX 0 server-123.xyz.
mail 14400 IN CNAME server-123.xyz.
www 14400 IN CNAME server-123.xyz.
ftp 14400 IN A [redacted]
server-123.xyz. 14400 IN TXT "v=spf1 +a +mx +ip4:[redacted] ~all"
default._domainkey 14400 IN TXT "v=DKIM1; k=rsa;p=****;
ns1 14400 IN A [redacted]
ns2 14400 IN A [redacted]
s1 14400 IN A [redacted]
Would you please help me understand what is the problem?
[Moderator note: removed IP addresses]
Last edited by a moderator: