Questions tagged [dnsmasq]

DNSMASQ QUESTIONS MUST BE PROGRAMMING RELATED. Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and, optionally, DHCP, to a small network.

DNSMASQ QUESTIONS MUST BE PROGRAMMING RELATED. Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and, optionally, DHCP, to a small network. It can serve the names of local machines which are not in the global DNS. The DHCP server integrates with the DNS server and allows machines with DHCP-allocated addresses to appear in the DNS with names configured either in each host or in a central configuration file. Dnsmasq supports static and dynamic DHCP leases and BOOTP/TFTP/PXE for network booting of diskless machines.

Dnsmasq is targeted at home networks using NAT and connected to the internet via a modem, cable-modem or ADSL connection but would be a good choice for any smallish network (up to 1000 clients is known to work) where low resource use and ease of configuration are important.

286 questions
3
votes
1 answer

Not able to use dnsmasq on macOS Catalina, pings result in `Unknown host` error

I'm trying to get dnsmasq up and running on my Macbook Pro (Catalina installed), but without any luck. Dnsmasq should help me with my local development projects without updating the hosts file constantly. At first I tried to get all local domains…
Erik van de Ven
  • 4,747
  • 6
  • 38
  • 80
3
votes
1 answer

mv Operation not permitted in terminal

English Description I tried to move files in my folder using the terminal, using this code: sudo mv dnsmasq / usr / sbin / As a result I get the following error: mv: rename dnsmasq to / usr / sbin / dnsmasq: Operation not permitted even though…
user13256550
3
votes
2 answers

Resolve docker container IP from host OS using container name

I have a non-containerized nginx instance serving as reverse proxy for containerized as well as non-containerized services. Since container IPs can change on reboot, I don't want to use them in the nginx config file. I was looking for a simple way…
Dojo
  • 5,374
  • 4
  • 49
  • 79
3
votes
2 answers

Docker container internal vs external dns resolution issue using Traefik

Docker 18.06.1-ce, traefik 1.7.3, dnsmasq, Mac 10.14 I have docker-compose setup with Traefik and need to access several services from inside the docker network/containers and externally. On a linux box (with Let'sEncrypt and http redirected to…
William
  • 705
  • 1
  • 6
  • 17
3
votes
0 answers

How to access the docker embedded dns from outside the docker network

I run a dnsmasq-service in my docker network, which does -- by intent -- not forward queries towards the docker embedded dns but serves as a resolver for openvpn clients that are connected to an openvpn server in the same docker network. Those…
darkmattercoder
  • 325
  • 6
  • 26
3
votes
0 answers

Valet: DNS address can not be found

My question is the same as this one from 2 years ago. I followed all the steps in this detailed answer with no luck. In addition I also restarted my machine and removed my anti-virus software (Just to be safe). Everything goes fine until I try to…
iicaptain
  • 1,065
  • 1
  • 13
  • 37
3
votes
2 answers

Map DNS entry to specific port

Let's say I have this DNS entry: mysite.sample. I am developing, and have a copy of my website running locally in http://localhost:8080. I want this website to be reachable using the (fake) DNS: http://mysite.sample, without being forced to remember…
blueFast
  • 41,341
  • 63
  • 198
  • 344
3
votes
0 answers

Building a Custom Khan Academy

I am a math teacher in a junior high classroom. I am interested in creating a customized Khan Academy-style website for my students to use next year. I have been doing a lot of research at this point and before I really sink my teeth into the…
NRobs
  • 39
  • 2
3
votes
4 answers

Valet Stopped Working after macOS High Sierra Upgrade from macOS Sierra

Upgrading the macOS from Sierra to High Sierra breaks working Valet installation. Ping works just fine, it is just *.dev on browser gives error that unable to connect, site cannot be connected. I have tried usual troubleshooting steps like…
Muhammad Asadullah
  • 3,735
  • 1
  • 22
  • 38
3
votes
1 answer

wildcard paths in dnsmasq?

Is it possible to set a wildcard * in a path pattern? address=.example.com/foo/*/bar does not seem to work. address=.example.com/foo/xxx/bar works but I have random characters I need to match for and I don't know what they are ahead of time.
chovy
  • 72,281
  • 52
  • 227
  • 295
3
votes
1 answer

I don't receive answers (dns replies) from dnsmasq

The title says it all : I don't receive answers (dns replies) from dnsmasq. I see Dnsmasq receives queries and treat them (in logs or verbose foreground), but nothing comes back. For example: stephane@mirror:/home/stephane doas dnsmasq -d -R…
22decembre
  • 549
  • 4
  • 8
  • 17
3
votes
0 answers

Laravel Valet + dnsmasq don't work (dnsmasq status error)

I've upgraded to Valet 2 and PHP 7.1. When I reinstall valet and ran valet install, dnsmasq didn't start. laravel brew services list Name Status User Plist dnsmasq error root…
Jakub Kratina
  • 644
  • 6
  • 14
3
votes
1 answer

dnsmasq - different tftp-root for each macaddress

Is it possible to address different tftp-roots inside dnsmasq.conf? Something like: IF MAC=19-4B-90-DA-1C-C3 THEN tftp-root=/tftpbootAB IF MAC=19-4B-90-DE-1C-B6 THEN tftp-root=/tftpbootCD I couldn't find this in the manual. I only found something…
baeckerman83
  • 325
  • 1
  • 4
  • 12
3
votes
1 answer

Query if service is running

How can I query if a service (dnsmasq) is running, in C?
Delan Azabani
  • 79,602
  • 28
  • 170
  • 210
3
votes
1 answer

Nginx + dnsmasq = 'could not be resolved (5: Operation refused)'

I'm trying to set up a django site using docker, nginx and uwsgi: I have a nginx docker container working as a reverse proxy (called ceca-nginx-proxy) where dnsmasq is running and another nginx (ceca-nginx) container that communicates with an uwsgi…
Pablo K
  • 125
  • 1
  • 10