Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [dnsmasq]

a lightweight server providing DHCP and DNS capabilities

-1
votes
0answers
24 views

Customized captive portal with external DHCP server [closed]

Usecase: Whenever any wireless device will get connect to access point, it will send DHCP request. Access Point will forward DHCP request to Fortinet DHCP server and block all other request for that ...
1
vote
0answers
24 views

Create custom page for lock

I'm new to DD-WRT v3.0-r39469 std (04/10/19) so I have several questions! I want to make a custom LOCKING PAGE in the domain 127.0.0.2 in my network, is it possible? I ran the page to which I wanted ...
0
votes
0answers
4 views

DNSMasq send additional fields

I have a DNSMasq setup and it is resolving the local queries correctly. My /etc/resolv.conf nameserver 67.207.67.2 nameserver 67.207.67.3 nameserver 127.0.0.1 My /etc/dnsmasq.conf log-queries ...
0
votes
1answer
35 views

Local DNS - Redirect subdomains to different virtual hosts in apache2

I've set up three virtual hosts in apache 2.4 with the following entrys: <VirtualHost *:443> ServerAdmin webmaster@localhost DocumentRoot /var/www/html/ ErrorLog ${...
-1
votes
0answers
10 views

Configure BIND and DNSMasq to work together on Opnsense running FreeBSD

I have the following DNS setup I am using Dnsmasq as described here https://getflix.zendesk.com/hc/en-gb/articles/201056954-Can-I-selectively-use-Getflix-DNS-servers-for-specific-domains- to forward ...
0
votes
0answers
33 views

DNS adblocking ignored on connected clients with Internet access provided over WiFi in 'Client' mode

2019-04-19: I've come to the conclusion this might be some setting or bug in dnsmasq as logs shows config error is REFUSED. I will update this question at sometime in the future after I've analyzed ...
2
votes
0answers
33 views

How do I route DNS requests through to my VPN's DNS servers?

I have a LAN consisting of around 8 clients that are on a home internet connection. Some of the clients have their default gateway set as the static IP of a Raspberry Pi on the network. The ...
3
votes
1answer
30 views

How do I force dnsmasq to use a specific DNS server without affecting the host systems DNS settings?

How do I set dnsmasq to use one specific DNS server without changing which DNS server the host system uses for its own DNS requests? I should clarify I am not using dnsmasq as a DHCP server but only ...
0
votes
1answer
16 views

Dnsmasq/Ubuntu “NoDHCP or proxyDHCP offers were received”

I've spun up a Ubuntu 18.04 (Bionic Beaver) server* with the intention of mounting the DBAN .iso so that I can PXE boot this. *server version of Ubuntu but this is actually desktop hardware (a Dell ...
0
votes
0answers
15 views

Unbound resolving to high ping servers

I have installed unbound on my Pi Hole to get DNS over TLS for my entire home network. I realized that my home network had gotten slower than before. At first, I thought it may be because of Unbound ...
0
votes
1answer
37 views

Trouble setting up Raspbian network bridge

I'm trying to set up a raspberry pi as a network bridge between a wireless access point and a router (the reason for this being that I'd like to connect a device to the AP and use tc on the pi to ...
1
vote
0answers
42 views

dnsmasq dns nameserver priority parameters - strict-order

I have a setup specifying two DNS namservers. One in local, the other is external. The local one is a pihole, which itself forwards requests externally after url filtering. The external one is set ...
-1
votes
1answer
54 views

route traffic of all connected wireless clients to one particular IP and port

I've successfully set up access point on my server using wifi-ap snap wakatana@server:~$ sudo wifi-ap.config get debug: false dhcp.lease-time: 12h dhcp.range-start: 10.0.60.2 dhcp.range-stop: 10.0.60....
0
votes
1answer
26 views

Is it possible to suppress upstream DNS records with dnsmasq

Using dnsmasq, I can set new values for existing records, and add new records, event to a zone I don't own. But is it possible to mask or suppress an existing record ? In my case I want a CNAME to be ...
3
votes
2answers
109 views

Compare domain blocking by iptables vs dnsmasq-/etc/hosts

