[Dnsmasq-discuss] Fwd: dnsmasq localise-queries + addn-hosts

Jake Howard jake+dnsmasq at theorangeone.net
Thu Mar 19 21:47:46 GMT 2020


Hello!

Is `localise-queries` meant to work against entries added via 
`addn-hosts`? Querying a record returns both IPs, but always in the same 
order. The order is correctly fixed when the records are put in 
`/etc/hosts` directly.

Config:

```
localise-queries
no-resolv
cache-size=10000
log-queries
log-facility=/var/log/pihole.log
local-ttl=2
log-async
server=8.8.8.8
server=8.8.4.4
server=1.1.1.1
server=1.0.0.1
interface=eth0
server=/use-application-dns.net/

addn-hosts=/etc/vpn-hosts.conf
localise-queries

```

This is from pihole, but AFAIK that shouldn't make a difference if I'm 
modifying the config directly.

Would appreciate some input, or being told i'm wrong!

Thanks,

- Jake Howard


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20200319/13670061/attachment.html>


More information about the Dnsmasq-discuss mailing list