Discussion:
Error parsing file
BARAJAS BERMEJO, Sergio
2018-09-12 18:22:22 UTC
Permalink
Hi,

I have this zone file:


$TTL 2d
@ IN SOA sergiobarajas (
17 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
;
IN NS ns1.hosting.com.
IN NS ns2.hosting.com.
;-------- Registro MX ------------------------
IN MX 10 sergiobarajas.select.hosting.com.
sergiobarajas IN A 31.193.228.53
sb1 IN A 31.193.228.52
sb2 IN A 31.193.228.53

$ORIGIN sergiobarajas.select.hosting.com.
;-------Servidores de Dominio
sergiobarajas.select.hosting.com. IN NS sb1.select.hosting.com.
sergiobarajas.select.hosting.com. IN NS sb2.select.hosting.com.
;-------- Registro MX --------------------------
; Nombre clase MX preferencia Host
IN MX 10 mail.sergiobarajas.select.hosting.com.


When I do "named-checkzone select.hosting.com db.thisfile"


It outputs this error:


dns_rdata_fromtext: db.thisfile:7: near eol: unexpected end of input
zone select.hosting.com/IN: loading from master file db.thisfile failed: unexpected end of input
zone select.hosting.com/IN: not loaded due to errors.

What is wrong?

Thanks


-

Sergio Barajas Bermejo

Técnico de sistemas


Plaza Biribila, 4, 48001 Bilbo, Bizkaia

email : ***@econocom.com

web : www.econocom.com<http://www.econocom.com/>



[Logo_ECONOCOM_BD]


Advertencia legal: La información que figura en la presente comunicación y que la acompaña puede ser de naturaleza confidencial o bien estar sujeta a normas de confidencialidad legal o a protecciones relativas a su divulgación. Tiene por único objeto su utilización por parte del receptor a quien está destinada. Si usted no es el destinatario de la presente comunicación, rogamos eliminar y destruir todos los ejemplares de ésta que se encuentren en su poder, avisándole al remitente que la recibió por error. Queda expresamente prohibido examinar o difundir la presente comunicación o ejecutar actos en base a la misma.

Disclaimer: The information contained in and accompanying this communication may be confidential, subject to legal privilege, or otherwise protected from disclosure, and is intended solely for the use of the intended recipient(s). If you are not the intended recipient of this communication, please delete and destroy all copies in your possession, notify the sender that you have received this communication in error, and note that any review or dissemination of, or the taking of any action in reliance on, this communication is expressly prohibited.
Anand Buddhdev
2018-09-12 19:42:33 UTC
Permalink
On 12/09/2018 20:22, BARAJAS BERMEJO, Sergio wrote:

Hi Sergio,

> $TTL 2d
> @ IN SOA sergiobarajas (
> 17 ; Serial
> 604800 ; Refresh
> 86400 ; Retry
> 2419200 ; Expire
> 86400 ) ; Negative Cache TTL

Your SOA record is incomplete. The SOA record's RDATA section needs 7
elements, the first two of which are the MNAME (master name server) and
RNAME (responsible person). Your SOA record only has one of those
elements, "sergiobarajas".
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
BARAJAS BERMEJO, Sergio
2018-09-12 20:42:48 UTC
Permalink
Hi,

It's solved!! thanks

😊

________________________________
De: Anand Buddhdev <***@ripe.net>
Enviado: miércoles, 12 de septiembre de 2018 21:42
Para: BARAJAS BERMEJO, Sergio; bind-***@lists.isc.org
Asunto: Re: Error parsing file

On 12/09/2018 20:22, BARAJAS BERMEJO, Sergio wrote:

Hi Sergio,

> $TTL 2d
> @ IN SOA sergiobarajas (
> 17 ; Serial
> 604800 ; Refresh
> 86400 ; Retry
> 2419200 ; Expire
> 86400 ) ; Negative Cache TTL

Your SOA record is incomplete. The SOA record's RDATA section needs 7
elements, the first two of which are the MNAME (master name server) and
RNAME (responsible person). Your SOA record only has one of those
elements, "sergiobarajas".
BARAJAS BERMEJO, Sergio
2018-09-12 20:31:49 UTC
Permalink
I'm sorry,

The data that I have posted is not real.

It is an example, I can't suppose that hosting.com is a real domain.

I promise you, that i will be more careful


________________________________
De: Rob Foehl <***@loonybin.net>
Enviado: miércoles, 12 de septiembre de 2018 22:07
Para: BARAJAS BERMEJO, Sergio
Asunto: Re: Error parsing file

On Wed, 12 Sep 2018, BARAJAS BERMEJO, Sergio wrote:

> IN NS ns1.hosting.com.
> IN NS ns2.hosting.com.

I'm the operator of the infrastructure that happens to have these names,
and I'd appreciate it if you would stop posting a bunch of invalid noise
about them on a public list.

The example.com namespace exists for a reason.

-Rob
Continue reading on narkive:
Loading...