All Questions
24
questions
0
votes
1
answer
5k
views
dnsmasq DHCP lease time is only 2 min
All DHCPOFFERs I get from dnsmasq have a IP lease time of 2min and it ignores the options to change it.
More Details:
I have two routers on my network:
AVM FritzBox 7390 (192.168.0.1)
VDSL2 Modem
...
21
votes
7
answers
58k
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 ...
0
votes
1
answer
558
views
How to obtain reserved IP address from dnsmasq DHCP server?
I'm working on an assignment that asks me to connect 2 VMs to each other.
The first (king) functions as a DHCP server using dnsmasq.
The second (queen) is supposed to be provided with a reserved IP ...
0
votes
1
answer
674
views
Losing client side domain name resolution after rebooting the corresponding DHCP/DNS server based on 'dnsmasq'
As I'm far from an advanced network manager, please help me if you can.
Some weeks ago I 'reconfigured' my home network with a manageable DNS/DNS relay service to allow us to use home only domains ...
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 ...
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-...
0
votes
1
answer
413
views
pihole-FTL (dnsmasq) removes the default route when supplied with option 121
I have a Linux box that serves as a DHCP, DNS (via pihole-FTL) and WireGuard servers. I wanted to make the VPN network reachable from the network that device is on. After some research I found option ...
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 ...
1
vote
0
answers
247
views
dnsmasq - Disable integration of DHCP-configured hosts into the DNS
In a common dnsmasq installation, serving as both a DHCP server and a DNS server, the DHCP server integrates with the DNS server and registers the hostnames of DHCP-configured hosts into the DNS. For ...
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 ...
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....
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....
0
votes
0
answers
3k
views
Configuring Raspberry Pi as DHCP/local DNS server, Stretch vs Wheezy
I've been using dnsmasq as a DHCP server/resolver on an old Raspberry Pi, running wheezy, for years without any problems. I decided to upgrade to stretch and, at the same time, to a Raspberry Pi 3B+.
...
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 ...
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 ...
1
vote
2
answers
410
views
Distinguish between DNS-requests from local network and internet
I am using DNSmasq both for my local clients and some internet services. One service I provide is a dynDNS server. It receives IP updates via HTTP and writes it as simple hosts file but without domain....
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....
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 ...
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. ...
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 ...
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 ...
1
vote
3
answers
3k
views
Setting up DNS server inside network
OK so here's a little problem I have: I'm trying to set up my Raspberry Pi as a DNS server (for filtering and caching). The Raspberry Pi is in my network, and has a DHCP IP from the router. The DNS ...
1
vote
1
answer
676
views
DNS server returns valid IP, but browser can't find server?
OK so I have my Raspberry Pi running a DNS server (dnsmasq), and I have my router set up to use it as the DNS server for the whole network. This was working perfectly until a few hours ago when I ...
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 ...