I added verbose() at the end of kresd conf, don't see any verbose output. Is
that the right place to add? Attaching conf and my resolver results.
Thanks,
Bala
On Wednesday, October 14, 2020 1:27:04 PM EDT Vladimír Čunát wrote:
Hello.
On 10/14/20 6:12 PM, Balakrishnan Balasubramanian wrote:
I am not able to resolve some domains [...]. Is
there way to debug this?
On a quick try I see no problems with resolving this domain. Generally
it's surest to get a verbose log for the failing request.
https://knot-resolver.readthedocs.io/en/stable/config-logging-monitoring.htm
l#verbose
--Vladimir
❯ khost -t A costco.ca 1.1.1.1
costco.ca. has IPv4 address 170.167.117.82
❯ khost -t A costco.ca 127.0.0.1
;; WARNING: response timeout for 127.0.0.1@53(UDP)
;; WARNING: response timeout for 127.0.0.1@53(UDP)
;; ERROR: failed to query server 127.0.0.1@53(UDP)
❯ khost -t A google.ca 127.0.0.1
google.ca. has IPv4 address 172.217.165.3
❯ cat /etc/knot-resolver/kresd.conf
-- SPDX-License-Identifier: CC0-1.0
-- vim:syntax=lua:set ts=4 sw=4:
-- Refer to manual:
https://knot-resolver.readthedocs.org/en/stable/
-- Network interface configuration
net.listen('127.0.0.1', 53, { kind = 'dns' })
net.listen('127.0.0.1', 853, { kind = 'tls' })
net.listen('::1', 53, { kind = 'dns', freebind = true })
net.listen('::1', 853, { kind = 'tls', freebind = true })
net.listen('172.17.0.1', 53, { kind = 'dns', freebind = true })
-- Load useful modules
modules = {
'hints > iterate', -- Load /etc/hosts and allow custom root hints
'stats', -- Track internal statistics
'predict', -- Prefetch expiring/frequent records
}
-- Cache size
cache.size = 100 * MB
verbose()
❯