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

How can I setup a Wilcard DNS Entry on pfSense?

How can I set up Wildcard DNS on a pfSense embedded device running pfSense 2.0? Details: pfSense uses dnsmasq as a DNS forwarder Running the current pfSense release, 2.0 Running on a Netgate M1n1wall embedded firewall. I have root access via ssh…
Scott
  • 394
  • 2
  • 7
  • 18
3
votes
3 answers

How to downgrade dnsmasq?

after upgrating to ubuntu 11.04, I lost dnsmasq. When I run /usr/sbin/dnsmasq start I get dnsmasq: junk found in command line Apparently I need to downgrade dnsmasq but Package->Force version is not available for it in synaptic.
user45697
  • 135
  • 5
3
votes
2 answers
3
votes
0 answers

dnsmasq: How to set alias domain / multiple DNS suffixes for local hostname resolution?

Is it possible to set multiple search domains via dnsmasq/DHCP? Due to some migration, I need multiple clients to be able to: ping server.old-domain ping server.new-domain # both should work, .old-domain being an alias for .new-domain I have tried…
ramo
  • 31
  • 3
3
votes
1 answer

Configuring dnsmasq to filter A or AAAA queries

Can I configure dnsmasq to respond to either ipv4(A) or ipv6(AAAA) queries only? I am using dnsmasq to forward queries from an internal subnet to a WAN connection. Unfortunately, sometimes I will only have an ipv6 connection on the WAN interface,…
E. Ionescu
  • 31
  • 1
2
votes
3 answers

How to block DNS over HTTPS using IPtables

I've recently started using iptables for the first time on my OpenWrt, Linux based router. Out of the box the OpenWrt firewall is very good, however, after wanting to do more advanced things with the firewall such as forced DNS, iptables looked like…
willowen100
  • 31
  • 2
  • 10
2
votes
1 answer

Run 2 SSL servers on 1 debian Pi, both FQDNs,1 Nginx 1 apache, wrong certificate, is this SNI issue?

I'm forced to use Nginx on a.ddns.net and Apache for b.ddns.net (reverse proxy solution too tricky due to established setups). Real server names edited but both verified as resolving to same IP and SSL certs verified with OpenSSL. Existing setups…
awsbarker
  • 21
  • 1
2
votes
0 answers

Dynamic DNS (DDNS) updates from dnsmasq for use with bind9

Previously I ran dnsmasq on an OpenWRT to provide DNS and DHCP functionality, because this is, what it is intended for. I want to offload the DNS part to an already configured bind9 (running on Ubuntu), which is quite easy so far except the…
zeus
  • 21
  • 1
  • 6
2
votes
1 answer

SOCKS Proxy over DNS

I'm trying to implement something similar to the service provided by https://www.smartdnsproxy.com, where clients only need to change their DNS settings to connect to a HTTP/S or SOCKS5 proxy. I think I understand the individual components, but I'm…
2
votes
1 answer

Host DNS not working with docker container

I have a probleme with docker on my archlinux kernel Linux 4.19.31-1-lts #1 SMP Sun Mar 24 09:29:16 CET 2019 x86_64 GNU/Linux $ docker info return : $ docker info …
Kermito
  • 31
  • 1
  • 5
2
votes
0 answers

Cannot resolve some domains with dnsmasq

My machine runs ArchLinux, with NetworkManager and dnsmasq. Dnsmasq should forward all requests to Google's DNS 8.8.8.8, and therefore should simply act as a local cache in front of Google's DNS. For some odd reason, some domains like…
user168317
  • 145
  • 8
2
votes
1 answer

DNSmasq on 2 interfaces

SysInfo: ubuntu 18.04 external access point (with its own internal linux system) => interface ap1, IP: 192.168.13.1 external access point (USB stick) => interface ap0, IP: 192.168.12.1 hostapd running on ap0 dnsmasq running without being binded to…
ZioCain
  • 133
  • 1
  • 1
  • 9
2
votes
1 answer

Why making dnsmasq authoritative breaks CNAME resolution?

I have a CNAME set up in dnsmasq as cname=ch1-lampe-bureau.swtk.info,switch-3 It is resolved correctly (switch-3 is a device which gets its IP via DHCP from dnsmasq): root@rpi1 ~# host switch-3 switch-3 has address 10.200.0.123 root@rpi1 ~# host…
WoJ
  • 3,607
  • 9
  • 49
  • 79
2
votes
0 answers

Send a negative response to any AAAA DNS lookups

Neither my local networking equipment neither my ISP support IPv6. While some applications support restriction of DNS lookups to IPv4 addresses some others don't so these applications end up waiting until a timeout is triggered to proceed. I am…
tur1ng
  • 121
  • 4
2
votes
1 answer

How to let dnsmasq transfer a reverse zone?

Following the documentation for auth-zone, I tried to declare my dnsmasq server as authoritative for the 10.0.0.0/8 zone (I serve several IP sub-ranges in 10.x). Unfortunately, whatever I try I end up with Sep 07 14:37:36 bind named[6812]: transfer…
WoJ
  • 3,607
  • 9
  • 49
  • 79