a lightweight server providing DHCP and DNS capabilities

learn more… | top users | synonyms

0
votes
1answer
18 views

Does dnsmasq work for OS X? [on hold]

I tried installing it and then launching it, but none of the features work at all. Here is my dnsmasq.conf listen-address=127.0.0.1 address=/localhost.localdomain/127.0.0.1 ...
0
votes
1answer
25 views

LXC ip allocation using DHCP

I'm trying to set up DHCP for my lxcontainers without using lxc-net. The reason for this decision is that I'd like to place my containers in different networks, such that they are unable to talk to ...
1
vote
0answers
14 views

getting dnsmasq to issue different ip address for domain name when dhcp client connected

I am undertaking development of an https application (both client and server) which requires that I issue myself a certificate with the domain name of the server. Lets say its test.example.com and I ...
1
vote
0answers
27 views

How to disable dnsmasq?

From time to time when I'm switching from eth0 to wlan0 (or vice versa) interface domain name resolving breaks and /etc/resolv.conf contains nameserver 127.0.1.1 I commented #dns=dnsmasq in ...
4
votes
1answer
35 views

Is libvirt dnsmasq exposed to the network, if I run Fedora without a firewall?

There's this nice saying from Ubuntu: no open ports on the default install. Other Linux OS's look the same, including Fedora. No-one wants to worry about firewalls, if they don't need to. Yuck, ...
0
votes
1answer
39 views

Get the external IP address in shell without dig in 2016?

This question: "How can I get my external IP address in bash?" Solves the question with a call to dig: dig +short myip.opendns.com @resolver1.opendns.com; that is the fastest resolution possible, ...
1
vote
0answers
33 views

IPv6, dnsmasq dhcp-range

I'm trying to assign IPv6 addresses to my LAN clients with dnsmasq 2.62 on Debian Wheezy: enable-ra dhcp-range=interface:br0,fde4:709f:bee2:a87b::,fde4:709f:bee2:a87b::ff,ra-stateless The ...
1
vote
0answers
35 views

How can I programmatically modify DNS lookups in real time?

I want to use OpenDNS (parental control) and UnoTelly (geo-restriction circumvention) together. OpenDNS returns an IP to an error page if the site is blocked. So if I get that error IP, then I want ...
3
votes
2answers
40 views

dnsmasq does not listen to conf file

I have installed and started dnsmasq, using brew install dnsqmasq and sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist respectively. I tried to use the "adress" function inside ...
2
votes
1answer
43 views

DNS temporarily fails with VPN addresses

I'm connecting to a company network on Lubuntu 15.10 with vpnc either on terminal or via the network manager. Sometimes I can reach the intranet hosts fine, then suddenly they are gone. Then they come ...
2
votes
0answers
48 views

Split-horizon on DNSMasq?

Is it possible to perform Split-horizon with DNSMasq? I've googled and it seems like it is only possible with Bind9, any advice would be much appericated
1
vote
0answers
143 views

How can I ensure DNS resolved common URL-s on Linux Mint and DNSmasq

I am experiencing a problem with Linux Mint 17.2. Some experiments demonstrated there's some issue with resolving URL-s. update 2015-12-02: Perhaps some one who understands this problem can ...
1
vote
1answer
69 views

How can I (re-)connect DNS for gmail on Linux Mint?

Let me refer responders to this thread on Linux Mint forums: Chrome/Firefox not loading Google websites I've seen this four times in the past two weeks or so. The loss of connection does ...
2
votes
1answer
56 views

dnsmasq - different subnet by wifi SSID - how?

I'm using dnsmasq on an ubuntu 14.04 server as my DHCP and DNS servers on my LAN. This device has only 1 ethernet NIC. I want to setup a wireless Access Point with multiple SSID's. The wifi AP and ...
1
vote
2answers
40 views

Is there a way to resolve DNS locally when using an HTTP proxy?

This is based on this question: http://askubuntu.com/questions/447877/how-to-resolve-the-dns-locally-when-there-is-a-proxy-configured All I want to know is if there is an existing way to achieve ...
3
votes
0answers
54 views

Dnsmasq problem with Linux network namespace

I have tried to use dnsmasq as the name server for virtual machines. On all the vm-s, /etc/resolv.conf indicates the vm need to access 192.168.15.3 to resolve the domain names. However, the interface ...
1
vote
1answer
37 views

DNSMASQ on Ubuntu in VM not offering leases to client

I have Ubuntu running in VMWare workstation 12. I have a USB ethernet adapter which appears as eth1, and is statically assigned 192.168.0.10 My dnsmasq.conf is: port=0 domain-needed bogus-priv ...
4
votes
0answers
104 views

HOSTAPD fails without stopping and drops clients

I am not the strongest Linux admin. I just thought I would throw that out there. I have a Linux wireless access point with HOSTAPD and DNSMASQ. I have been working on this for quite some time and I ...
0
votes
0answers
224 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
97 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
59 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
295 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
115 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
85 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
77 views

enable/disable domain redirection

My router can be joined by clients. enable // I'd like to redirect all traffic 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
133 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
51 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
36 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
61 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
649 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 ...
2
votes
1answer
39 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
24 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
451 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
388 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
352 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
357 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
288 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
382 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
229 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
543 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
1answer
243 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
425 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
474 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 ...
2
votes
1answer
247 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
132 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
356 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?
5
votes
1answer
3k 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
975 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 ...
2
votes
1answer
1k 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
36 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 ...