Questions tagged [dnsmasq]

dnsmasq is a lightweight DHCP, DNS and TFTP server application for *nix platforms intended for use on small and home networks.

425 questions
0
votes
1 answer

Resolving Domain Name to Private IP AND Public IP Simultaneously

Background (Skip if not interested) I have a dev server running in my local network. I can reach it easily by private IP (192.168.2.4). I have my firewall ports open on the server for :80 so I can reach my website. So far no problems at all. I then…
GoreDefex
  • 133
  • 1
  • 11
0
votes
1 answer

UEFI-based laptops not displaying the iPXE boot menu

UEFI-based laptops not displaying the iPXE boot menu I'm testing iPXE to replace the old PXE solution. For my test environment, I'm using CentOS 8 with iPXE, Dnsmasq and Apache installed from the repository. Dnsmasq is configured as a dhcpProxy…
Merl
  • 1
0
votes
1 answer

Is there a DNS cache that can automatically re-resolve its cache around the TTL timeout?

This is for a server setup with a wobbly upstream DNS for company internal server names. Sometimes, when an entry has fallen from the cache due to TTL, and our system tries to resolve it, the upstream doesn’t answer; then our system sort of falls…
Henk Poley
  • 165
  • 5
0
votes
0 answers

upstream timed out (110: Connection timed out) while proxying connection - Nginx/Raspberry Pi/Ubuntu 20.04

I cannot find any help with UDP, so I have come here to ask. I have a DNS cluster set up on Raspberry Pis running Ubuntu 20.04 and Nginx. The proxy is used for UDP on port 53. I am needing to put this into production, however, I'm weary because I…
DevOpsSauce
  • 348
  • 1
  • 5
  • 22
0
votes
1 answer

DNSmasq Forward DNS on Multiple Interfaces

I am using hostapd to setup WiFi hotspot networks on my Ubuntu 18.04. I am using this guide to setup multiple SSIDs on my WiFi interface. And to enable DHCP on the hotspot networks, I use dnsmasq. I run a separate instance of dnsmasq for each SSID.…
Human
  • 141
  • 1
  • 7
0
votes
1 answer

dnsmasq - prevent resolving non-existent hosts

I've installed dnsmasq DNS server on ubuntu instance and added domain name in the configurations. It is working fine except that it is resolving unkown hosts the same way it will do for the domain name. Here is my configurations: /etc/dnsmasq.conf #…
Kingindanord
  • 125
  • 1
  • 5
0
votes
1 answer

dnsmasq cache NOERROR with ANSWER: 0, AUTHORITY: 0

I use a public DNS provider (nextdns.io) that blocks some domains. These blocked domains return a response like this when dig-ed: ; <<>> DiG 9.16.1-Ubuntu <<>> example.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status:…
Collin Barrett
  • 115
  • 1
  • 7
0
votes
1 answer

How to fix strongSwan "no address range available for DHCP request via" error?

I am using the DHCP plugin with dnsmasq. $ cat /etc/dnsmasq.d/01-dhcp-loopback.conf interface=lo dhcp-range=10.0.2.10,10.0.2.254,255.255.255.0 port=0 $ cat /etc/ipsec.conf config setup charondebug="ike -1, knl -1, cfg -1" uniqueids=never conn…
sunknudsen
  • 701
  • 3
  • 14
  • 28
0
votes
0 answers

resolving local network DNS query from hostname rather than IP

I have a bunch of Debian VMs running on a Debian host, they're all connected through an internal private network. One of said VMs has static IP set to 10.0.0.1 and acts as a DHCP/DNS server running dnsmasq serving IP addresses to every machine on…
nxet
  • 101
  • 1
0
votes
1 answer

How do I set correct name resolution in dnsmasq on a per-client basis?

Here's the story: On my local network I'm using a Raspberry Pi with dnsmasq for name resolution and DHCP. Our household consists of two adults & two kids, and I'm looking at restricting internet access for the kids via OpenDNS. I've almost got this…
Kryten
  • 313
  • 1
  • 2
  • 9
0
votes
1 answer

DHCP within DNSMASQ not reached for IP address requests

Due to a device loss in the network, a new DNSMASQ configuration has been brought in on a different server. The server happens to be a Raspberry Pi 4B. Many devices are able to obtain IP addresses, but some (Windows 10 devices in particular) are…
Dennis
  • 167
  • 1
  • 12
0
votes
1 answer

Wrong grub2 prefix when booting over network

I have dnsmasq in proxy mode, serving pxe service and tftp server using this config: port=0 log-dhcp log-queries log-facility=/var/log/dnsmasq.log dhcp-range=192.168.0.0,proxy enable-tftp tftp-root=/tftp pxe-service=x86-64_EFI,boot,…
0
votes
1 answer

How can I setup dnsmasq wildcard cnames for domains generated from dhcp leases?

I have an OpenWRT router with automatic dhcp domains enabled. This way, for host example-host, I automatically get an A record for example-host.lan to 192.168.1.2. I am trying to setup a wildcard cname for *.example-host.lan. For this, dnsmasq…
0
votes
0 answers

dnsmasq DNS cannot be reached by local devices

I am currently working on a locally hosted website running on the free version of MAMP. I wanted to assign this website a domain name, hence i came across dnsmasq. I have set up the program using…
-1
votes
1 answer

Windows machine with 2 NICs

I have 2 networks connected to my work PC, we'll call them NET1 and NET2. NET1 has internet access and NET2 doesn't. NET1 is a work network which I have no control over. My work computer is connected to both NET1 and NET2 via Intel(R) Ethernet…
Niko_Jako
  • 3
  • 2