[Dnsmasq-discuss] How do I disable the RDNS in the RA without disabling the DNS itself?

Simon Kelley simon at thekelleys.org.uk
Sun Dec 6 22:40:54 GMT 2020


On 05/12/2020 22:47, Kristof Mattei wrote:
> Hi all!
> 
>  
> 
> I have a dual stack network.
> 
>  
> 
>   * IPv4:
>       o Subnet: 192.168.1.1/24, with DNSMASQ on 192.168.1.1 providing
>         the DHCP.
>       o DHCP via DNSMASQ
>       o DNS address 192.168.1.10 is sent to clients with dhcp-options.
>         This allows me to see which client queries which addresses.
>       o DNS provided by pi-hole, configured to do conditional forwarding
>         to DNSMASQ (192.168.1.1) for my home network so I can see client
>         names.
>   * IPv6:
>       o SLAAC via DNSMASQ
>       o (this is the problem) I don’t want it to broadcast an RDNS
>         address as part of the RA.
> 
>  
> 
> The only way I found out to disable the RDNS part of the RA is by
> setting the port to 0, essentially disabling the DNS part of DNSMASQ.
> Problem is that this breaks pi-hole’s capability to do conditional
> forwarding to find out client names.
> 
>  

The RDNS address is the same as the one used for the DHCPv6 DNS server
option, which, as you found, defaults to the dnsmasq server, but you can
configure to be nothing at all, and suppress the RDNS option.


dhcp-option=option6:dns-server

Cheers,

Simon.


> 
> *Is there a way to disable RDNS in IPv6 WITHOUT disabling the DNS part
> itself? *
> 
> * *
> 
> Thanks!
> 
>  
> 
> -Kristof
> 
>  
> 
>  
> 
> PS:
> 
> Due to Docker’s inability to get link-local addresses on a macvlan (I
> cannot set a fixed, public prefix, as mine changes) I cannot assign an
> IPv6 address to pi-hole. Otherwise I’d do that.
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list