Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 07:36:27 -0800 (PST)
From:      Unga <unga888@yahoo.com>
To:        Ilya Kazakevich <kazakevichilya@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Bind99 stopped resolving for external queries
Message-ID:  <1353512187.68024.YahooMailNeo@web161902.mail.bf1.yahoo.com>
In-Reply-To: <CAHv=rM2EjsTGHtRwwfywrMyyrXhA8ON3UxFjV7-L%2BhsnHyAogg@mail.gmail.com>
References:  <1353498387.59705.YahooMailNeo@web161902.mail.bf1.yahoo.com> <CAHv=rM2EjsTGHtRwwfywrMyyrXhA8ON3UxFjV7-L%2BhsnHyAogg@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1353512187.68024.YahooMailNeo>