Lỗi translating onf domain server 255.255.255.255 năm 2024

When you type an incorrect command in the CISCO IOS terminal/Cisco Packet Tracer you may come across such an issue as show below:

Lỗi translating onf domain server 255.255.255.255 năm 2024

To resolve this, use command “no ip domain-lookup” as shown below:

Router>enable

Router

configure terminal

Router(config)

no ip domain-lookup

Router(config)

exit

Finally, if you need to save the changes permanently, you can use the “write” command as shown below:

Im gonna start reviewing my cisco Material in case I am called for an interview.:) Its been about 6 months since I messed with packet tracer.

When I accidentally type a command wrong and get this error.

"Translating "\"...domain server (255.255.255.255)" How do I break this?

What keys do I hit to end this. I remember it was something like Shift + F6

“The Only way to do great work is to love what you do. If you haven't found it keep looking. Don't settle

If you ever been upset about error in Cisco network devices like “Translating … domain server” , well it seems your domain lookup configuration is enabled (by default is enabled).

The router/switches treats your command as a hostname, and attempts to make a telnet connection to that devices that is resolved from a Hostname to IP address by querying the DNS server.

Below are the examples

switch

abcd

Translating “abcd”…domain server (255.255.255.255) Translating “abcd”…domain server (255.255.255.255) % Unknown command or computer name, or unable to find computer address

You can get rid of above problems by following these steps:

Disabling domain lookup:

In certain cases, domain lookup is used by devices logging to lookup a hostname to call the telnet. If you often telnet by typing ip address then no need for domain lookup and you can disable it.

I often switch between Cisco IOS and Bash so I absentmindedly type ls into a IOS prompt and have to wait 30 seconds on this error:

Translating “ls”…domain server (255.255.255.255) % Unknown command or computer name, or unable to find computer address

To stop this, you can just press CTRL+Shift+6. But for more long-term fixes, see the options below:

Option 1: Stop router from starting connection without telnet keyword

router(config) 
# ip domain lookup 
router(config-line)
# line con 0
router(config-line)
# transport preferred none

Option 2: Shorten TCP Connection Timeout

router(config) 
# ip tcp synwait-time 10

This isn’t preferable as it can affect things like handshakes for Multicast/BGP

Option 3: Disable Domain Lookup:

router(config) 
# no ip domain lookup

I hesitate to recommend this one as it might affect the 1% of sites that need it. Also it stops DNS load-balancing, which I need in enterprise environments. You can also disable per session Domain Lookup like so:

Nhiều lúc mình đánh nhanh quá thành ra hay bị lỗi dưới chờ rất lâu mới làm lại được. Em thấy một anh nhấn phím tắt gì đó để kết thúc lệnh đánh sai này. Bác nào biết thì chỉ e với. THANK

Router>enale Translating "enale"...domain server (255.255.255.255)

  • Lỗi translating onf domain server 255.255.255.255 năm 2024
    Senior Member Guru
  • Join Date: Aug 2012
  • Posts: 376
    Khi bạn gõ câu lệnh sai router sẽ cố phân giải cái tên đó thành một địa chỉ IP. Để khắc phục điều này, bạn gõ câu lệnh sau: R(config)# no ip domain-lookup Bùi Quốc Kỳ Email: [email protected] Yahoo: buiquocky_vnpro --------------- Trung Tâm Tin Học VnPro Địa chỉ: 149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM Tel: (08) 35124257 (5 lines) Fax: (08) 35124314 Home page: http://www.vnpro.vn Support Forum: http://www.vnpro.org Network channel: http://www.dancisco.com
  • Chuyên đào tạo quản trị mạng và hạ tầng Internet
  • Phát hành sách chuyên môn
  • Tư vấn và tuyển dụng nhân sự IT
  • Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng
    
    
    Blog: http://www.vnpro.org/blog

    Wifi forum: http://www.wifipro.org

    Comment

Lỗi translating onf domain server 255.255.255.255 năm 2024

Senior Member

Guru

  • Join Date: Aug 2012
  • Posts: 376

Khi router đang trong quá trình phân giải, bạn có thể sử dụng tổ hợp phím Ctrl + Shift + 6 để hủy tiến trình phân giải DNS