Jump to content
  • 0

ip host routing fail


programmistishko

Question

Hi, guys!

========== CASE 1

************ on keenetic
(config)> no ip host
Dns::Manager: Cleared all records.
(config)> ip host aaa.testmail.ru 192.168.1.100
Dns::Manager: Added static record for "aaa.testmail.ru", address 192.168.1.100.
 

*********** my laptop

$ nslookup aaa.mail.ru 192.168.1.1
Server:        192.168.1.1
Address:    192.168.1.1#53

Non-authoritative answer:
Name:    aaa.mail.ru
Address: 94.100.180.87
Name:    aaa.mail.ru
Address: 217.69.139.87

$  nslookup aaa.ail.ru 192.168.1.1
Server:        192.168.1.1
Address:    192.168.1.1#53

Non-authoritative answer:
aaa.ail.ru    canonical name = 2706909.sedoparking.com.
Name:    2706909.sedoparking.com
Address: 91.195.240.136

$  nslookup aaa.il.ru 192.168.1.1
Server:        192.168.1.1
Address:    192.168.1.1#53

Non-authoritative answer:
Name:    aaa.il.ru
Address: 37.187.83.72
Name:    aaa.il.ru
Address: 176.31.179.191

$  nslookup aaa.l.ru 192.168.1.1
Server:        192.168.1.1
Address:    192.168.1.1#53

** server can't find aaa.l.ru: NXDOMAIN

+++++ It's ok, as expected.

========== CASE 2

******* on keenetic

(config)> no ip host
Dns::Manager: Cleared all records.
(config)> ip host testmail.ru 192.168.1.100
Dns::Manager: Added static record for "testmail.ru", address 192.168.1.100.
(config)> ip host aaa.testmail.ru 192.168.1.100
Dns::Manager: Added static record for "aaa.testmail.ru", address 192.168.1.100.
(config)>

*********** my laptop

$ nslookup aaa.mail.ru 192.168.1.1
Server:        192.168.1.1
Address:    192.168.1.1#53

Non-authoritative answer:
Name:    aaa.mail.ru
Address: 192.168.1.100

$ nslookup aaa.ail.ru 192.168.1.1
Server:        192.168.1.1
Address:    192.168.1.1#53

Non-authoritative answer:
Name:    aaa.ail.ru
Address: 192.168.1.100

$ nslookup aaa.il.ru 192.168.1.1
Server:        192.168.1.1
Address:    192.168.1.1#53

Non-authoritative answer:
Name:    aaa.il.ru
Address: 192.168.1.100

$ nslookup aaa.l.ru 192.168.1.1
Server:        192.168.1.1
Address:    192.168.1.1#53

Non-authoritative answer:
Name:    aaa.l.ru
Address: 192.168.1.100

+++++++++ now,
aaa.mail.ru
aaa.ail.ru
aaa.il.ru
aaa.l.ru 

points to 192.168.1.100? )))))))

WTF, why? I wasted my evening why I understood what is going on.

  • ModelExtra (KN-1711)
  • OS version3.5.4
  • Auto-updateEnabled
  • Uptime00:13:52
  • Current time12/2/2020 14:51:13
  • CPU usage3%
  • RAM usage35% (45/128 Mbytes)


 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...