I have set up custom / private nameservers but I am still receiving an "Unknown host" error
$ ping ubookings.co.za
ping: cannot resolve ubookings.co.za: Unknown host
The whois query shows that the domain is registered with the relevant nameservers of ns1.uafrica.net and ns2.uafrica.net:
Whois for domain ubookings.co.za
If I query the nameserver directly using dig for that domain I get the expected response:
$ dig @ns1.uafrica.net ubookings.co.za
; <<>> DiG 9.7.3-P3 <<>> @ns1.uafrica.net ubookings.co.za ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23554 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION: ;ubookings.co.za. IN A
;; ANSWER SECTION: ubookings.co.za. 600 IN A 46.38.178.141
;; Query time: 400 msec ;; SERVER: 184.106.174.139#53(184.106.174.139) ;; WHEN: Tue Oct 30 11:48:27 2012 ;; MSG SIZE rcvd: 49
I also set up the reverse DNS on the nameservers to resolve to the host name i.e.
$ ping ns1.uafrica.net
PING ns1.uafrica.net (184.106.174.139): 56 data bytes
64 bytes from 184.106.174.139: icmp_seq=0 ttl=32 time=795.633 ms
Host lookup:
$ host 184.106.174.139
139.174.106.184.in-addr.arpa domain name pointer ns1.uafrica.net.
Finally the records ns1.uafrica.net and ns2.uafrica.net have been registered as nameservers on the domain management interface for the domain uafrica.net (which in this case is OpenSRS). This was done more than a week ago so it should not be a propagation issue.
Any guidance as to why the nameservers are not working when registering a domain would be very much appreciated (when registering the domain ubookings.co.za with these nameservers an error was received saying nameservers are not configured).