It should be, here is the result:

~ # nsd-checkzone proprevod.com /var/nsd/zones/master/clients/proprevod.com
zone proprevod.com is ok

and nsd-checkconf does not return errors.

I am lost here...


On 16.3.2018 г. 21:35 ч., Stephane HUC "PengouinBSD" wrote:
Are you sure your zonefile is really good?

Have you tested with nsd-checkzone tool?
idem for your nsd config with nsd-checkconf tool?

Le 03/16/18 à 18:55, Ivo Chutkin a écrit :
Hi to all there,

I am running authoritative dns servers on 5.9 and nsd.

I add new domain but I got these errors:

Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:9: SOA
record with invalid domain name
Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:11: out of
zone data
Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:12: out of
zone data
Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:14: out of
zone data
Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:16: out of
zone data
Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:17: out of
zone data
Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:18: out of
zone data
Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:19: zone
configured as 'propervod.com' has no SOA record.
Mar 16 19:29:16 dns11 nsd[7480]: zone propervod.com file
master/clients/proprevod.com read with 8 errors

Domain is valid, dns records point to my dns servers (dns11.bg1.eu and
dns12.bg1.eu).

The zone file looks like this:

/var/nsd/zones/master # cat ./clients/proprevod.com

$ORIGIN proprevod.com.
$TTL 86400

@       3600    SOA     dns11.bg1.eu. support.bg1.eu. (
                         2018031601      ; serial
                         1800            ; refresh
                         7200            ; retry
                         1209600         ; expire
                         3600 )          ; negative

                 NS      dns11.bg1.eu.
                 NS      dns12.bg1.eu.

                 MX      0 mail.dih.bg.

www             A       91.235.248.25
proprevod.com.  A       91.235.248.25
mail            CNAME   mail.dih.bg.

What could be wrong here?

Exactly the same zone but with different TLD loads and work as it should.

The only problem I could imagine is that I added this zone before my
servers were authoritative for this domain.

I will appreciate your help.

Thanks,
Ivo




Reply via email to