a lightweight server providing DHCP and DNS capabilities

learn more… | top users | synonyms

0
votes
1answer
15 views

Sharing ethernet over wi-fi with Network Manager and dnsmasq

I'm running archlinux with kde desktop. I want to share my enp2s0 connection via wi-fi. So I've installed dnsmasq. Here are some configs: /etc/resolv.conf # Generated by resolvconf search telecom.by ...
1
vote
1answer
79 views

dnsmasq - flooding daemon.log with messages

I am hoping to use dnsmasq to provide for a wireless AP on Debian Wheezy. Issue: daemon.log is filling up with repeated 'DHCPREQUEST' and 'DHCPACK' messages from the one test client (win7). Config ...
0
votes
0answers
25 views

Spoof DNS on Access Point

Hello I'm gonna try to explain the situation as best as possible, so that maybe, someone can understand well the "problem" and help me. I have on a Debian 7 and I am using 2 interfaces: -eth0: ...
1
vote
1answer
52 views

log rotation fails for dnsmasq on osx using newsyslog

I am running dnsmasq on OSX. I am also using newsyslog to rotate log files. Here is the /etc/newsyslog.d/dnsmasq.conf # logfilename [owner:group] mode count size when flags ...
1
vote
0answers
25 views

Maximum clients with USB hotspot

I made a small access point using Hostapd, Dnsmasq and Debian Wheezy. I'm using an USB dongle, how could I know the maximum number of clients allowed? Can I change it? How can I manage (disconnect, ...
1
vote
3answers
37 views

How to bounce dnsmasq in opensuse 13.1

OpenSuse 13.1 is missing the init.d dnsmasq script. Is there another way to start and stop dnsmasq or is this a bug in suse?
3
votes
1answer
82 views

dnsmasq - how to measure DNS cache efficiency / cached items

