Bind99 stopped resolving for external queries
Unga
unga888 at yahoo.com
Wed Nov 21 15:36:35 UTC 2012
Hi IIya
Thank you for your reply.
>Hello,
>
>
>
>>>From my laptop if I ping the server:
>>ping www.mydoamin.com
>>ping: cannot resolve www.mydoamin.com: Host name lookup failure
>>
>>But if I log in to the server and do the same ping, it works fine.
>>
>>
>
>
>1) check your laptop is configured to work with this DNS server (cat /etc/resolv.conf on laptop or "ipconfig /all | findstr DNS" in case of windows )
My laptop and the server are in two different countries. Btw, laptop also run FreeBSD.
>2) check server is accessible (ping <YOUR_SERVER_IP> from laptop)
Yes, the server is accessible (ping <YOUR_SERVER_IP> from the laptop.
>3) check server is accessible via TCP/53 ("telnet <YOUR_SERVER_IP> 53" from your laptop)
No, there was a reverse DNS error here. It was pointing to the Reverse DNS server of the data centre.
Now its been corrected:
telnet <YOUR_SERVER_IP> 53
Trying <YOUR_SERVER_IP>...
Connected to ns1.mydomain.com.
Escape character is '^]'.
>4) check firewall on server and/or devices between server and laptop, it may block requests
No firewall on the server yet.
>5) check your server is configured to use the same DNS: cat /etc/resolv.conf
>
nameserver 127.0.0.1
nameserver other_ip1
nameserver other_ip2
Although the Reverse DNS is now been corrected, still cannot ping as from the laptop:
ping www.mydomain.com
ping: cannot resolve www.mydomain.com: Host name lookup failure
Any ideas?
Regards
Unga
More information about the freebsd-questions
mailing list