Questions tagged [dnsmasq]

dnsmasq is a lightweight DHCP, DNS and TFTP server application for *nix platforms intended for use on small and home networks.

425 questions
1
vote
2 answers

dnsmasq not forwarding request to nameserver

I'm trying to run two instances of dnsmasq on a raspberry pi, I've gotten quite far. I'm currently trying to get the first dnsmasq server to forward any request it doesn't know the answer to to the second server but it only seems to be working if I…
Gelunox
  • 139
  • 1
  • 7
1
vote
1 answer

How to resolve dns in multiple name servers?

resolv.conf domain example.com nameserver 192.168.122.54 nameserver 192.168.124.44 Take this as the sample resolv.conf. The scenario is that the DNS tries to resolve in the first name server as mentioned, if it is not able to resolve it should try…
1
vote
0 answers

Trigger agreement page automatically when connecting to Captive Portal

I have a WiFi hotspot setup using Hostapd and Dnsmasq. Everything works great, but I'm trying to trigger the sort of Terms and Conditions page you might see at a hotel or coffee shop after you connect to their captive portal. Most modern devices…
1
vote
1 answer

How to understand dnsmasq logs?

I have dnsmasq installed on server and it is heavily used.I have following dnsmasq log in the /var/log/syslog when given the signal "SIGUSR1" Jul 16 13:45:50 server1 dnsmasq[427008]: time 1531748750 Jul 16 13:45:50 server1 dnsmasq[427008]: cache…
sherpaurgen
  • 616
  • 6
  • 10
  • 26
1
vote
0 answers

dnsmasq: Job for dnsmasq.service failed

I cannot get dnsmasq working after the installation. The installation produces Job for dnsmasq.service failed. See 'systemctl status dnsmasq.service' and 'journalctl -xn' for details. error message. Hence reason it is not running. I removed and…
BentCoder
  • 331
  • 6
  • 21
1
vote
1 answer

Wildcard subdomain routing from WAN to LAN

My current setup: I don't have a static IP from my ISP, so I run my own ddns on a Google Cloud instance The ddns I'm running is a docker image from https://github.com/dprandzioch/docker-ddns, and I followed the instructions to configure the Google…
1
vote
3 answers

How to add a CAA record to dnsmasq?

I'm trying to add CAA records to my DNS server that uses dnsmasq, but haven't bee successfull. The CAA helper site tells me to use "--dns-rr=sitename" -option, but I have no idea where to put them. I tried adding it to /etc/dnsmasq.conf which gave…
nyoatype
  • 65
  • 1
  • 9
1
vote
1 answer

dnsmasq: Block manipulated dns responses pointing at captive portal site

After setting up a raspberry pi based router (behind two other routers) using debian stretch, iptables, dnsmasq and hostapd, I have come to learn a seemingly endless amount of interesting options that are by far not available in the proprietary…
1
vote
1 answer

Resolve DNS for a docker container with dnsmasq

I have a dnsmasq service that is currently bound to 127.0.0.1 pointing to my minikube instance like so: address=/.k8s.local/192.168.39.184 I'd like to run docker containers that will communicate with the minikube instance using the DNS I…
the_drow
  • 322
  • 2
  • 4
  • 11
1
vote
2 answers

How to block domains using Bind / Named for local protection?

I am trying to sinkhole/blackhole a list of domains using bind. I think my issue is using "Include" in the WRONG place on the conf. Can someone confirm the blacklist line of code is in the right place? include "/etc/rndc.key"; controls { inet…
JsEveryDay
1
vote
1 answer

sssd prevent particular backend servers

Just came across an interesting problem using sssd where I was able to getent someuser@example.com but getent group somegroup@example.com was failing. Ended up finding out with adcli info example.com that there were two DC's in the forest that were…
TryTryAgain
  • 1,152
  • 5
  • 22
  • 41
1
vote
1 answer

Configure dnsmasq to passthrough search domain to LXC guest? (Ubuntu 16.04)

Our network relies on DHCP tags to route clients to the correct upstream hosts without having to know the FQDN of those hosts. We use dnsmasq to set tags for clients by MAC address and then we push different search domains to the clients based on…
sagargp
  • 111
  • 4
1
vote
1 answer

When configuring dnsmasq for PXE booting, why do I need to change undionly.kpxe to undionly.0?

I have configured dnsmasq to PXE boot iPXE clients by referring them to a HTTP server (matchbox in this case). I have also configured it to deal with older PXE clients by placing a copy of iPXE in the root of my TFTP server to allow these older…
dippynark
  • 233
  • 3
  • 13
1
vote
2 answers

Assigning a hostname of the fqdn assigned to a dhcp client with dnsmasq?

I'm aware that you can assign static DNS entry names by doing the following in dnsmasq.conf: address=/wiki.leerdomain.lan/192.168.1.200 ptr-record=wiki.leerdomain.lan/192.168.1.200 and then assigning a static ip address using the mac address of the…
leeand00
  • 4,869
  • 15
  • 69
  • 110
1
vote
0 answers

Using DNSMasq to route hostname traffic to local hostname address

I have a particular setup where a Minishift VM is publishing some URLs accessible locally in a format such as: http://some_app.192.168.64.2.xip.io/ This address is only accessible locally and is the only way to access some_app. For some security…
Talisker
  • 11
  • 3