Secondary Nameserver Problem

gradal

Registered
Jan 5, 2007
4
0
151
Hi everybody,

thanks to all of you who contribute to this great forum!

I have a dedicated server with two IPs. xx.xx.xx.41 (main), xx.xx.xx.61 (secondary)
According to my ISP I'm supposed to use these two IPs for setting up primary and secondary nameservers.

After some configuration in WHM I can see that /etc/nameserverips now holds the following two lines:
xx.xx.xx.41=ns1.mydomain.se
xx.xx.xx.61=ns2.mydomain.se
I've set my host name to serv.mydomain.se
and set up a dns zone for mydomain.se like this:

@ 86400 IN SOA ns1.mydomain.se. martin.mydomain.se. (
2007010700
86400
7200
3600000
86400
)

mydomain.se. 86400 IN NS ns1.mydomain.se.
mydomain.se. 86400 IN NS ns2.mydomain.se.

mydomain.se. 1200 IN A 91.186.7.41

localhost.xx.se. 14400 IN A 127.0.0.1

mydomain.se. 14400 IN MX 0 mydomain.se.

mail 14400 IN CNAME mydomain.se.
www 14400 IN CNAME mydomain.se.
ftp 14400 IN A xx.xx.xx.41
serv 14400 IN A xx.xx.xx.41
ns1 14400 IN A xx.xx.xx.41
ns2 14400 IN A xx.xx.xx.61


For some reason when I try to update the records (glued with A and NS) at my registrar it doesn't seem to find my secondary nameserver.
Here's the automated email response I keep getting:

Server xx.xx.xx.61 not authorative for mydomain.se
SOA serial mismatch
NS ns2.mydomain.se not found in zone (xx.xx.xx.61)
NS ns1.mydomain.se not found in zone (xx.xx.xx.61)
No glue A record found for ns2.mydomain.se (xx.xx.xx.61).
No glue A record found for ns2.mydomain.se (xx.xx.xx.61).
Does anybody know what could be wrong in my setup?

Thanks for taking your time!
-Martin
 

gradal

Registered
Jan 5, 2007
4
0
151
Just after. Do you think that could be the problem?

In that case isn't it strange that it only mentions the secondary nameserver IP?

I have a feeling I'm missing some configuration..
 

gradal

Registered
Jan 5, 2007
4
0
151
I don't know. Are there specific zone files for the second nameserver, dispite running on the same machine?
 

gradal

Registered
Jan 5, 2007
4
0
151
I just noticed that I don't have any "slave" zones in my /etc/named.conf

should there be something in there pointing xx.xx.xx.61 or ns2.mydomain.se to a new zone.

Sorry if I'm throwing out too uneducated questions...