I have trying to replace dns part of dnsmasq with dnscrypt.
when I set port of dnsmasq to zero so that I can set dnscrypt at 53, the dns part works.
but the issue I get is that the lan IPs I set for my lan devices names like openwrt dont work.
I dont understand that?
I need dns and dhcp.
if I use dns of dnsmasq I get random errors.
If I disbable the dns port (53) on dnsmasq part in /etc/config/dhcp I lose dchp?
my issue is not finding an alternative dns server, as I already have.
my issue is that disabling via port zero on dnsmasq loses the dchp.
or at least the static lan IPs that I have set.
if disable dnsmasq then upon reboot I lose access to router.
again:
my issue is not dnscrypt.
my issue was with dns part of dnsmasq, that I tried to replace succesfully with dnscypt (or whatever else). but that also makes lan devices dont get static IPs.
The proper term here is "DHCP reservations." "Static IPs" are configured in an endpoint device directly and don't involve the router.
Is a dnsmasq process running? You may have misconfigured it in a way that it doesn't start.
When you don't need local DNS, dnsmasq can be replaced with odhcpd, which is a program that only does DHCP. Remove the ipv6only version of odhcpd and install the full version.
and I see on my phone that my phone has the correct ip.
but when I ping from my laptop or router(openwrt)
ping Mi-A2
ping: Mi-A2: Name does not resolve
I think I need to somehow tell dnscrypt to get the lan IPs from dhcp or something, I am not familiar with how that works.
but I think my laptop (or router) asks who is the Mi-A2 and dnscrypt answers that it doesn't know.