问题
I am new to BIND, and thought I had a grip on DNS, but obviously I was mistaken.
BIND is installed on Windows Server 2008 Web
- I created a zone (
example.com
) with Dyn. - I registered the domain for that zone successfully, using the Dyn nameservers
- I created two subdomains (A records) on the Dyn zone:
ns1.example.com
andns2.example.com
- Each subdomain points to a unique IP, bound to my server where BIND is listening
When I query ns1.example.com
with nslookup
, for the a new domain I created on that webserver, it returns ns1
with its ip, but gives the following error:
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to ns1.example.com timed-out
If I run nslookup
on the webserver itself, with the same query, I get:
> example.com
Server: ns1.example.com (which is the slected nameserver)
Address: xx.xx.xx.xx
Name: example.com
Address: xx.xx.xx.xx
It might be worth mentioning, that the Webserver is located in the UK, and I am located in South Africa.
My registrar, in South Africa, returns the following when I try to register domainxyz.example
:
The SOA record for domainxyz.example at xxx.xxx.xxx.xxx can not be retreived. The most common reasons for this is that the Nameserver is not currently reachable or the Nameserver has not been configured for this domain.
I can ping and resolve ns1
and ns2
from my pc, where the nslookup
fails.
回答1:
After a long discussion with myself, and curiously reviewing my post... I decided I must be really burnt out.. and I opened UDP port 53 on my windows firewall on the server.
Tadaaa.....works!
Sometimes it helps bouncing something off someone, even if its a lonely sunday night web page /forum.
Maybe this helps someone else in the future. This whole new web server commisioning has so many aspects to configure, and I lost site of the basics.
Cheers, and thanks..!
来源:https://stackoverflow.com/questions/11925338/bind-registrar-says-it-cant-find-the-nameserver-nslookup-shows-the-domain-is