I cannot to
nslookup to this machine
vm1 that has the ip
ferrari which has the ip
184.108.40.206. I do not know why, but I am able to ssh to the
192.168.56.2 from my host machine. Iptables is disabled for testing purposes on
220.127.116.11. I can also perform reverse lookups for
vm1, but I cannot do forward lookups using a hostname.
[root@ferrari ~]# nslookup vm1 192.168.56.2 ;; connection timed out; trying next origin ;; connection timed out; trying next origin ;; connection timed out; no servers could be reached ssh: connect to host 192.168.56.2 port 22: Connection refused
[root@vm1 ~]# nslookup ferrari 18.104.22.168 Server: 22.214.171.124 Address: 126.96.36.199#53 Name: ferrari.luxury.auto.ops Address: 188.8.131.52 [root@vm1 ~]# nslookup 184.108.40.206 Server: 192.168.56.2 Address: 192.168.56.2#53 Non-authoritative answer: 220.127.116.11.in-addr.arpa name = ferrari.luxury.auto.ops. Authoritative answers can be found from: 20.45.172.in-addr.arpa nameserver = ferrari.luxury.auto.ops. ferrari.luxury.auto.ops internet address = 18.104.22.168 [root@vm1 ~]# host 22.214.171.124 126.96.36.199.in-addr.arpa domain name pointer ferrari.luxury.auto.ops.