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
7
votes
1 answer

** server can't find hostname.com nxdomain

I am trying to set up an apache web server on my vm and im running into some issues. When I do an 'nslookup' on the hostname of the machine this is what I get: nslookup rhel64.xxxxx.xxxxx.com Server: xxx.xxx.32.1 Address: …
PT_C
  • 1,178
  • 5
  • 24
  • 57
6
votes
1 answer

dnsmasq - problem with service status on Apple Silicon M1

It's start. It's working. But status is unknown. $ brew services list Name Status User Plist dnsmasq unknown root /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist $ ping test90.local PING test90.local (127.0.0.1): 56 data bytes 64 bytes from…
sb84
  • 61
  • 1
  • 2
6
votes
2 answers

Can any caching DNS servers refresh their cache asynchronously?

We run a latency-sensitive system. We found one significant cause of latency: some processes were making blocking DNS lookups to remote nameservers. To mitigate this, we have installed a local caching DNS resolver, specially dnsmasq. But we still…
jameshfisher
  • 34,029
  • 31
  • 121
  • 167
6
votes
1 answer

Linux to Android Bluetooth Tethering (PAN)

I'm having a bluetooth enabled [embedded] Linux device and would like to share it's internal Network (NOT connected to the internet) via Bluetooth to Android devices (tried Android 6.x and now 7.1.2 - Lineage OS [rooted]). The setup already works…
Stefan W.
  • 71
  • 1
  • 5
5
votes
1 answer

CONSUL DNSMASQ issue

I am testing DNS using Consul on RedHat Linux. I have a problem that when I try to "dig {service name}" it does not work. I have a local Consul agent running and listening on 8600 for DNS. I also have configured DNSMASQ to forward the .consul…
5
votes
1 answer

Dnsmasq changing from working .dev to .local

I have configured dnsmasq on mac os high sierra with *.dev domains to point to 127.0.0.1 and it all worked great. But now I want to change my localhost domains from *.dev to *.local, so I changed it in dnsmasq.confg file and created a resolver…
Sohail
  • 2,058
  • 7
  • 33
  • 57
5
votes
1 answer

Resolvconf does not add search domains to queries with dots

What I'm trying to do I'm using Consul for dns, with dnsmasq acting as the proxy (https://www.consul.io/docs/guides/forwarding.html). As well as querying consul directly (nslookup my.service.consul), I also want to be able to query without the…
Alastair Brayne
  • 731
  • 1
  • 9
  • 22
5
votes
0 answers

dnsmasq address forwarding to host name

I need to forward dns requests using the wildcard address=/#/xxx.xxx.xxx.xxx method. This works fine when the ip address of the forwarded server is static, but the ip address is dynamic and I can only therefore use it's hostname. This will work to…
crankshaft
  • 2,607
  • 4
  • 45
  • 77
5
votes
2 answers

How to specify two or more gateways in dnsmasq

I am using Dnsmasq on ubuntu12.04 for DHCP server.And in my LAN that has two routers,then I want to specify two gateways address for different devices.So does it support this function? And if it support, how to specify?
Wang Xiaoyu
  • 387
  • 3
  • 12
5
votes
1 answer

dnsmasq fixed subdomain with wildcard domains/tld

Is it possible to route all subdomain requests regardless of top level domain to a given ip with dnsmasq? I would like to get something like this to work. address=/dev.*/127.0.0.1 So any production url if prefixed with dev will route to my dev…
5
votes
3 answers

I can't restart my dnsmasq service, so my fog server won't work

I have a fog server set up in work, every now and then our useless internet fails and I have to reset the dnsmasq to get it working again, (don't have a dhcp server set up and can't modify the hubs settings so won't be doing this). Whenever I try…
5
votes
1 answer

Installing dnsmasq with Homebrew

I have installed dnsmasq using Homebrew. All seemed to go fine installing. After installing I followed the instructions... cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf sudo launchctl load…
Matt Fordham
  • 3,147
  • 10
  • 34
  • 51
5
votes
4 answers

Where is dnsmasq.conf in Android phone?

In the command line of Android, there are dnsmasq commands. But where are all the config files (dnsmasq.conf, dnsmasq.pid...)? As far as I try is creating my own configuration files and using the following command: dnsmasq…
TrisNguyen
  • 591
  • 3
  • 8
  • 15
4
votes
2 answers

Fresh Valet install not pinging .test

I'm trying to get Valet running on a new MacBook Pro running macOS 12.3. Homebrew, PHP, and Composer are all installed just fine and functioning (to the extent of my knowledge). However, once I installed Valet and tried to ping foobar.test it's not…
scferg5
  • 2,003
  • 5
  • 22
  • 28
4
votes
0 answers

Make the DNS server of docker container another docker container running DNSmasq

I have a set of docker containers created with docker compose, which creates a "user-defined" bridge network. One of these docker containers is running DNSmasq so we can define custom (internal) domain names to point to local IPs. Trouble is, none…
darda
  • 3,597
  • 6
  • 36
  • 49
1
2
3
19 20