dnsmasq

dnsmasq pool without assigned ip

dnsmasq pool without assigned ip I have a simple dnsmasq v2.80 in an embedded device which I want to use as DHCP server for autoprovisioning purposes. I want two pools (one static and one dynamic) What I have is this one: # # main dnsmasq config file # user=nobody group=nogroup log-dhcp dhcp-authoritative dhcp-rapid-commit no-dhcp-interface=lo dhcp-name-match=set:wpad-ignore,wpad …

Total answers: 1

Optimal scheduler for a raspberrypi only running dnsmasq

Optimal scheduler for a raspberrypi only running dnsmasq What would be the optimal scheduler settings for a RaspberryPi2 running as a DHCP/DNS only server (dnsmasq). How to minize wear on the SD card? Asked By: theking2 || Source the scheduler has no influence on the amount of IO usage your SD card sees. So, that …

Total answers: 1

dnsmasq is not logging dns queries

dnsmasq is not logging dns queries Here’s how I am debugging this issue from the command line: $ dnsmasq –no-daemon –log-queries Putting the log-queries option in the config file and running it as a daemon still showed nothing on the log file. I am expecting that when I do dig example.com, it should show up. …

Total answers: 2

Linux 5GHz access point REGULATORY DOMAIN problem (debian+ hostpad + dnsmasq)

Linux 5GHz access point REGULATORY DOMAIN problem (debian+ hostpad + dnsmasq) I am getting problems setting a 5GHz access point with a lattepanda 3d. I run the following setup: Debian Hostapd Dnsmasq iw (for set/get reg dom) In the end I am able to successfully test a 2,4 GHz AP setup. No way to get …

Total answers: 1

Can't ping devices on LAN

Can't ping devices on LAN I’ve got 2 Access Points attached to my laptop’s ethernet port via a PoE switch. I’ve assigned static IPs & names to them with dnxmasq (successfully, I believe). However, ping and ssh say they’re unreachable. So what have I missed, and how can I successfully ping 10.0.0.10? More info: The …

Total answers: 1

Dynamic IP with dnsmasq

Dynamic IP with dnsmasq I am building a black box NAS for a friend, that is going to run a few docker containers with things like NextCloud and a few other services. By black box I mean that it should be setup in a way that no configuration is required, it’s just going to be …

Total answers: 1

Leasequery response in dnsmasq

Leasequery response in dnsmasq I am trying to get leasequery response from dnsmasq server. This is the content of the /etc/dnsmasq.conf file: port=0 interface=eth1 bind-interfaces listen-address=1.0.1.4 dhcp-range=1.0.1.100,1.0.1.122,10m dhcp-host=00:11:22:33:44:55,1.0.1.101,30m dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases dhcp-authoritative The lease file is empty. I started my dnsmasq server with dnsmasq The version I am currentl using is 2.82 The pcap I get contains …

Total answers: 2

nmcli hotspot dhcp not working

nmcli hotspot dhcp not working I have ubuntu server arm64 22.04 running on a raspberry pi for use as a wifi hotspot with the internet connection provided by a cellular modem. I’m using networkmanager and modemmanager to manage the connections. All packages are updated. I have been able to create a wifi hotspot using nmcli …

Total answers: 2

libvirt/qemu guest VM sometimes needs several tries for DNS resolution

libvirt/qemu guest VM sometimes needs several tries for DNS resolution I’m running libvirt/qemu, with arch host OS and win10 guest OS. For a while I was using the default network configuration, but I started having problems with certain domain names not resolving. I have a work VPN, which has its own private DNS. It was …

Total answers: 2

dnsmasq gives "unknown interface"

dnsmasq gives "unknown interface" I am attempting to run a dnsmasq instance (in addition to the system wide instance on Ubuntu 18). I ran it once and it worked fine. But then I killed it with kill -15 <dnsmasq_pid> Now whenever I try to run dnsmasq I get dnsmasq: unknown interface wlx00c0caa5587f But this interface …

Total answers: 2

How do I change the order in which systemd services are started up

How do I change the order in which systemd services are started up Ubuntu 18.04 server on my home network I’m running: dnsmasq for DHCP and DNS nginx as a reverse proxy to some web applications (running on localhost and on other hosts) The nginx reverse proxy config uses hostnames, eg: location / { proxy_pass …

Total answers: 2

dnsmasq not working after reboot

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:41:04 srvname systemd[1]: Starting dnsmasq – A lightweight DHCP and caching DNS server… Aug 11 17:41:04 srvname dnsmasq[488]: dnsmasq: syntax …

Total answers: 1

How to Add dnsmasq and keep systemd-resolved (18.04 to 20.04)

How to Add dnsmasq and keep systemd-resolved (18.04 to 20.04) I want to get fast dns resolution with dnsmasq and keep the default systemd-resolved. Looking for an elegant way to do this Asked By: cmak.fr || Source I wanted to get fast dns resolution with dnsmasq and keep the default systemd-resolved/NetworkManager setup untouched for future …

Total answers: 5

How can I set up local wildcard (127.0.0.1) domain resolution on 18.04..20.04?

How can I set up local wildcard (127.0.0.1) domain resolution on 18.04..20.04? On Ubuntu 14.04 I’m using dnsmasq to resolve wildcard example.com domains to the local machine (desktop computer at home). After much reading around I cannot for the life of me sort out the same on a clean install of 18.04. All I want …

Total answers: 5

Why does nslookup fail for DNS records set to a private address?

Why does nslookup fail for DNS records set to a private address? Setup On some networks I’m able to use nslookup to resolve a domain name that is pointed to a private ip address: @work> nslookup my192.ddns.net Server: 10.1.2.3 Address: 10.1.2.3#53 Non-authoritative answer: Name: my192.ddns.net Address: 192.168.20.20 However, on my home network this same query …

Total answers: 2

DNSMASQ refuses to start with "unknown interface error" even though the interface is up

DNSMASQ refuses to start with "unknown interface error" even though the interface is up A bizarre problem that I haven’t found anywhere else on the internet, hinting it’s probably me f’ing something up, but what? Trying to start dnsmasq.service, no matter if on boot or from user session when all network services are available and …

Total answers: 4

I can resolve a *.local domain, ping the IP, but I can't ping this domain

I can resolve a *.local domain, ping the IP, but I can't ping this domain I am trying to get *.local domains to use the DNS server with vagrant-dns. In order for that to work I set up dnsmasq to run in front of it. NetworkManager is installed but is set to dns=none resolve.conf: nameserver …

Total answers: 4

How to avoid conflicts between dnsmasq and systemd-resolved?

How to avoid conflicts between dnsmasq and systemd-resolved? I recently installed dnsmasq to act as DNS Server for my local network. dnsmasq listens on port 53 which is already in use by the local DNS stub listener from systemd-resolved. Just stopping systemd-resolved and then restart it after dnsmasq is running solves this issue. But it …

Total answers: 12

OpenWRT – Can't block DNS port (53) from WAN-LAN direction

OpenWRT – Can't block DNS port (53) from WAN-LAN direction I have a TP-Link WDR4300 router with OpenWRT BarrierBreaker (vargalex build ver. 1.1.7). I use due to my Raspberry (SMB, PMA, Plex, etc) DDNS (duckdns.org) to reach my Router outside of my LAN (I’ve tried to configure VPN on the router, but somehow I can’t …

Total answers: 2