DNSMasq - Incorrect DNS Server (solved)

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
Naovaz
DD-WRT Novice


Joined: 09 Apr 2018
Posts: 40
Location: Portugal

PostPosted: Tue Aug 14, 2018 15:28    Post subject: DNSMasq - Incorrect DNS Server (solved) Reply with quote
Hello Guys, I really need your help.

Router \ Model: Tp-link - TL-WR940ND v4
DD-wrt version: DD-WRT v3.0-r36596 std (08/14/1Cool

I'm using this router as a gateway, and with the configurations you can see in the images bellow.(must be loggedin)

Inside the router i have the dnsmasq files configured like so:

==dnsmasq.conf==
interface=br0,br1
resolv-file=/tmp/resolv.dnsmasq
strict-order
domain=asteroid.field
dhcp-leasefile=/tmp/dnsmasq.leases
dhcp-lease-max=282
dhcp-option=br0,3,192.168.2.1
dhcp-option=br1,3,192.168.3.1
dhcp-authoritative
dhcp-range=br0,192.168.2.2,192.168.2.251,255.255.255.0,1440m
dhcp-range=br1,192.168.3.2,192.168.3.31,255.255.255.224,60m
dhcp-host=<equipment.MAC>,Hubble,192.168.2.2,1440m
dhcp-host=<equipment.MAC>,Sputnik,192.168.2.3,120m
bogus-priv
conf-file=/etc/rfc6761.conf
stop-dns-rebind
add-mac
local=/asteroid.field/
cache-size=100
expand-hosts
no-resolv
server=1.1.1.1
server=1.0.0.1


==resolv.dnsmasq==

nameserver 192.168.2.1
nameserver 1.1.1.1
nameserver 1.0.0.1
nameserver 212.113.191.130
nameserver 62.169.70.160


yet when i go on https://www.dnsleaktest.com I get the results that you can see in the image bellow.(must be loggedin)

Why I am getting this Server (185.183.106.114 || no-mans-land.m247.com || UK Web.Solutions Direct Ltd) and not only the CloudFare servers ??

What can I do to make only CloudFare my DNS ?

Can anybody please help me ? I am really paranoid about this things and its driving me inssane.


_____________UPDATE_1_______________

This only happens on my descktop. Not in any other of my eqquipments, so its not a dd-wrt problem i think


On the DeskTop I can see that all the DNS configurations are automatic (obtained from router);
I already ran MallwareBytes, Avast Premium, Kapersky TDSSKiller, RogueKiller, and HitManProand none retrieved any inforation about mallware.

Every time search for a dns checker in the browser it allways reports some address from Spain. Has anybody ever experienced this ? Any recomendation ??

I am thinkcing about formating my Desktop...

_________________
Today, is allways a Good day!
________________________________
Atheros:
tp-link wr940N - Gateway \ DNSMasq \ AP


Last edited by Naovaz on Tue Aug 21, 2018 22:07; edited 1 time in total
Sponsor
Naovaz
DD-WRT Novice


Joined: 09 Apr 2018
Posts: 40
Location: Portugal

PostPosted: Thu Aug 16, 2018 17:10    Post subject: Reply with quote
_____________UPDATE_2_____________

After formatting my computer everything seems fine.
Atm dns leaks reports only my Cloudfare DNS Servers and Avast "Real Site" protection DNS Server.

_________________
Today, is allways a Good day!
________________________________
Atheros:
tp-link wr940N - Gateway \ DNSMasq \ AP
grc
DD-WRT User


Joined: 11 Jul 2018
Posts: 122

PostPosted: Fri Aug 17, 2018 7:52    Post subject: Reply with quote
check "forced dns redirection" in Setup/Basic setup, this redirect all requests to dnsmasq on your router.

for your br1 you can use forced dns redirection too, with 192.168.3.1 ip

when you use "no-resolve" with "server=" option, dnsmasq won't read resolv.dnsmasq, you don't need to specify static dns on Setup page
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6447
Location: UK, London, just across the river..

PostPosted: Fri Aug 17, 2018 8:56    Post subject: Reply with quote
i wouldn't touch anything with name Avast especially
Avast "Real Site" protection DNS Server you wont believe what kind of mess you can go in...

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Naovaz
DD-WRT Novice


Joined: 09 Apr 2018
Posts: 40
Location: Portugal

PostPosted: Fri Aug 17, 2018 14:44    Post subject: Reply with quote
Ok guys !
Thanks for your feedback !!

__________UPDATE_3___________________

Followed your guys advice.

- Removed Avast "Real Site" protection;
- Added Forced DNS Redirection and altered my dns configurations.

ATM everything seems fine.

_________________
Today, is allways a Good day!
________________________________
Atheros:
tp-link wr940N - Gateway \ DNSMasq \ AP
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
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 this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum