cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
80277
Views
162
Helpful
18
Replies

Disable "Translating ... Domain Server" Message - Actual Lookup

Alex Hamilton
Level 1
Level 1

Hello, 

I am having difficulty figuring out how to disable the translating message that is displayed on the console every time the router does an external DNS resolution. 

I am using Hurricane Electric's Tunnel Broker service, and due to having a dynamic WAN IP, I have to use the HTTP DynDNS update on my Cisco 1941. Part of that process is resolving the tunnelbroker domain to an IP address, and I get console messages EVERY time, and since I set the update to every 5 minutes, I get a lot of messages. I also find that unlike the rest of the messages that appear on their own line using the "logging synchronous" command, the dns ones tend to screw up my typing if I am working in the console at the same time. 

This is an example of the message: 

"Translating "ipv4.tunnelbroker.net"...domain server (206.248.154.22) (206.248.154.170)"

I have tried using "no logging console" as well as various other things, but the messages seems to appear no matter what I do. 

Any suggestions? 

18 Replies 18

zdesignstudio
Level 4
Level 4

conf t

no ip domain lookup

Please rate useful posts and mark answer as correct if applicable.

Please rate useful posts and mark answers as correct if applicable.

This is an interesting situation. The suggestion to disable domain lookup would seem on the surface to solve the question in the original post. If domain lookup is disabled then the message about translating would certainly not be generated. But if we look a bit more deeply the original post is indicating that they need the name resolution. They just want to eliminate the message on the console. So disabling domain lookup turns out to be counter productive.

I am surprised that no logging console did not stop the message. I would suggest that you might try setting the severity level for console logging at a level that would exclude the translating message. I do not remember the severity level for the translating message, but assuming that it is likely level 6 or maybe level 5 you might try setting the level for console messages to be level 4.

HTH

Rick

HTH

Rick

Correct, the first solution proposed may do exactly that, it will stop the message from appearing, however it will also break a lot of other things. 

Interestingly, the messages appear on the console even when I am not logged in. I can open Putty on the serial port and messages will start to appear on screen without ever having hit a single keystroke. 

It does this no matter what I seem to try. I have also as you suggested tried to amend the logging level to no avail. The messages seem to be out of phase with regular log messages, as they don't even show on my syslog server. 

It only seems to be doing it as part of DDNS, as I also use a hostname for NTP and that doesn't show any resolutions at all... 

Very strange indeed. 

It is in the nature of the console port of an IOS router that if a device is connected to the console port that messages are displayed on the device whether or not the device is logged in to the router. So what you describe about messages displayed even when you are not logged in is an expected behavior.

If the messages do not show on your syslog server then it suggests that your adjustment of severity levels might be working. Can you post all of the commands from your router that deal with logging? (show run | inc log)

HTH

Rick

HTH

Rick

It would also be helpful if you would post the first couple of pages of the output of show log

HTH

Rick

HTH

Rick

Hi All -

Looking at the command reference reveals that IOS has a DNS View by default, and it has it's own logging mechanism.  It looks like you can turn off the logging as follows:

ip dns view default
no logging

Command reference for DNS View

Command reference for DNS Logging

PSC

Hi Paul, 

Thanks for the suggestion, however I am still getting messages about the translation occurring. 

Alex, 

just for clarification: how are you connected to the router ? Line 2 is the TTY, is that the one you are using ?

I have attached a cleaned sh run as well as the logging in separate files. I am aware that certain outputs are always displayed, however I have never seen anything but boot sequence when not logged in to the console. 

Thanks for posting both files. Each of them shows that the messages sent to the console should be limited to notifications (and more severe). I do not see in the logging file any messages about the translation. It might be helpful to see some of those to verify what severity level they are.

I am curious about the messages that are included in the logging file. They appear to be informational level messages. Was the show logging command executed on a console session or on some other type of session?

HTH

Rick

HTH

Rick

Hello,

on a side note, configuring the console with 'transport preferred none' keeps the device from translating as well. Not sure if this has any impact in your situation, you might as well give it a try:

1941(config-line)#line con 0
1941(config-line)#transport preferred none

Yes, great !!!.

Kuldeep9
Level 1
Level 1

try ctrl+shift+6

Alan Ng'ethe
Level 3
Level 3

I wpuld try a logging synchronous or a term no mon.

Please do update this post with the solution if you found one.

Remember to rate helpful posts and/or mark as a solution if your issue is resolved.
Review Cisco Networking for a $25 gift card