On 17.3.2018 г. 09:20 ч., Peter J. Philipp wrote:
On Fri, Mar 16, 2018 at 10:40:37PM +0200, Ivo Chutkin wrote:
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...
Make sure you don't deviate from the spelling of the zone. Ie. a
"propervod.com" in the zone conf declaration and vs. a "proprevod.com" in
the zonefile itself. There is a log that you provided that has both
spelling. I believe that would be it. If not show me your config file as
well.
Also try not to combine the A for proprevod.com. that you have in your zone
file with the @, otherwise it's confusing for any reader.
Regards,
-peter
Thanks a lot Peter,
It was this typing mistake I could not see.
Everything works now.
Have a nice weekend!
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