码迷,mamicode.com
首页 > 其他好文 > 详细

Running your own dnsmasq with libvirtd

时间:2014-07-16 18:18:01      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:http   os   art   for   linux   re   

Running your own dnsmasq with libvirtd

On linux host servers, libvirtd uses dnsmasq to service the virtual networks, such as the default network. A new instance of dnsmasq is started for each virtual network, only accessible to guests in that specific network.

If you are running your own "global" dnsmasq, then this can cause your own dnsmasq to fail to start (or for libvirtd to fail to start its dnsmasq and the given virtual network). This happens because both instances of dnsmasq might try to bind to the same port number on the same network interfaces.

You have to change the global /etc/dnsmasq.conf as follows:

Either:

interface=eth0

or

listen-address=192.168.0.1

(Replace interface or listen-address with the interfaces or addresses you want your global dnsmasq to answer queries on).

And uncomment this line to tell dnsmasq to only bind specific interfaces, not try to bind all interfaces:

bind-interfaces

Retrieved from "http://wiki.libvirt.org/page/Libvirtd_and_dnsmasq"

Running your own dnsmasq with libvirtd,布布扣,bubuko.com

Running your own dnsmasq with libvirtd

标签:http   os   art   for   linux   re   

原文地址:http://www.cnblogs.com/popsuper1982/p/3845410.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!