Running your own dnsmasq with libmongod

Source: Internet
Author: User
Running your own dnsmasq with libmongod

On Linux host servers, libmongod 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 libmongod 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. confAs 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 ).

AndUncomment 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"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.