Re: DNS-over-TLS+DNSSEC support
Posted: Wed Mar 27, 2019 8:28 am
Okay, I'm sorry
- after the router's reboot, it self-adjusted - Gargoyle has it set that if you have "Allow NameCoin/OpenNIC Resolution" enabled, it will reset itself
. You have to realize that it is only an alternative to KNOT (UNBOUND) resolver and all communication must go through stubby (which I have already written). This is the only lack of dnsmasq daemon.
1) Set DNS from ISP by screenshot:

2) Edit /etc/config/dhcp configuration:
3) Insert rows into /etc/dnsmasq.conf configuration:
Log has no errors and looks like this:
Router Commands:
I have restarted it several times, the configuration is holding, errors aren't appearing in the log.
So now it should go. Let me know if you do.


1) Set DNS from ISP by screenshot:

2) Edit /etc/config/dhcp configuration:
Code: Select all
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '0'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'
option dnssec '1'
option dnsseccheckunsigned '1'
Code: Select all
no-resolv
server="127.0.0.1#5453"
Code: Select all
started, version 2.80 cachesize 150
DNS service limited to local subnets
compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC no-ID loop-detect inotify dumpfile
DNSSEC validation enabled
configured with trust anchor for <root> keytag 20326
configured with trust anchor for <root> keytag 19036
daemon.warn dnsmasq[18003]: warning: ignoring resolv-file flag because no-resolv is set
daemon.info dnsmasq-dhcp[18003]: DHCP, IP range 192.168.1.125 -- 192.168.1.174, lease time 2d
daemon.info dnsmasq-dhcp[18003]: IPv6 router advertisement enabled
using local addresses only for domain test
using local addresses only for domain onion
using local addresses only for domain localhost
using local addresses only for domain local
using local addresses only for domain invalid
using local addresses only for domain bind
using local addresses only for domain lan
using nameserver 127.0.0.1#5453
read /etc/hosts - 48 addresses
read /tmp/hosts/dhcp.cfg01411c - 3 addresses
daemon.info dnsmasq-dhcp[18003]: read /etc/ethers - 45 addresses
Code: Select all
BusyBox v1.28.4 () built-in shell (ash)
------------------------------------------------------------------
| _____ _ |
| | __ \ | | |
| | | \/ __ _ _ __ __ _ ___ _ _| | ___ |
| | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \ |
| | |_\ \ (_| | | | (_| | (_) | |_| | | __/ |
| \____/\__,_|_| \__, |\___/ \__, |_|\___| |
| __/ | __/ | |
| |___/ |___/ |
| |
|----------------------------------------------------------------|
| Gargoyle version 1.11.X | OpenWrt 18.06 branch |
| Gargoyle revision 3b74ef1f| OpenWrt commit 806b570 |
| Built February 13, 2019 | Target mvebu/default |
------------------------------------------------------------------
root@TurrisOmnia:~# nslookup google.ca
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: google.ca
Address 1: 172.217.23.227
Address 2: 2a00:1450:4014:800::2003
root@TurrisOmnia:~# ping -c4 google.ca
PING google.ca (172.217.23.227): 56 data bytes
64 bytes from 172.217.23.227: seq=0 ttl=55 time=5.321 ms
64 bytes from 172.217.23.227: seq=1 ttl=55 time=4.779 ms
64 bytes from 172.217.23.227: seq=2 ttl=55 time=5.234 ms
64 bytes from 172.217.23.227: seq=3 ttl=55 time=5.008 ms
--- google.ca ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 4.779/5.085/5.321 ms
root@TurrisOmnia:~#
So now it should go. Let me know if you do.