LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-16-2013, 03:08 AM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Do I need dnsmasq?


I am running Linux Mint-13 and connected to internet through a wired connection without any proxy. I need internet for web browsing and system updating only and I am not running any server. When I run the command 'netstat -apute' dnsmasq is always active, as is dhclient. From http://wiki.debian.org/HowTo/dnsmasq : "Dnsmasq is a lightweight, easy to configure, DNS forwarder and DHCP server." When I tried to uninstall dnsmasq, I was informed that network-manager and network-manager-gnome packages will also be removed. I am worried that the network may break if remove dnsmasq. Is there any way I can get rid of dnsmasq (uninstall it or at least have it not running all the time)? Thanks for your help.
 
Old 05-16-2013, 05:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it handles your dns requests, leave it be.
 
Old 05-16-2013, 06:47 AM   #3
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
Why do I not see it on other Linux distributions? Can I set up the installation without it?
 
Old 05-16-2013, 09:52 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you can, but it's being increasingly used in new distros in close conjunction to network manager, which is receiving the DNS IP addresses via DHCP. Conventionally those details would be slung into /etc/resolv.conf but NM is doing some clever crazy magic and firing up dnsmasq to provide a local caching dns proxy instead of using resolv.conf. if you're statically wired and such, then you'd rip out NM and all that and hard code things, but it does sseem to do a very good job of providing the DNS hooks. What's your actual motivation to want to stop it? It's pretty harmless and benign.
 
Old 05-16-2013, 09:59 AM   #5
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
I want to keep things simple, to have minimum number of packages, avoid any unnecessary packages and especially have as few programs connected to internet as possible (as seen by command 'sudo netstat -apute') so as to minimize the security risk. Thanks for your expert advice.

Last edited by rng; 05-16-2013 at 10:09 AM.
 
Old 05-17-2013, 02:19 AM   #6
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
@acid_kewpie: I addition to answer to the question in above post, I would also like to know why you prefer rpm-based distributions and not deb-based ones?
 
Old 05-17-2013, 02:26 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Because it's what I started with, and what real enterprise businesses run internally. I'm actually running mint at home now since last week when I had to get a new hard drive and it's fine by me.
 
Old 05-17-2013, 03:17 AM   #8
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
Thanks for the insight.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dnsmasq harinathreddy.c Linux - Software 2 11-03-2012 12:46 AM
Dnsmasq imas Linux - Newbie 2 04-13-2012 06:12 AM
DNSMASQ anyone? Help! JeffC1 Linux - Software 3 03-31-2009 10:23 AM
Dnsmasq and MX records? arfon Linux - Server 1 10-03-2008 05:58 AM
Dnsmasq dunkyb Linux - Software 0 03-16-2003 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration