[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: User mode networking with slirp on MacOs, setting host DNS server?
From: |
Narcis Garcia |
Subject: |
Re: User mode networking with slirp on MacOs, setting host DNS server? |
Date: |
Tue, 22 Jun 2021 07:26:43 +0200 |
__________
I'm using this dedicated address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should fix this against automated addresses collectors.
El 22/6/21 a les 0:59, Biff Eros ha escrit:
> Looking at this bug report:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625689
>
> There is this comment:
>
> mjt@tls.msk.ru wrote:
>
>> No the limitation isn't documented (yet), and it will be difficult
>> to fix too, or maybe not worth a trouble really. Two reasons.
>> First of all, user-mode networking is not suitable for anything
>> serious, you really want tap networking with bridges, which is
>> about 100 times faster and actually works (e.g. ICMP). Second,
>> the implementation is rather simplistic - for DNS it merely
>> forwards (like a NAT box) packets from guest to a nameserver
>> from host /resolv.conf - only one nameserver, because you can't
>> NAT to TWO destinations at once. So in order to fix that,
>> qemu has to become application-level proxy for DNS, instead
>> of a simple NAT "device".
>
> Unfortunately I'm on MacOs, and I don't want to be using resolv.conf.
> I want it to use a locally running dnsmasq instead. Can anyone point
> me to which bit of source I need to change to hard-code this to
> 127.0.0.1, or is that out of the question?
>
You should be able to point resolv.conf nameserver to your dnsmasq IP.