I now use dnsmasq, with a large /etc/hosts file obtained from Energized packs [https://energized.pro/#packs]. Some of these are quite large. Trying to get info from the dnsmasq team, which is still ...
2
votes
1answer
414 views

set DNS entry for hostname for the DD-WRT DNS router itself

I'm trying to set a DD-WRT router to reply to DNS requests with it's own hostname (via the DD-WRT router's DNSMasq daemon). I can set other local hostnames (using Static Leases section) and these are ...
0
votes
0answers
59 views

Implementing a quota using iptables in an openwrt system

I would like to explain what I'm currently working on briefly and explain issues I need to address. We have a device (a TP-link Access Point) that we have our custom linux kernel running (which is a ...
0
votes
0answers
73 views

NixOS + docker nginx + dnsmasq for local somethingsomething.dev domains

I have been configuring NixOS as a dev machine lately (and so far I really love it). I was planning of using a nginx image as reverse proxy to route all *.dev requests to running docker images. This ...
2
votes
0answers
50 views

Use DHCP-provided DNS or not based on connected network

My current networking setup (on Arch Linux) involves: stubby to resolve DNS requests with DNS-over-TLS. dnsmasq to cache DNS queries (and nothing else). openresolv to manage resolv.conf. ...
0
votes
2answers
63 views

dnsmasq as cache

I am trying to configure a DNS cache with dnsmasq. The server responds to the query, but the response time is exactly the same as the Cloudflare DNS. To test the DNS Server I have removed any internet ...
0
votes
0answers
47 views

dnsmasq: Behavior of dhcp-ranges with tag + without tag

If I have one dhcp-range R1 that includes a tag: specification, and another range R2 with no tag: specification, and a client has that tag assigned based on its dhcp-vendorclass... ...will the client ...
1
vote
1answer
45 views

dnsmasq running in namespace can't take queries from within namespace

I've set up a default dnsmasq.conf with essentially no modifications except: listen-address=192.168.42.2 interface=veth1 # Also tried without server=8.8.8.8 And my /etc/hosts looks like this: 127.0....
-1
votes
2answers
454 views

How to configure dnsmasq to use /etc/hosts instead of “dhcp-host”?

I have been able to configure static ip for specific client in /etc/dnsmasq.conf by using "dhcp-host": http://manpages.ubuntu.com/manpages/cosmic/en/man8/dnsmasq.8.html I would like to use /etc/...
6
votes
2answers
436 views

systemd-resolved block a domain name

Using systemd-resolved how do I block, route, or resolve, a domain name to a black hole, or a nowhere address. Bonus points for subdomains as well. I tried a single domain in /etc/hosts: 127.0.0.1 ...
2
votes
0answers
312 views

dnsmasq is not resolving local hostnames

I have a local Linux server running dnsmasq for my LAN. It has been working without issues for the last several years. I keep the operating system and packages regularly updated. After yesterday's ...
2
votes
0answers
210 views

DNSmasq - MAC address-based responses for both IPV4 and IPv6

I have my own dhcp server with dnsmasq on a network wit both IPv4 and IPv6. Everything has been working fine. Now I would like to it to offer different DNS Server addresses than the default for my ...
1
vote
1answer
198 views

Setting up Dnsmaq to serve DHCP addresses to Hostapd Hotspot

I am trying to setup dnsmasq to act as DHCP server for a hostapd-based WiFi hotspot. When client connects WAP2 negotiation succeeds, but dnsmasq consistently outputs the following errors. [ 2081....
0
votes
0answers
203 views

dnsmasq does not hand out IP addresses

I am trying to learn about networking, specifically, what I am currently trying is creating a private network that runs behind a NAT that connects to my main router. The way I've though of it is as ...
0
votes
1answer
375 views

Namespace management with ip netns (iproute2)

I would like to know where to look up changes applied to custom namespaces. Let's say I have a namespace "ns1" with virtual interfaces "vpeer" and "lo" inside and I would like to modify configurations ...
0
votes
1answer
608 views

dnsmasq not working after reboot

After rebooting, dnsmasq service is running, but does not respond to remote requests (trying using "dig @10.0.0.1 stackexchange.com" from another machine). The log looks good in my opinion: Aug 11 17:...
2
votes
0answers
81 views

how to prevent dnsmasq from completely failing when one of the configured interfaces is unplugged?

I'm running dnsmasq on Arch Linux on a router with 4 LAN ports for wired, wireless, DMZ and admin_interface. dnsmasq is my dhcp server for my LAN (as well as providing dns functions). I do not always ...
0
votes
1answer
696 views

How do I get DNSMasq to serve up DNS to Windows hosts without a domain?

I Have an Ubuntu 16.04 host (10.0.10.2) with DNSMasq installed which is only serving up DNS, and a couple Windows hosts on the same subnet, as well as a couple other Linux hosts on the same subnet. ...
0
votes
0answers
142 views

block LAN device by mac address using dnsmasq

My router is using dnsmasq as the dhcp server. I currently see a device identified as EPSONBBE74B which is receiving a dynamic IP address. I don't recognize that device. Nobody here can find it. I ...
1
vote
2answers
3k views

dnsmasq: failed to bind DHCP server socket: Address already in use

I have a box setup as a PXE server. The interface that will provide DHCP leases is eno3. dnsmasq is installed and provides tftp service ** bind is not installed - Ubunutu 18.04 ** Error: dnsmasq: ...
1
vote
0answers
142 views

Help understand output of dnsmasq logs and find performance issues by reading dnsmasq log

I have dnsmasq installed on server and it is heavily used. I have the following dnsmasq log in the /var/log/syslog when given the signal "SIGUSR1": Jul 16 13:45:50 server1 dnsmasq[427008]: time ...
2
votes
1answer
944 views

Use dnsmasq to pushing routes to my clients on a small local network

I'm trying to use dnsmasq to pushing routes to my clients on a small local network. However my clients (Server #1, #2 and #3) can not use these routes. The dnsmasq service is running and I do not ...
1
vote
1answer
414 views

DNSmasq - Server Cache Snooping Remote Information Disclosure

I am seeing the following vulnerability on my open/public WiFi. "DNSmasq - Server Cache Snooping Remote Information Disclosure" This is a Linux box that serves Internet access to customers and I ...
3
votes
1answer
171 views

Dnsmasq hostnames on a public domain

I have an OpenWRT/LEDE router with Dnsmasq. I currently have a local domain (something.lan) that is appended to DHCP names, so I can access devices on my network just by connecting to, let's say, ...
0
votes
2answers
1k views

Pi-Hole Redirecting Domain to IP [closed]

I have a domain that points to the external IP of my webserver. I set up a Pi-Hole server and changed my network settings to use it, and I've verified it is working. I want to redirect the URL of my ...
0
votes
0answers
200 views

Mac OS High Sierra can't find localhost after dnsmasq install

I am setting up Laravel and Valet on a MacBook Pro. I had everything working. Then I bought a new MacBook Pro and copied over my files to the new mac. I had to reinstall Homebrew, php, valet, and ...
0
votes
0answers
274 views

trying to redirect all traffic with iptables but not working

I have a raspberry pi that is set up as an access point. It is NOT connected to the internet. I followed this tutorial until the section about bridging. (I don't have my raspberry pi connected to ...
1
vote
2answers
1k views

Can I get dnsmasq to drop/reject/redirect any address queries except one?

I am setting up a local survey system. The linux laptop will run limesurvey (on a typical LAMP stack) and will be accessible by 5 tablets given out to conference participants. Tablets are no problem ...
0
votes
1answer
212 views

Configure dnsmasq to translate local names for iPhones

I've found that iPhone 5S won't resolve name of the host of the local network by it's name. It is only possible when adding .local suffix to the hostname, e.g. instead of asking (like on a Linux host):...
0
votes
1answer
277 views

Is it a best practice to have both Bind and DNSMasq which is running on port 53?

I installed Bind on CentOS7 and noticed that the DNSMasq which is already installed & running on the same port 53 where Bind runs. Looks like DNSMasq is default package comes up with CentOS. ...
2
votes
1answer
208 views

How to Hide Dnsmasq version number?

It is possible to hide BIND DNS server version number, but how can you change it in dnsmasq? command to execute: dig localhost version.bind txt chaos
1
vote
1answer
272 views

dnsmasq's server option doesn't work for a specific domain

I have configured dnsmasq as a local DNS server. Now since my ISP does not resolve some-company.sharepoint.com I want to use Google's servers for the domain sharepoint.com. (See here for the windows ...
0
votes
0answers
579 views

Resolving domains on Ubuntu 16.04.4 LTS does not work

Resolving domains on Ubuntu is not working 16.04.4 LTS. The home server is connected to the Huawei HG8245 router, the network on the server is parsed by NetworkManager. The NetworkNamager ...
0
votes
0answers
195 views

dnsmasq redirection config rewrite to systemd-networkd configuration

I updated my Ubuntu 16.04LTS to 18.04LTS, first I noticed that systemd-networkd is colliding with dnsmasq because it's using the port 53. After some research, I learned that the systemd-networkd is a ...
0
votes
1answer
1k views

How to configure dnsmasq as an authoritative DNS server?

I'd like to setup dnsmasq as an authoritative DNS server, but can't find any good guides for it. So could somebody please post a sample configuration of dnsmasq as an authoritative DNS server (with ...
0
votes
0answers
57 views

How to send only 10kb/sec using ip-tables to clients

I created a hotspot using hostapd,dnsmasq and nodogsplash in my linux.Every thing works fine but i want to send only 10kb/sec to my clients who connects my hospot.How to do it.I dont know much about ...