I've configured dnsmasq as a caching-only DNS server on a Debian server, and it's working well (I'm seeing improved DNS response times via dig). However, I'd like to understand what dnsmasq is ...
1
vote
3answers
204 views

Listing nameservers in Ubuntu 14.04 without NetworkManager

In Ubunutu 14.04, I want to list the nameservers the machine is using. Normally I would use nm-tool to list them, but it appears NetworkManager doesn't run when no user is logged in via the GUI, and I ...
0
votes
0answers
58 views

hostapd virtual wlan interface no ip from dnsmasq

I have installed hostapd and also dnsmasq to ppovide dhcp only. On the virtual interfaces I do see the SSID and all. So hostapd seems to work fine( although I am not sure). When I try to connect to ...
2
votes
1answer
199 views

Not see file NetworkManager.conf in folder /etc/NetworkManager/

My network connectivity often gets interrupted when I use the local DNS server at the company, I wanted to change dns=dnsmasq to #dns=dnsmasq in /etc/NetworkManager/NetworkManager.conf. But I do not ...
2
votes
0answers
25 views

Assign Special Records for specific remote clients DNSmasq

I'd like to make DNSmasq serve special records for specific remote clients (Clients from the public internet) So for example if remote host 111.111.111.111 requests www.example.com it returns 3.3.3.3 ...
0
votes
0answers
71 views

How to disable domain service at port 53 on WAN side in OpenWRT?

nmap on the WAN IP shows PORT STATE SERVICE 53/tcp open domain after basic configuration on a fresh OpenWRT (version Chaos Calmer) system. But the service should not be visible from WAN, but ...
1
vote
1answer
142 views

dnsmasq no address available?

I am getting this error in my /var/log/messages file. dnsmasq-dhcp[xxxx] DHCPDISCOVER(xxxxxx) xx:xx:xx:xx no address available How can I tell what leases dnsmasq has leased out? And how can I free ...
2
votes
2answers
489 views

How can I block a subdomain with dnsmasq?

I use dnsmasq as a whitelist on my network. My dnsmasq.conf file looks like this: bogus-priv domain-needed no-resolv server=/stackexchange.com/8.8.8.8 #etc... I would like to be able to block a ...
28
votes
9answers
58k views

How do I set my DNS on Ubuntu 14.04?

Most of the info I see online says to edit /etc/resolv.conf, but any changes I make just get overridden. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
1
vote
1answer
739 views

How do I make dnsmasq obey the order of servers in resolv.conf

here's the generated resolv.conf # Generated by resolvconf nameserver 127.0.0.1 nameserver 208.67.222.222 nameserver 208.67.220.220 nameserver 192.168.1.1 what's going on in the log appears to be, ...
2
votes
1answer
609 views

Dnsmasq white list for specific clients on network

I'd like to use dnsmasq to set up a white list for certain clients on my network. For instance, I'd like to have these rules for clients in the range 192.168.1.10 - 192.168.1.20: no-resolv ...
3
votes
2answers
238 views

Configure Spamassassin to use URIBL and Google Public DNS

I use Google Public DNS servers on my mail server. However, URIBL and other spam blocking sites (which work over DNS) block major DNS sites such as Google Public DNS. I think if I run my own DNS ...
3
votes
1answer
5k views

Using DNSMasq for Local Hostname Resolution

I'm working on setting up a home intranet for me and my roommates. My idea is that we'll be able to store things like past utility bills in a place that's more accessible than a drawer in the kitchen ...
6
votes
1answer
2k views

resolve the server hostname of a dnsmasq server with multiple subnets

I have a self-made Linux router running dnsmasq. It has two different NICs through which clients are connected; one of them has the subnet 192.168.1. and one the subnet 192.168.2.. My ...
2
votes
0answers
3k views

Dnsmasq cannot create listening socket for port 53

I am trying to set up a DNS server on a Raspberry pi running Raspbian. I have been following tutorials online on how to setup a DNS server, and I found this one that was very easy to follow. ...
5
votes
1answer
702 views

Why is dnsmasq putting my router IP in /etc/resolv.conf instead of 127.0.0.1?

I'm having DNS resolution issues in various contexts which appear to trace back to my networking configuration. I'm running just the dnsmasq-base installation of dnsmasq on two Linux installations ...
1
vote
1answer
248 views

How can I configure dnsmasq to resolve based on the source of the request?

I'm trying to get SiriProxy to work whenever I'm connected to my home network by setting up dnsmasq on my router running the Tomato firmware to send all requests to the Apple Siri server to my local ...
1
vote
1answer
1k views

can't connect to dnsmasq on local machine, port is open but connection refused

I'm running Scientific Linux 6.3 and just updated the machine to dnsmasq-2.48-13.el6.x86_64. The machine is on local ip 192.168.1.100. I have a local caching DNS setup that was working until the ...
2
votes
1answer
714 views

How to setup whatever.localhost.dev to resolve into 127.0.0.1 on Ubuntu 12.04?

I'm running Ubunut 12.04 I want *localhost.dev to point to 127.0.0.1. Ubuntu 12.04 comes with dnsmasq-base installed with network-manager. But there is no /etc/dnsmasq.conf. So I installed the ...
7
votes
2answers
13k views

understanding DNS in ubuntu 12.04

I have Ubuntu 12.04 installed, and also use unbound and usually use openDNS as my DNS server. When I run dig google.com say I get SERVER: 127.0.0.1#53(127.0.0.1). What exactly is this thing listening ...
3
votes
2answers
474 views

Virtual Wireless Access Point

Basically, I want to be able to connect to a wireless network from my laptop. Then, I want my virtual machine to acquire internet access via a bridged connection from ETH0 of the VM to the host’s ...
1
vote
2answers
2k views

How to assign multiple fixed ip address for one domain?

I'm running dnsmasq, address=/chat.freenode.net/130.239.18.172 address=/chat.freenode.net/140.211.167.105 But seems dnsmasq only recognize the last record, what should I do?
2
votes
1answer
212 views

can't start default network, is there a way to run dnsmasq for both local and kvm?

I can't start KVM since I use dnsmasq on my laptop as a DNS cache server, So, I'm wondering if this can be merged to the server I'm running.
4
votes
1answer
1k views

Is there anything wrong with using dnsmasq as a dhcp server instead of isc-dhcp-server?

So I've configured my home connections to work with dnsmasq since it bundles a dhcp server with it and is quite nice to set up. There is another package - isc-dhcp-... that also does this and perhaps ...
3
votes
1answer
520 views

Verbose DNS query to see DNS query order?

I typically determine the IP of a host by doing: $ host -t A example.com. Is there a more verbose version of this that tells me whats happening in the background, specifically the order of what is ...
4
votes
2answers
6k views

How to get networkmanager to configure domain specific name servers with openresolv + dnsmasq

I often connect to multiple network simultaneously. Each of these networks provide nameserver configuration via dhcp. E.g. Network 1: (eth0): domain company1.corp # nameserver 192.168.0.253 ...
2
votes
2answers
3k views

Force to use specific DNS provider at network

OpenDNS offers a quite simple way for internet filtering by categories. Of course who could get the correct IP address can easily bypass the filter but it would be enough for my expectations. The ...
2
votes
4answers
531 views

Can someone recommend a Linux Distro for purposes of just running a DNS?

I'm looking for an easy to setup Linux distro for just running a DNS server (and nothing else) with something easy to setup like DNSMasq. At home I run OpenWRT with DNSMasq on my Router, and at work ...
2
votes
1answer
2k views

Adding custom DNS server for pppd client connection?

I'm trying to setup dnsmasq to accelerate DNS resolving , but since i use a PPPoE connection , there're both dns server provided by ISP , and the 127.0.0.1. So how can i place the local dns server as ...
1
vote
0answers
472 views

How to make dnsmasq avoid DNS cache poisoning?

Some domain gets DNS cache poisoning if dnsmasq is the nameserver. But the problem is gone if switch to BIND (named). Is there a easy configuration of dnsmasq so that DNS cache poisoning can be ...
15
votes
4answers
22k views

How to clear DNS cache on DD-WRT

How can I clear the DNS cache in DD-WRT on my router? DD-WRT uses the dnsmasq daemon.