muguet icon indicating copy to clipboard operation
muguet copied to clipboard

dns-ip option not taken into account

Open greg0ire opened this issue 7 years ago • 0 comments

I'm using Ubuntu, and there is dnsmasq running already here. Not a problem I thought, I'll just listen on a specific IP, and forward calls ending with .docker to this ip, just like I did for dnsdock (the alternative to muguet I'm using right now).

Here is what I tried:

sudo -E bash -c 'muguet up --dns-ip=172.17.0.1'

But this produces the following message :

error:   Muguet DNS Server cannot listen on port 53
error:    Error: bind EADDRINUSE :::53
    at Object.exports._errnoException (util.js:870:11)
    at exports._exceptionWithHostPort (util.js:893:20)
    at dgram.js:213:18
    at nextTickCallbackWith3Args (node.js:452:9)
    at process._tickCallback (node.js:358:17)
    at Function.Module.runMain (module.js:444:11)
    at startup (node.js:136:18)
    at node.js:966:3

The fact that there is no IP address in the error message makes me think it is simply not taken into account. Using Muguet 1.6.1 .

I also tried writing the option name wrong :

sudo -E bash -c 'muguet up --dns-p=172.17.0.1'

This results in the same error message, so maybe options are simply not seen at all?

greg0ire avatar Aug 04 '16 13:08 greg0ire