a lightweight server providing DHCP and DNS capabilities

learn more… | top users | synonyms

0
votes
0answers
23 views

Use iptables to redirect **all* requests, even DNS-unsolved domain?

Context: With iptables, I redirect all the traffic - incoming at port 80 - to a distant server IP (X.X.X.X). I aim that anywhat you write in the urlbar of browser, you get X.X.X.X. IP That works ...
0
votes
1answer
31 views

Apache VirtualHost redirect 302 (cyclic link)

I seek some wisdom, so please help... I have one VM acting as router/web server/dnsmasq server on IP: 192.168.100.1. And I have other machine acting as client. Server has IPTables rule to redirect ...
0
votes
0answers
19 views

DD-WRT dnsmasq configuration file not working

I've been trying to redirect specific domains to a different DNS address using dnsmasq and haven't been able to get it to work. I found the man page and saw the option --test which does the following: ...
1
vote
1answer
45 views

How do I limit dnsmasq listening to only one interface?

I've tried to have dnsmasq (version 2.66) listen only to the loopback interface but it obsesses on listening to all available addresses, i.e. 0.0.0.0:53 despite the following arguments: # dnsmasq ...
0
votes
0answers
38 views

Wifi Hotspot dnsmasq no DHCP ACK

I am creating a Wifi hotspot with hostapd and providing DHCP/DNS through dnsmasq. When a client connects to the Wifi hotspot it is subsequently unable to obtain an IP address through DHCP. The ...
1
vote
0answers
33 views

Using Ubuntu Server machine as a DHCP and DNS server to forward URL's to IP addresses

I'm inexperienced with Linux servers but I've done okay so far - basically I want this machine to dish out IP addresses via DHCP (done) and then I also want it to act as a DNS server that simply sends ...
0
votes
0answers
37 views

enable/disable domain redirection

My router can be joined by clientes. enable // I'd like to redirect all trafic to an IP (13.37.42.1), I mean any IP and any domain. disable // Then I d like to be able to disable it. Then clients ...
3
votes
2answers
33 views

Internet connection lost after installing dnsmasq

I'm currently trying to set up an access point on my raspberry pi, but as soon as I install 'dnsmasq', the internet connection is lost ('unknown host' when trying to ping any server). What causes ...
1
vote
1answer
27 views

DNS server's not working in subnet

I have installed two virtual machines on my PC - Fedora Server and Fedora Live Workstation. Fedora Server has two network interfaces - one configured as NAT interface but other one - for working in ...
0
votes
1answer
24 views

dhclient giving weird address when hostapd and dnsmasq are installed but not running

I'm trying to set up a script so that I can switch between wlan0 being an AP and being a client at certain times, but I hit a snag. Hostapd and dnsmasq both start up fine and appear to work normally, ...
0
votes
2answers
33 views

single dns server in a private network

I have a netgear wireless router, single web server , 100 clients with 192.168.0.0/24 network. I haven't Internet connection and I am not connected to outside world. Now my goal is to provide the ...
0
votes
3answers
253 views

DNS Issue in ubuntu 14.04

I am facing DNS resolving issue sometimes in my Ubuntu 14.04.2 LTS trusty. I have configured my system with network manager to work with static IP assignment. I have also tried by changing DNS server ...
1
vote
0answers
28 views

Does dnsmasq automatically update when running as a dhcp server as well?

I want to set up dnsmasq on a Raspberry Pi to use as a DNS server for my home network. My goal is to have a setup where when a new device is connected to the home network, it can be addressed by its ...
0
votes
0answers
19 views

Turning off dhcp name resolution in dnsmasq

I configured dnsmasq to forward queries to 168.192.in-addr.arpa to another server, but if I send an request for an address to dnsmasq, and there is a device configured via dhcp with a name then ...
1
vote
1answer
165 views

DNS whitelist domains

I'm trying to set a couple of DNS servers to resolve only specified domains. My first attempt was to run DNSmasq and create a manual list of domains/IPs, like so: no-resolv ...
4
votes
0answers
228 views

How do I boot the linux kernel over PXE with dnsmasq and syslinux?

Are these dnsmasq.conf options fine: port=0 interface=enp0s20u2u1 bind-interfaces dhcp-range=192.168.2.50,192.168.2.220,12h dhcp-boot=boot/syslinux/lpxelinux.0 ...
0
votes
0answers
160 views

How do I start dnsmasq?

I have installed dnsmasq but I can't start it: $ dnsmasq dnsmasq: failed to create listening socket for 10.0.1.57: Permission denied $ sudo dnsmasq dnsmasq: failed to create listening socket for ...
1
vote
2answers
210 views

dnsmasq causes inability to resolve DNS queries made by host

On a headless Ubuntu 14.04 vanilla machine I setup dnsmasq as a DNS proxy with the following configuration in /etc/dnsmasq.conf no-resolv nameserver=<some working custom dns ip> port=5555 #to ...
1
vote
1answer
142 views

Connect to dnsmasq server externally

I have set up a dnsmasq server on my computer and it works just fine for computers on LAN, but I can't access it externally. Every tutorial/documentation I have seen about dnsmasq seems to focus on ...
0
votes
0answers
91 views

How to Setup dns in Virtual machine

I want to know how dns resolve the name. DHCP server installed in one vm. How to setup dns in the virtual machine and what are the configurations I need to do. And when i start another vm, it needs ...
0
votes
0answers
238 views

ubuntu 14.04 wifi hotspot frequently disconnecting using edimax dongle

I have an Ubuntu 14.04 LTS flavor of Linux and use the edimax dongle to create a WiFi access point to share my pc internet connection. I successfully created a hotspot using the plasma-nm applet using ...
0
votes
0answers
99 views

How was dnsmasq answering DNS queries before I fixed /etc/network/interfaces?

I installed dnsmasq to provide both DHCP and DNS on my home network. Everything was working swimmingly until just now. Seemingly out of the blue I was unable to connect to the internet on any ...
1
vote
1answer
309 views

How can I make my primary DNS take priority over other servers?

Note - I believe my title is the way it's meant to be... I used dnsmasq on my server and it sets DNS (via DHCP) to clients as: 192.168.2.1 (local server) ISP DNS 1 ISP DNS 2 This at least works - ...
0
votes
0answers
32 views

No DHCP OFFERS on several PCs in same network

I have different PCs and 2 of them don't get an IP-address (because they don't get a DHCP-offer) by the ISP, while the others do. I pluged them directly in my cable-modem, one after another. But when ...
0
votes
1answer
184 views

BIND/DNSMASQ query hanging on ubuntu server 14.04.1

I'm testing out a BIND and DNSMASQ configuration on my VPS. When I run a program which submits a bunch of queries (around 10-20 per second) my DNS replies stop coming back for a random amount of time. ...
0
votes
1answer
256 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
354 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
123 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
166 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
63 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
244 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?
4
votes
1answer
1k views

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 ...
2
votes
3answers
707 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
226 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
804 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
33 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 ...
1
vote
1answer
859 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 ...
4
votes
3answers
1k 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 ...
66
votes
11answers
194k 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 there just get overridden. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
1
vote
1answer
2k 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
1k 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
446 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 ...
5
votes
1answer
7k 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
1answer
5k 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
1k 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
362 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
2k 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 ...
3
votes
1answer
1k 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
16k views

Why dig reports the dns server as 127.0.0.1 when I'm using a external DNS?

I 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 on port #53? is this unbound or is it ...