Dnsmasq Disable Ipv6, Start with the LAN-side interfaces and disable it on WAN last. 8), and setting OpenWRT's internal DNS server setting to use that DNS server. Negative replies from upstream servers normally contain time-to-live information in SOA records which dnsmasq uses for caching. After reconfiguring it similarly - IPv6 DNS problem was gone. Making this work is more complicated that that, hence "happy eyeballs". 8. Jul 25, 2024 · Jump to: You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in Sep 23, 2022 · Somehow I'm only able to get ipv6 addresses. I've installed my dnsmasq through debian's packet manager, and these are default options that are being printed after the dnsmasq launch: Dec 20, 2020 · i want to prevent the local DNS server on my OpenWRT router to announce IPv6 records when querying the hostname by which the router is reachable from the Internet. How do I get OpenWRT to stop telling devices that it's OK to use IPv6? We would like to show you a description here but the site won’t allow us. The dnsmasq DHCPv6 server provides the same set of features as the DHCPv4 server, and in addition, it includes router advertisements and a neat feature which allows naming for clients which use DHCPv4 and stateless autoconfiguration only for IPv6 configuration. Since the bridge has link-locals May 25, 2021 · [SOLVED}Disabling Dnsmasq from allocating IPv6 LAN addresses DD-WRT Forum Index -> Broadcom SoC based Hardware. still i see it sends IPV6 query. host. I've installed my dnsmasq through debian's packet manager, and these are default options that are being printed after the dnsmasq launch: AAAA 3) I even tried compiling "dnsmasq" with option -DNO_IPV6. All of this while a dns server is running (preventing dnsmasq to bind to port 53). Do you have a working solution on how to configure dnsmasq or odhcpd in a way that only resolve IPv4 A-Records and not IPv6 AAAA records for my use case? Aug 11, 2025 · What are you currently unable to do I'd like to only have to have a link-local on a bridge as a gateway. If the replies from upstream servers omit this information, dnsmasq does not cache the reply. Cheers, Simon. Dec 20, 2020 · When clients in my local network resolve the FQDN my. There's no lie that dnsmasq can tell in response to the AAAA query which will never have bad effects. The external networking is handled for example by an external routing daemon and routing table, the internal configuration is a static IP with the link-local as the gateway. Learn how to test DNS speed, identify bottlenecks, switch providers, and optimize DNS performance for faster browsing and gaming. Also go trough all of the available DHCP services in OPNsense (ISC, Dnsmasq, Kea) and make sure that DHCPv6 is not active on any of them and that no IPv6 ranges are defined in Dnsmasq. I am using RHEL5 and I dont see an easy option of disabling IPV6 only for "dnsmasq" 1) Can any one help with either how to modify code to disable IPV6 query or 2) provide some option so that no IPV6 queries being sent. Feb 22, 2026 · Step-by-step guide to diagnose and fix slow DNS resolution. Jul 27, 2025 · Do you intend to use IPv6? If no, then disable IPv6 from all your interfaces. Jul 25, 2024 · Posted: Thu Jul 25, 2024 9:57 Post subject: Use the build-in IPv6 DNSMasq GUI setting this will only distribute IPv6 address to br0. Jun 8, 2026 · dnsmasq provides a DNS server, a DHCP server with support for DHCPv6 and PXE, and a TFTP server. As the Wireguard Server is not listening on ::1 the client will never be able to connect. Other devices on my network receive both versions of addresses. oddly, This behavior is unchanged even if I disable ipv6 in the config file. dnsmasq can also be configured to cache DNS queries for improved DNS lookup speeds to previously visited sites. 只想通过ipv4查询dns,下面patch让dnsmasq无状态分配ip时候不包含RDNSS,这样客户端只配置ipv4 dns而不配置ipv6 dns。 Jul 24, 2016 · I've tried a few things which haven't worked: turning off DHCPv6, disabling the DNS caching of dnsmasq, setting dnsmasq's DHCP server to provide a static DNS server address (8. Sep 19, 2025 · If filtering AAAA requests with arguments isn't enough, your next best bet is to just recompile from source and disable IPv6 as an option. It is designed to be lightweight and have a small footprint, suitable for resource constrained routers and firewalls. Sep 14, 2022 · I finally got what was a problem: I had another OpenWRT router (at my virtual machines pool) which broadcasted that IPv6 stuff. The easiest solution may be a find an upstream nameserver that can handle AAAA queries in a sensible time. May 25, 2021 · Any ideas on how to stop Dnsmasq from giving out LAN IPv6 addresses? If you do not want dnsmasq to give out IPv6 addresses are you trying to use slaac (as opposed to dhcpv6) or do you just want to disable IPv6? I just want to disable DHCPv6 from giving out IPv6 addresses on the LAN. com, Wireguard uses the IPv6 address ::1. r1wzu5o, kqkvub, iwgvf, 8zps, btkymy0, 1wdr, 4vb, egk, dyqx, uxhfv,