Displaying 8 results from an estimated 8 matches for "elementsaddress".
2014 Apr 10
2
Re: Changing dnsmasq DNS settings for virtual machines
...h the <forwarder> subelement of the <dns> element in the
>> network definition, e.g.:
>
>> <dns> <forwarder addr='1.2.3.4'/> </dns>
Nice, seems to work.
>> This is documented here:
>
>> http://www.libvirt.org/formatnetwork.html#elementsAddress
I actually was on that page, but I must have missed that bit...
> Which brings me to the next question: How to set the addn-hosts=
> for the libvirtd-dnsmasq in the xml file?
>
>> You do that with the <host> subelement of the <dns> element. An
>> example is at th...
2014 Apr 06
3
Changing dnsmasq DNS settings for virtual machines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi everyone,
maybe this is an old fart, but I cant get it to work.
I am running libvirt on a laptop, where a dnsmasq is already running
to delegate dns info for my local (not-public) network. My resolv.conf
(on the host) lists the system-dnsmasq as first server.
I had to set the listen-adress for the system-dnsmasq to 127.0.0.1 and
set
2020 Nov 11
2
DNS forwarding for guest domains on isolated network
Hi @all,
I'm having trouble to realize my use case and hope somebody could help me.
# Use case
For a home lab I want to deploy several guest domains. These domains
must not have a direct or NAT connection to the internet or my LAN. They
should only be able to reach my LAN and the internet through a proxy.
# What I've done
I've created the following virtual switch in isolated
2014 Apr 13
0
Re: Changing dnsmasq DNS settings for virtual machines
...rwarder> subelement of the <dns> element in the
>>> network definition, e.g.:
>>> <dns> <forwarder addr='1.2.3.4'/> </dns>
> Nice, seems to work.
>
>>> This is documented here:
>>> http://www.libvirt.org/formatnetwork.html#elementsAddress
> I actually was on that page, but I must have missed that bit...
>
>> Which brings me to the next question: How to set the addn-hosts=
>> for the libvirtd-dnsmasq in the xml file?
>>
>>> You do that with the <host> subelement of the <dns> element. An
&g...
2015 Feb 25
1
QuestiĆ³n about DNS config on dnsmasq
...hostname>ftp.debian.org</hostname>
</host>
</dns>
How i can add more hostnames with my network (net0) are still online...?
virsh net-update default add-last dns-host (for example, doesn't work)
and the official documentation @
http://libvirt.org/formatnetwork.html#elementsAddress
doesn't say more.
I test with <forwarder > but doesn't work
(192.168.10.100 is a dnsmasq outside libvirt control)
<network>
<name>net0</name>
<uuid>5a014735-f658-7a87-c7d4-e6b0f488c332</uuid>
<forward mode='nat'/>
<bridge name=&...
2014 Mar 14
1
How assign static ip using NAT?
Hi,
I have the following configuration in the xml of the guest. But if I
set a static ip on the guest, then the guest can not access the
outside network. I don't find an example on how to set a static IP
address for the guest. Could anybody know how to modify the following
xml code to do so? Thanks.
41 <interface type='network'>
42 <mac
2014 Apr 10
0
Re: Changing dnsmasq DNS settings for virtual machines
...ther than the one listed in /etc/resolv.conf with the
<forwarder> subelement of the <dns> element in the network definition, e.g.:
<dns>
<forwarder addr='1.2.3.4'/>
</dns>
This is documented here:
http://www.libvirt.org/formatnetwork.html#elementsAddress
There was a bug in libvirt for quite awhile that caused
locally-unresolved requests for hostnames in the domain given by the
network's <domain name='xyzzy'/> element to be dropped rather than
forwarded. Is that possibly the cause of your problems?
>
> I found lots of pages...
2020 Nov 11
0
Re: DNS forwarding for guest domains on isolated network
...Possibly that directive
to dnsmasq will make a "side run" around the restriction on forwarding.
(this can also have "domain='blah'" added, in which case it only
forwards requests for names within the 'blah' domain ).
https://libvirt.org/formatnetwork.html#elementsAddress
2) use a <forward mode='route'> network, but also add in nwfilter rules
that only allow traffic on the local network.
https://libvirt.org/formatnwfilter.html
3) again, use <forward mode='route'>, but also manually add a rule to
the host iptables that rejects all...