Can't run Dnsmasq via command line
I am unable to install Dnsmasq via command line, this error is shown :
Package dnsmasq is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from a nother source.
However the following packages replace it : dnsmasq-base.
E: Package 'dnsmasq' has no installation candidate.
Searching in the Ubuntu store, I can find and install It, but I don't find the dnsmasq.conf file in /etc/... Besides, typing
apt list dns
does not show dnsmasq at all, only dnsmasq-base.
Moreover, if I type :
sudo dnsmasq
Then, I got an other error message :
dnsmasq : failed to create listening socket for port 53: address already in use
I am on a fresh install of Ubuntu 18.04 and only want to set up a DHCP and DNS server to bypass the loopback restriction of my actual internet provider... I have already tried many things such as disabling dnsmasq-base but did not work...
dns dhcp dnsmasq
add a comment |
I am unable to install Dnsmasq via command line, this error is shown :
Package dnsmasq is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from a nother source.
However the following packages replace it : dnsmasq-base.
E: Package 'dnsmasq' has no installation candidate.
Searching in the Ubuntu store, I can find and install It, but I don't find the dnsmasq.conf file in /etc/... Besides, typing
apt list dns
does not show dnsmasq at all, only dnsmasq-base.
Moreover, if I type :
sudo dnsmasq
Then, I got an other error message :
dnsmasq : failed to create listening socket for port 53: address already in use
I am on a fresh install of Ubuntu 18.04 and only want to set up a DHCP and DNS server to bypass the loopback restriction of my actual internet provider... I have already tried many things such as disabling dnsmasq-base but did not work...
dns dhcp dnsmasq
You probably havesystemd-resolvedinstalled as a replacement fordnsmasq. See here about how to avoid conflicts.
– Jos
Feb 28 at 9:55
See this as it may help to start : askubuntu.com/questions/1032450/…
– cmak.fr
Feb 28 at 9:55
I can't even install dnsmasq on my PC but thank for helping !
– Jungack
Feb 28 at 13:08
add a comment |
I am unable to install Dnsmasq via command line, this error is shown :
Package dnsmasq is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from a nother source.
However the following packages replace it : dnsmasq-base.
E: Package 'dnsmasq' has no installation candidate.
Searching in the Ubuntu store, I can find and install It, but I don't find the dnsmasq.conf file in /etc/... Besides, typing
apt list dns
does not show dnsmasq at all, only dnsmasq-base.
Moreover, if I type :
sudo dnsmasq
Then, I got an other error message :
dnsmasq : failed to create listening socket for port 53: address already in use
I am on a fresh install of Ubuntu 18.04 and only want to set up a DHCP and DNS server to bypass the loopback restriction of my actual internet provider... I have already tried many things such as disabling dnsmasq-base but did not work...
dns dhcp dnsmasq
I am unable to install Dnsmasq via command line, this error is shown :
Package dnsmasq is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from a nother source.
However the following packages replace it : dnsmasq-base.
E: Package 'dnsmasq' has no installation candidate.
Searching in the Ubuntu store, I can find and install It, but I don't find the dnsmasq.conf file in /etc/... Besides, typing
apt list dns
does not show dnsmasq at all, only dnsmasq-base.
Moreover, if I type :
sudo dnsmasq
Then, I got an other error message :
dnsmasq : failed to create listening socket for port 53: address already in use
I am on a fresh install of Ubuntu 18.04 and only want to set up a DHCP and DNS server to bypass the loopback restriction of my actual internet provider... I have already tried many things such as disabling dnsmasq-base but did not work...
dns dhcp dnsmasq
dns dhcp dnsmasq
asked Feb 28 at 9:47
JungackJungack
11
11
You probably havesystemd-resolvedinstalled as a replacement fordnsmasq. See here about how to avoid conflicts.
– Jos
Feb 28 at 9:55
See this as it may help to start : askubuntu.com/questions/1032450/…
– cmak.fr
Feb 28 at 9:55
I can't even install dnsmasq on my PC but thank for helping !
– Jungack
Feb 28 at 13:08
add a comment |
You probably havesystemd-resolvedinstalled as a replacement fordnsmasq. See here about how to avoid conflicts.
– Jos
Feb 28 at 9:55
See this as it may help to start : askubuntu.com/questions/1032450/…
– cmak.fr
Feb 28 at 9:55
I can't even install dnsmasq on my PC but thank for helping !
– Jungack
Feb 28 at 13:08
You probably have
systemd-resolved installed as a replacement for dnsmasq. See here about how to avoid conflicts.– Jos
Feb 28 at 9:55
You probably have
systemd-resolved installed as a replacement for dnsmasq. See here about how to avoid conflicts.– Jos
Feb 28 at 9:55
See this as it may help to start : askubuntu.com/questions/1032450/…
– cmak.fr
Feb 28 at 9:55
See this as it may help to start : askubuntu.com/questions/1032450/…
– cmak.fr
Feb 28 at 9:55
I can't even install dnsmasq on my PC but thank for helping !
– Jungack
Feb 28 at 13:08
I can't even install dnsmasq on my PC but thank for helping !
– Jungack
Feb 28 at 13:08
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1121922%2fcant-run-dnsmasq-via-command-line%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1121922%2fcant-run-dnsmasq-via-command-line%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You probably have
systemd-resolvedinstalled as a replacement fordnsmasq. See here about how to avoid conflicts.– Jos
Feb 28 at 9:55
See this as it may help to start : askubuntu.com/questions/1032450/…
– cmak.fr
Feb 28 at 9:55
I can't even install dnsmasq on my PC but thank for helping !
– Jungack
Feb 28 at 13:08