[Dnsmasq-discuss] alias in conjunction with server

Xavier Zwirtz me at xavierzwirtz.com
Tue Feb 16 00:39:56 UTC 2021


Hello,

I am using dnsmasq to implement split dns for a wireguard vpn,
allowing only a subset of dns requests to be sent to the dns on the
wireguard server.

I would like to use the alias option to rewrite the responses from
10.100.0.1, but not any other responses. Is there any way to do that?

This is my current config for reference:

```
server=/foo.bar/10.100.0.1
alias=192.168.1.0-192.168.1.255,10.100.1.0,255.255.255.0
```



More information about the Dnsmasq-discuss mailing list