************ 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.
(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)>
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.
Question
programmistishko
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.
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.