I have some problems with .hr domains (croatian domain) and I think I've messed up DNS records.

For example: jelisavacwlan.hr work ok, but centartepiha.hr sometimes get unaccessible (even ping doesn't work).

Even now (at time of writing) centartepiha.hr is not accessible and looking on access log on server there is no request coming in port 80.

The bind9 service is working just fine and answering every request.

Server has domain (gamuru.com) and has defined a host as ns1.gamuru.com. NS2 is on ns0.xname.org.


A         @  =>
CNAME     *  =>  @
CNAME     ftp  =>  @
CNAME     www  =>  @
NS        @ =>  ns1.gamuru.com
NS        @ =>  ns65.domaincontrol.com 

(more info here about gamuru.com here )

DNS record on gamuru:

type name               Data    Prio    TTL 
A   centartepiha.hr.  0   3600    
A   mail    0   3600    
A   www  0   3600    
MX  centartepiha.hr.    mail.centartepiha.hr.   10  3600    
NS  centartepiha.hr.    ns1.gamuru.com. 0   3600    
NS  centartepiha.hr.    ns1.xname.org.  0   86400   
NS  centartepiha.hr.    ns0.xname.org.  0   3600

DNS record on xname:

centartepiha.hr.        IN  SOA ns0.xname.org.  9a3bsp.gmail.com. (
                2013101001  ; serial
                10800   ; Refresh period
                3600    ; Retry interval
                604800  ; Expire time
                10800   ; Negative caching TTL

$ORIGIN centartepiha.hr.
            IN      NS      ns1.gamuru.com.
            IN      NS      ns1.xname.org.
            IN      NS      ns0.xname.org.
            IN      NS      ns2.xname.org.
centartepiha.hr.            IN      A

What am I doing wrong? Or whole setup is just wrong?

  1. When you query TLD servers for .hr name servers, 4 answers are returned:
;; AUTHORITY SECTION (4  records)
hr.   172800  IN  NS  sns-pb.isc.org.
hr.   172800  IN  NS  ns5.univie.ac.at.
hr.   172800  IN  NS  n3ns.nic.es.
hr.   172800  IN  NS  hr-ns-1.carnet.hr.

That is fine, so let's check the first one (all 4 will respond with the same answer):

hr-ns-1.carnet.hr returns two name servers for doman centartepiha.hr

;; AUTHORITY SECTION (2  records)
centartepiha.hr.  14440   IN  NS  ns1.gamuru.com.
centartepiha.hr.  14440   IN  NS  ns1.xname.org.

Let's check ns1.gamuru.com for www.centartepiha.hr first:

;; ANSWER SECTION (1  record)
www.centartepiha.hr.  3600    IN  A

That is OK, and that is why centartepiha.hr sometimes works

Let's check ns1.xname.org for www.centartepiha.hr:

;; QUESTION SECTION: ;www.centartepiha.hr.           IN      A

;; AUTHORITY SECTION: centartepiha.hr.        86400   IN      SOA    
ns0.xname.org. 9a3bsp.gmail.com. 2013100401 10800 3600 604800 10800

No answer here. You should add A record for www.centartepiha.hr on ns1.xname.org.

Other than that, ns1.gamuru.com is configured as NS for gamuru.com domain, but the query for gamuru.com @ is refused (luckily ns66.domaincontrol.com responds fine), you should fix this also.

www.dnsstuff.com and dns.squish.net will give you a lot of valuable info.

EDIT: If you are only looking to resolve centartepiha.hr (without www), you just have to fix ns1.gamuru.com


The following name servers do not return A record

dig A centartepiha.hr @ns65.domaincontrol.com +short

Returns no record

The following ones are OK:

dig A centartepiha.hr @ns0.xname.org +short
dig A centartepiha.hr @ns1.gamuru.com +short
dig A centartepiha.hr @ns1.xname.org +short

All above return:

Add a record for domain in the name server domaincontrol.com

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.