The first step is to set the network settings of your laptop to automatic / DHCP.
The goal is for the router to assign the correct addresses via DCHP.
What is your local DNS for a device?
By the way, no resolution of the LAN names will work this way.
At least not the addresses of the dd-wrt router ... which is bypassed with this setup...
So, I unticked the Recursive DNS Resolving (Unbound) (screenshot in attachment)
I have added the google dns to my laptop evenif i can't reach any sites (screenshot in attachment)
Automatic DHCP is configure on my laptop (screenshot in attachment)
My DNS server is 192.168.3.21
What can I do next ? I think I missed something...
Well, you have to remove the manually configured DNS entries on the laptop.
If the laptop does not receive the address 192.168.3.21 as DNS server via DHCP, then enter the address as static DNS 1.
This also works and I have already tested it.
I cleaned the laptop DNS (screenshot in attachment)
Then, i change the configuration of the DD-WRT with Static DNS 1 configured to point to my local dns server (sreenshot in attachment)
However, with this configuration, I can't reach local and world sites. Nothing work
I don't un derstand because before flashing my router to WRT, the DNS worked well and I didin't change the conf.
Well the screenshots from the notebook do not reflect your router settings.
If "use dnsmasq for DNS" is disabled then the Notebook cannot get 192.168.3.1 as DNS server because nothing is running there.
Restart the router / apply the settings correctly then the notebook will also receive the correct address...
But apart from that, so much information is missing here...
How is the network set up, what is your "local DNS" for a device?
How are the devices wired, are other routers / subnets used...?
So I don't know what this is going to be, impossible to say what exactly needs to be adjusted
So, I rebooted the router.
Then, I applied settings (screenshot attached).
My network can be also see on the screenshot.
I have the ISP box with only wired network that provide internet to DD-WRT (192.168.3.1) router.
From the DD-WRT, my laptop and the DNS server (192.168.3.21) are wired connected.
There is not subnet. In a closed futur, a meshed router will be install.
What do you mean by "My local dns" ?
Can I provide you more information ?
The reboot filled the right DNS Server (screenshot in attachment)
However, I can't access sites outside my private network...
Need I to add Google DNS in Static DNS 2 and Static DNS 3 ?
Please explain what kind of device "your DNS server" is.
Your notebook has now received the address 192.168.3.21 as its DNS server.
It communicates directly with this address on port 53.
If your notebook cannot resolve DNS, then your DNS server is not working properly.