Web Hosting Talk







View Full Version : .it domain, whats wrong with this nameserver?


protector330
04-15-2002, 10:43 AM
hi, I've a strange problem... one of my customers asked me to register a new .it domain and I've added a zone file like this:


$ttl 38400
@ IN SOA customersdomain.it. dns.myserver.com. (
1919967899
86400
3600
604800
86400 )
IN NS ns1.myserver.com.
IN NS ns2.myserver.com.
IN MX 10 customersdomain.it.
IN A xxx.xx.xxx.221
www IN CNAME customersdomain.it.


now I've received an email from the italian registrar telling me he is unable to register this domain because:

> > DNSCHECK [NS1.MYSERVER.COM]: FAILED
> >
> > Using domain server xxx.xx.xxx.99:
> > Trying null domain
> > rcode = 0 (Success), ancount=5
> > CUSTOMERSDOMAIN.IT 38400 IN SOA CUSTOMERSDOMAIN.IT dns.myserver.com(
> > 1917067899 ;serial (version)
> > 10800 ;refresh period
> > 3600 ;retry interval
> > 432000 ;expire time
> > 38400 ;default ttl
> > )
> > CUSTOMERSDOMAIN.IT 38400 IN NS ns2.myserver.com
> > CUSTOMERSDOMAIN.IT 38400 IN NS ns1.myserver.com
> > CUSTOMERSDOMAIN.IT 38400 IN MX 10 CUSTOMERSDOMAIN.IT
> > CUSTOMERSDOMAIN.IT 38400 IN A xxx.xx.xxx.221
> >
> >
> >
> > *ERROR*: The nameserver indicated in the SOA record, i.e. the primary
> > nameserver, should be the first value of the nserver tag
> > in the application template.
> >
> > *ERROR*: The primary nameserver indicated in the SOA record
> > should have an associated NS record


is somebody of you able what's wrong? I can't really understand what this error means... :confused:

thanks a lot for your help!

P.S. this line of the registrars check is correct, it reflects the real IP address of my NS1 ( > > Using domain server xxx.xx.xxx.99 )

ToastyX
04-15-2002, 10:55 AM
The first field of the SOA record should be the primary name server.

What you have:
@ IN SOA customersdomain.it. dns.myserver.com.

What it should be according to your example:
@ IN SOA ns1.myserver.com. dns.myserver.com.

See if that helps.

protector330
04-16-2002, 02:38 AM
thanx... is this the reason for having:

Tue Apr 16 07:04:33 UTC 2002
customersdomain.it NS NS2.myserver.com
customersdomain.it dns.myserver.com (1617063796 10800 3600 432000 38400)
!!! customersdomain.it SOA primary customersdomain.it is not advertised via NS
!!! customersdomain.it SOA expire is less than 1 week (5 days)
customersdomain.it NS NS1.myserver.com
customersdomain.it dns.myserver.com (1617063796 10800 3600 432000 38400)

any help? how can i fix that?

protector330
04-16-2002, 11:01 AM
I'm so confused now... could somebody please tell me if what I'm doing is right?

When my new customer called me I did:

1) add a line like this in my named.conf

zone "customersdomain.it" IN {
type master;
file "customersdomain.it.hosts";
};


2) I did create a file "customersdomain.it.hosts" containing:

$ttl 38400
@ IN SOA customersdomain.it. dns.myserver.com. (
1919967899
86400
3600
604800
86400 )
IN NS ns1.myserver.com.
IN NS ns2.myserver.com.
IN MX 10 customersdomain.it.
IN A xxx.xx.xxx.221
www IN CNAME customersdomain.it.


Now I'm wondering if... this steps are correct. If yes, do I always have to write:

@ IN SOA customersdomain.it. dns.myserver.com. (
or
@ IN SOA ns1.myserver.com. dns.myserver.com. (


Thanks a lot for your help!!