首页 > 其他 > 详细

Running your own dnsmasq with libvirtd

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

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://www.cnblogs.com/popsuper1982/p/3845410.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!