Questions tagged [dnsmasq]

a lightweight server providing DHCP and DNS capabilities

0
votes
0answers
12 views

Is there a way to substitute domain names in DNS requests with dnsmasq?

I'm trying to change domains in all my outgoing DNS requests (before they are going out to DNS server) let's say from <foo>.<suffix1> to <foo>.<suffix2>. Is there a way to do ...
1
vote
1answer
20 views

PXE boot fails With “Could not locate boot server.”

My target machine with PXE enabled receives a lease from dnsmasq and prints a message UD: 192.168.10.123 which is the address of my dnsmasq/tftp server but then fails to get any further with "Could ...
0
votes
0answers
63 views

add per-client 'hosts' file for DNS clients on router

so I want to block some hosts (iOS telemetry sites specifically) for specific clients on my router. Router runs asuswrt merlin fw, so it has dnsmasq and dnscrypt-proxy installed. Ideally I want ...
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
53 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 ${...
0
votes
0answers
56 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 ...
3
votes
1answer
86 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
31 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
22 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
47 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
92 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
77 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
30 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
183 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
728 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
93 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
123 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
61 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
92 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
56 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
61 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
767 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
551 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
405 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
237 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
311 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
283 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 ...
1
vote
1answer
493 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
905 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
109 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
1k 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
166 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
4k 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
156 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
1k 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
499 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
189 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
2k 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
209 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
312 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
2k 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 ...
1
vote
1answer
279 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
335 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
240 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
327 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
682 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
1answer
2k 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 ...
1
vote
1answer
2k views

dnsmasq always returning REFUSED

Ubuntu Server 16.04.04 dnsmasq.conf: listen-address = 192.168.5.5, 172.30.108.1, 127.0.0.1 log-queries resolv-file = /etc/resolv.dnsmasq /etc/resolv.dnsmasq: nameserver = 8.8.8.8 /etc/resolv....
-1
votes
1answer
1k views

Dnsmasq port forwarding

My current configuration site.example.net 192.168.1.1 What I want to do site.example.net:10000 192.168.1.2 My question Knowing that I've already tried this type of configuration in /etc/hosts and ...