Hello,
I use a MacOs 10.15.7. I have a virtuabox VM, with a DNS service up (on LAN, 192.168.0.3). DNS service is up and responds from the Mac shell :
# dig @192.168.0.3 <DOMAIN>
[...]
;; ANSWER SECTION:
<DOMAIN>. 0 IN A 192.168.0.3
I added the VM DNS into "System Preferences" / "Network" (Wi-Fi network). I also added the DNS to /etc/resolv.conf (from Mac shell).
From the shell :
# ping <DOMAIN>
ping: cannot resolve <DOMAIN>: Unknown host
I flushed the cache (from Mac shell) :
# sudo killall -HUP mDNSResponder; sudo killall mDNSResponderHelper; sudo dscacheutil -flushcache
... without result.
But :
# networksetup -getdnsservers Wi-Fi
returns the VM DNS.
It doesn't work from a browser either (domain not found).
Any ideas ?
I use a MacOs 10.15.7. I have a virtuabox VM, with a DNS service up (on LAN, 192.168.0.3). DNS service is up and responds from the Mac shell :
# dig @192.168.0.3 <DOMAIN>
[...]
;; ANSWER SECTION:
<DOMAIN>. 0 IN A 192.168.0.3
I added the VM DNS into "System Preferences" / "Network" (Wi-Fi network). I also added the DNS to /etc/resolv.conf (from Mac shell).
From the shell :
# ping <DOMAIN>
ping: cannot resolve <DOMAIN>: Unknown host
I flushed the cache (from Mac shell) :
# sudo killall -HUP mDNSResponder; sudo killall mDNSResponderHelper; sudo dscacheutil -flushcache
... without result.
But :
# networksetup -getdnsservers Wi-Fi
returns the VM DNS.
It doesn't work from a browser either (domain not found).
Any ideas ?
Last edited: