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:
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 126.96.36.199
;; Query time: 400 msec ;; SERVER: 188.8.131.52#53(184.108.40.206) ;; 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 (220.127.116.11): 56 data bytes
64 bytes from 18.104.22.168: icmp_seq=0 ttl=32 time=795.633 ms
$ host 22.214.171.124
126.96.36.199.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).