Don't want Dnsmasq services

9 risposte [Ultimo contenuto]
GNUsercn
Offline
Iscritto: 10/13/2015

I don't want those unwanted services for me.

But....why does Dnsmasq bundle with Network-manager? (when I try to remove it , network manager is also removed as a whole.)

I know there are dependencies but are these two packages really interdependent, and why?

Sorry I was obsessive for my system and I know many of you guys so were

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

I believe that dependency allows to share your Internet connection (typically a laptop connected to Internet via ethernet and sharing the connection with other laptops via Wifi).

GNUsercn
Offline
Iscritto: 10/13/2015

Thanks.
But I make this done by just setting iptables on my very clean Debian
;)

And I don't need to enable a local hostname that needs DNS service.

ADFENO
Offline
Iscritto: 12/31/2012

Wow! An IPTables user!

That's somewhat interesting... How do you manage to use IPTables to
replace DNSMasq?

I'm a novice IPTables user. :D

Now, if you don't have time to, or don't want to, read why I was forced
to learn how to use IPTables, you can just stop reading now. :D

Otherwise, please read on.

I was forced to forget everything that I know about UFW, GUFW, and
FireStarter because a sick freak keeps sending pings of death (>= 65 KB
per packet!) to my home connection just because I and my mates from
around Brazil have a [true] public/multi-purpose Mumble server, and just
because he also has other Mumble server. And before you ask: No, I don't
want to compete against anyone. I feel guilty for competing against
people. But well, the general people don't really need to know my sad
story and how it'll end up, but if you (anyone who's reading this) do
want to know more, please send me an OpenPGP ENCRYPTED email, and make
sure to provide you public key first, or link to a place where I can
download it.

GNUsercn
Offline
Iscritto: 10/13/2015

CIAO, ADFENO

Lovely that you send your story to me :)

If my understanding is right, you would just set your Iptalbes to block the ping. There a bunch of tutorials for writing Iptables commands, whereas you need to have a little bit of well logic thinking (but that's amazing that I enjoy it).

I don't mean I use IPTables to replace DNSMasq. As I see it, Iptables can never function as what DNSMasq does. DNSmasq is just enable those local hostname if you want to have one for your local computer/server in your LAN. So if the DNSmasq is set up, other people can visit your inet server via your local hostname from WAN.

That's it, I don't need this function and I suppose many of you don't want as well. So why make this service running and make 3 ports open for it?

Cheers

SuperTramp83

I am a translator!

Offline
Iscritto: 10/31/2014

Hi GNUsercn!

Editing

/etc/NetworkManager/NetworkManager.conf

and commenting the line (precede it with a #)

dns=dnsmasq

and then in terminal

sudo restart network-manager

should do it.

cheers

GNUsercn
Offline
Iscritto: 10/13/2015

Great,and many thanks, Tramp! (Trisquel community is much more responsive than gNewsense, aren't they? :)

I will try it. another bundle with Network-Manager is the systemd-services. Is it the same way to stop it as stoping DNSmasq?

SuperTramp83

I am a translator!

Offline
Iscritto: 10/31/2014

I do think so. Try and see. If you have issues report back.
cheers

moxalt
Offline
Iscritto: 06/19/2015

gNewSense community? Such a thing exists? ;)

arielenter

I am a member!

I am a translator!

Offline
Iscritto: 08/25/2010

Many times I find my self sharing my Internet connection through Ethernet or wireless. So I really find this NetworkManager function very useful for me.

I'm not an expert so having it so easily available through NetworkManager is very good for me.