dnsmasq is a lightweight DHCP, DNS and TFTP server application for *nix platforms intended for use on small and home networks.
Questions tagged [dnsmasq]
425 questions
-1
votes
1 answer
Which iptables rules allow me to fake a remote DNS answer with a local DNS running on the router?
A machine has a DNS set to 8.8.8.8
The network router has an ad hoc DNS running (say dnsmasq)
Which iptables rules allows to fake the response from the remote server 8.8.8.8 with the local router DNS?
For instance, if the router DNS is…

user123456
- 563
- 1
- 7
- 20
-1
votes
1 answer
Resolve keywords and https on dnsmasq
Using address=/#/192.168.2.1 on /etc/dnsmasq.conf to resolve all domain names for example google.com redirects you to 192.168.2.2 and got that working.
Now how do you resolve any keyword on the browser? For example I type in foo and press enter and…

Guest
- 1
- 2
-1
votes
1 answer
How to configure dnsmasq for dhcp with domain names
I'm playing around with a virtual network inside of VirtualBox 5.0.26 (with Guest Additions). I am using dnsmasq for dhcp and dns and the machines all apear to be allocated their network information correctly, however, I can only ping machines in…

BenAlabaster
- 269
- 3
- 11
-1
votes
1 answer
How to view dnsmasq client MAC addresses dynamically?
If I have already known the client IP, I know there's /var/log/dnsmasq.log and it contains logs such as
Jun 13 12:22:42 dnsmasq-dhcp[499]: DHCPACK(wlan0) 172.24.1.110 34:12:98:11:80:bd ones-iPad
Jun 13 13:19:44 dnsmasq-dhcp[499]:…

dotslash
- 219
- 3
- 16
-1
votes
1 answer
How to have a local dns server with no conflict with internet addresses?
I need a local dns server on an ubuntu server to resolve name of local servers. I used dnsmasq, but the problem is that it tries to resolve all addresses (for example http://serverfault.com) and resolve it with a wrong ip address.
How should I make…

saeed
- 119
- 6
-1
votes
1 answer
How to setup open/public DNS server in a secure way?
For a custom application (retrieving data from embedded sensors), I need to create a fake DNS entry to redirect the requests to my servers.
I want to setup a DNS server so the users just have to change their routers DNS settings for joining.
I need…

user1219721
- 487
- 1
- 6
- 15
-1
votes
1 answer
dnsmasq content filter
Is it possible so use dnsmasq as a selective content filter (just for specified clients - defined by their MAC address)
I know how to create a global content filter.
I know that a proxy should be used for this kind of stuff but I'm looking for a…

Mission
- 99
- 1
-1
votes
1 answer
Access Internal IP by Sub-domains
I'm trying to access applications with internal IPs via subdomains from outside.
From my research, when it comes to http running apache, it seems feasible with a DNS server inside.
How to point sub-domains to different local IP
However, what if the…

Seandex
- 99
- 2
-1
votes
1 answer
Chaining DNS Servers, looking for the single positive answer and ignoring the negative ones
I have a situation where I need to use 4 DNS servers + 1 external server(ISP or 8.8.8.8). While the normal DNS client is only considering the first answer from the DNS Servers whatever that is an IP or Not Found, my request will never "arrive" at…
-1
votes
1 answer
Is it possible to resolve a public domain in local network?
Is it possible to resolve a public domain (ex: http://example.com/ ) in local network ?
The local network has a server which hosted a website with domain http://example.com/.
The local network is connected to internet
If I enter http://example.com/…

krishna
- 9
- 1
-1
votes
1 answer
IPv6 dnsmasq dig refused
I'm trying to enable both IPv4 and IPv6 stack on SUSE 15 environment. I've assigned both IPv4 and IPv6 addresses to the same interface using /opt/vmware/share/vami/vami_set_network. Both IPv4 and IPv6 addresses are pingable.
Now I need to enable dns…

cynkiller
- 1
- 1
-2
votes
1 answer
DNS requests made for an HTTPS website don't go through dnsmasq
I'm trying to set up dnsmasq to block some websites, but it only works when accessing that site via http and not when accessing it via https.
Is it somehow not possible to block https requests via dnsmasq?

DomeWTF
- 127
- 2
-2
votes
1 answer
Clear DHCP lease on disconnect
I have a rather specific situation where i'm at a bit of a loss on how to do things properly so i figured it was time to ask for help.
Situation is: i have a Raspberry Pi with a 3G modem as well as hostapd and dnsmasq installed. This means that when…

Jacob K
- 101
- 1
-2
votes
1 answer
dnsmasq: specific domain and subdomain to specific folders
I'm creating a website on my Raspi 3 and I want to link domains with the html folder to make it easier to access in the local network.
I want to achieve the following:
mydomain.example -> 192.168.0.1/mydomain/
test.mydomain.example ->…

the_dani
- 107
- 2
-2
votes
3 answers
Configure DC & Firewall/ Router such that clients can use Internet even if DC is down?
How do Windows domain clients behave if the DC is offline?
Read this and am getting some symptoms. Curious about the answer for this scenario.
When my Windows Server 2012 R2 Essentials is down, clients can't go on the internet. Is there a way…