Unable to query the nameserver

Eivind Olsen eivind at aminor.no
Tue Oct 5 18:33:28 UTC 2010


--On 5. oktober 2010 20.20.02 +0200 Dotan Cohen <dotancohen at gmail.com> 
wrote:
> Yes, but it's only a connection. I don't see any output. That' me typing
> "helo":
>
> $ telnet 178.63.65.136 53
> Trying 178.63.65.136...
> Connected to 178.63.65.136.
> Escape character is '^]'.
> helo
> USER test
> ^C^C
> Connection closed by foreign host.

DNS isn't a clear-text protocol (unlike POP3, SMTP etc), so that's fine. It 
won't display a banner or anything.

>> From googling I see that I must start Bind with the -g option to
> enable logging, but I must be doing it wrong as it's still not
> logging:
># service named restart -g

The "-g" option is to get debug output. I doubt that works nicely with the 
"service" command. Running RedHat?
I don't have a RedHat system in front of me... but.. you could try:

# service named stop
# /usr/sbin/named -g

..and see if that works at all.

Regards
Eivind Olsen




More information about the bind-users mailing list