Skip to main content

All Questions

Tagged with
21 votes
7 answers
57k views

Using dnsmasq with NetworkManager

It was well known that NetworkManager does not play well with dnsmasq (ref: here). I've skimmed throught the lengthy discussion here but still not sure what the recommended way to deal with the ...
xpt's user avatar
  • 8,851
5 votes
2 answers
29k views

Get all the IP addresses given out by DHCP Server with dnsmasq and hostapd

I have created a systemd service for the hostapd application on Raspbian Jessie Lite. The source code is similar to this GitHub Gist but with IP addresses ranging in the 192.168.50.x/24. Everything ...
Shan-Desai's user avatar
4 votes
1 answer
8k views

Get dnsmasq to automatically register hostnames in its DHCP network on its DNS

I have configured dnsmasq to dish out 10.0.0.* addresses to hosts on an ethernet LAN. The hosts on this network request static IP addresses using DHCP from the dnsmasq server running on 10.0.0.1. They ...
Magnus's user avatar
  • 139
3 votes
1 answer
2k views

DNSMasq refuse to assign correct address

I think I'm getting crazy. I have my tiny server running dnsmasq nicely for years, doing its job nicely. Yesterday I added new host/interface to the network and I am trying to configure it with dhcp-...
Ren's user avatar
  • 186
3 votes
0 answers
2k views

dnsmasq is providing the same IP to two different clients

Consider the following dnsmasq config (used for a VPN server which is on a tap interface tap_vpn0): dhcp-ignore-names dhcp-generate-names dhcp-sequential-ip interface=tap_vpn0 dhcp-range=192.168.120....
Evengard's user avatar
  • 1,794
2 votes
7 answers
19k views

How to skip pushing the default gateway via DHCP in OpenWRT?

I have a router with OpenWRT that I want to resolve IP addressing with DHCP without setting a default gateway. I have added a DHCP-Option parameter with value 3,0.0.0.0 that is supposed to set the ...
francadaval's user avatar
2 votes
2 answers
4k views

In OS X, how can I prepend 127.0.0.1 to the list of DNS servers obtained through DHCP?

I am trying to use dnsmasq to resolve certain known domains using its configuration, but let the rest of the requests go through to the normal DNS server assigned by DHCP. I cannot get this to work. ...
Michiel van Oosterhout's user avatar
2 votes
1 answer
2k views

How to use dnsmasq address directive while having different nameservers for each lan interface

I have always used dnsmasq to point a subdomain to my local dev machine at the router/network level. address=/dev.example.com/192.168.1.80 I have now setup two vlan interfaces for other purposes (i....
m59's user avatar
  • 123
2 votes
1 answer
3k views

DNS server for home network without using resolv.conf, google dns, nor transfers

I have tried using bind9 and dnsmasq. I also set the server machine to have a static ip address. The OS is Ubuntu 18.04. I want to access the domain on Windows 7 and 10 machines. I have tested, and my ...
dboggs95's user avatar
  • 121
2 votes
1 answer
2k views

Locate Host Name on LAN with DNSMasq

I am running DNSMasq as both my DHCP and DNS server on my DD-WRT router. I had thought that DNSMasq was adding hosts that it registered in DHCP to the DNS server automatically, but I have a few ...
palswim's user avatar
  • 3,531
2 votes
0 answers
1k views

Windows not recognizing local network domain name

I'm setting up a small network for a club that I'm a member of. The layout is a single server with two ethernet interfaces, connected to a wireless router and a wireless bridge. The bridge connects to ...
names's user avatar
  • 21
1 vote
1 answer
2k views

dnsmasq DNS resolution issues

Pulling my hair for days here setting up DNS and DHCP with dnsmasq and the new way of doing things with netplan. WAN-router is on 192.168.0.1 - works fine LAN-router (Ubuntu 18.04) received 192.168.0....
Phil's user avatar
  • 141
1 vote
1 answer
1k views

dnsmasq assigns the same IPv4 address for different hosts

I have a problem with dnsmasq DHCP server on Linux. I use Arch Linux as operation system for a server and clients. They are virtual machines if it does matter. The problem is that dnsmasq assigns the ...
zenno2's user avatar
  • 145
1 vote
1 answer
2k views

dnsmasq: forward local domain when not on dhcp

I have a dnsmasq server running on my router, which handles both dhcp and dns (caching, forwarding). I configured my local domain: domain=example.com. I can resolve local dhcp hostnames: dig +short ...
jomority's user avatar
1 vote
1 answer
1k views

Home Router (DD-WRT) and using DMASQ for a host via dynamically assigned via DHCP

I have a home Home Router (DD-WRT) and I want to be able to look up machines via hostname. However, I would like to do this with machines where the IP Address id dynamically given via DHCP. Example ...
Roy Rico's user avatar
  • 5,948

15 30 50 per page