Guest: any Linux, CentOS7/8 first
I have a strange behaviour, and i do not want to assign static ip address to my machines, i want to keep dhcp assignment.
FROM GUEST MACHINE:
no problems, router is the assigned dhcp dns server (192.168.1.1)
FROM HOST MACHINE:
1) i can ping ip address of any Linux machine
2) i can't ping hostname of any Linux machine
Problem seems to be the dns. My host does not use router/gateway dns (192.168.1.1), but other dns servers (cloudflare, google, etc...), so i'm stuck here,
Code: Select all
---BAD---
C:\Windows\system32>nslookup centos
Server: one.one.one.one
Address: 1.1.1.1
Risposta da un server non autorevole:
Nome: centos.homenet.telecomitalia.it
Address: 127.0.0.1
C:\Windows\system32>ping centos
Esecuzione di Ping CentOS.homenet.telecomitalia.it [127.0.0.1] con 32 byte di dati: <-- bad resolution from 1.1.1.1
---GOOD---
C:\Windows\system32>nslookup centos 192.168.1.1
Server: modemtim.homenet.telecomitalia.it
Address: 192.168.1.1
Nome: centos.homenet.telecomitalia.it
Address: 192.168.1.30Thanks.