collations_interrena
New Around Here
Hello,
I'm a beginner there trying to understand how things are working behind the scene about dns resolution on the router I'm using
I'm actually using dns privacy in Merlin with my AC-68U (latest firmware --> 386.3) and when I use tcpdump, I only see request on port 853 and none on port 53. So far so good about all my dns requests.
From what I can see into /tmp/etc/dnsmasq.conf :
no-resolv
servers-file=/tmp/resolv.dnsmasq
So dnsmasq is only using content of resolv.dnsmasq file as resolver.
We can see this into /tmp/resolv.dnsmasq :
server=127.0.1.1
So the resolver used by dnsmasq is 127.0.1.1
Making sense because I can also see this into the file /tmp/etc/stubby/stubby.yml :
[...]
resolvconf: "/tmp/resolv.conf"
[...]
listen_addresses:
- 127.0.1.1@53
[...]
So stubby is listening on tcp port 53 at 127.0.1.1 for all the request coming from dnsmasq (because dnsmasq use 127.0.1.1 as resolver as seen above)
The thing I don't understand is about the line "resolvconf: "/tmp/resolv.conf"" into stubby.yml
The content of this file is :
nameserver 9.9.9.9
nameserver 149.112.112.112
nameserver 127.0.1.1
The first two nameserver are the dns I've set on the WAN page with the GUI (quad9 dns). But why does stubby has a resolv.conf file into stubby.yml? Maybe to resolve DoT nameserver but I'm unsure about this.
And it's even more weird for me to see 127.0.1.1 into the file because it's the adress where stubby is listening itself.
I would appreciate any help to understand this.
I'm a beginner there trying to understand how things are working behind the scene about dns resolution on the router I'm using

I'm actually using dns privacy in Merlin with my AC-68U (latest firmware --> 386.3) and when I use tcpdump, I only see request on port 853 and none on port 53. So far so good about all my dns requests.
From what I can see into /tmp/etc/dnsmasq.conf :
no-resolv
servers-file=/tmp/resolv.dnsmasq
So dnsmasq is only using content of resolv.dnsmasq file as resolver.
We can see this into /tmp/resolv.dnsmasq :
server=127.0.1.1
So the resolver used by dnsmasq is 127.0.1.1
Making sense because I can also see this into the file /tmp/etc/stubby/stubby.yml :
[...]
resolvconf: "/tmp/resolv.conf"
[...]
listen_addresses:
- 127.0.1.1@53
[...]
So stubby is listening on tcp port 53 at 127.0.1.1 for all the request coming from dnsmasq (because dnsmasq use 127.0.1.1 as resolver as seen above)
The thing I don't understand is about the line "resolvconf: "/tmp/resolv.conf"" into stubby.yml
The content of this file is :
nameserver 9.9.9.9
nameserver 149.112.112.112
nameserver 127.0.1.1
The first two nameserver are the dns I've set on the WAN page with the GUI (quad9 dns). But why does stubby has a resolv.conf file into stubby.yml? Maybe to resolve DoT nameserver but I'm unsure about this.
And it's even more weird for me to see 127.0.1.1 into the file because it's the adress where stubby is listening itself.
I would appreciate any help to understand this.