Comments (8)
What is the configuration.
from smartdns.
This cause crashes
server-name smartdns
prefetch-domain yes
serve-expired yes
dnsmasq-lease-file /tmp/dhcp.leases
rr-ttl-min 600
log-size 64K
log-num 1
log-level error
log-syslog yes
audit-size 64K
audit-num 1
cache-persist yes
cache-file /etc/smartdns/smartdns.cache
mdns-lookup yes
resolv-file /tmp/resolv.conf.d/resolv.conf.auto
bind [::]:[email protected]
bind [::]:[email protected]
bind [::]:[email protected]
bind [::]:53@wireguard1
bind [::]:53@lo
bind-tcp [::]:[email protected]
bind-tcp [::]:[email protected]
bind-tcp [::]:[email protected]
bind-tcp [::]:53@wireguard1
bind-tcp [::]:53@lo
bind-tls [::]:[email protected]
bind-tls [::]:[email protected]
bind-tls [::]:[email protected]
bind-tls [::]:853@wireguard1
bind-tls [::]:853@lo
bind-https [::]:[email protected]
bind-https [::]:[email protected]
bind-https [::]:[email protected]
bind-https [::]:8443@wireguard1
bind-https [::]:8443@lo
bind-cert-file /etc/acme/[ROUTER DOMAIN]/fullchain.cer
bind-cert-key-file /etc/acme/[ROUTER DOMAIN]/[ROUTER DOMAIN].key
server 127.0.0.1:54 -group dnsmasq -exclude-default-group
server [2345::1234] -group isp -exclude-default-group
server-https 8.8.8.8/dns-query -tls-host-verify dns.google -host-name dns.google -host-name dns.google -http-host dns.google -group doh
server-https 1.1.1.1/dns-query -tls-host-verify cloudflare-dns.com -host-name cloudflare-dns.com -http-host cloudflare-dns.com -group doh
group-begin client-group-cfg03c5e9
client-rules 10.2.3.4
client-rules fd6a::2345:ab51
client-rules AA:AA:AA:AA:AA:AA
client-rules BB:AA:AA:AA:AA:AA
client-rules CC:BB:AA:AA:AA:AA
nameserver doh
speed-check-mode ping,tcp:80,tcp:443
dualstack-ip-selection yes
conf-file '/etc/smartdns/conf.d/ads.conf'
conf-file '/etc/smartdns/address.conf'
group-end
domain-set -name domain-block-list -file /etc/smartdns/domain-block.list
domain-rules /domain-set:domain-block-list/ -address #
conf-file /etc/smartdns/address.conf
conf-file /etc/smartdns/blacklist-ip.conf
conf-file /etc/smartdns/custom.conf
##### address.conf below
## address /{domain}/{addr},{addr},{addr}
expand-ptr-from-address yes
address /[ROUTER DOMAIN]/[ROUTER IP]
address /[AP DOMAIN]/[AP IP]
expand-ptr-from-address no
## nameserver /{domain}/{group}, use '-' to ignore
# nameserver /www.example.com/office, Set the domain name to use the appropriate server group.
nameserver /lan/dnsmasq
nameserver /openwrt.pool.ntp.org/isp
dualstack-ip-allow-force-AAAA yes
##### custom.conf below
# Add custom settings here.
# please read https://pymumu.github.io/smartdns/config/basic-config/
server 8.8.8.8 -bootstrap-dns
dnsmasq-lease-file /tmp/dhcp.leases # TODO this doesn't work
cache-file /tmp/smartdns.cache
cache-checkpoint-time 3600
group-begin AP
client-rules DE:EA:12:34:56:78
nameserver doh
# For some reason adding conf-file /etc/smartdns/address.conf here doesn't work either
expand-ptr-from-address yes
address /[ROUTER DOMAIN]/[ROUTER IP]
address /[AP DOMAIN]/[AP IP]
expand-ptr-from-address no
nameserver /lan/dnsmasq
nameserver /openwrt.pool.ntp.org/isp
dualstack-ip-allow-force-AAAA yes
group-end
This messes up doh/dot certs
server-name smartdns
prefetch-domain yes
serve-expired yes
dnsmasq-lease-file /tmp/dhcp.leases
rr-ttl-min 600
log-size 64K
log-num 1
log-level error
log-syslog yes
audit-size 64K
audit-num 1
cache-persist yes
cache-file /etc/smartdns/smartdns.cache
mdns-lookup yes
resolv-file /tmp/resolv.conf.d/resolv.conf.auto
bind [::]:[email protected]
bind [::]:[email protected]
bind [::]:53@wireguard1
bind [::]:53@lo
bind-tcp [::]:[email protected]
bind-tcp [::]:[email protected]
bind-tcp [::]:53@wireguard1
bind-tcp [::]:53@lo
bind-tls [::]:[email protected]
bind-tls [::]:[email protected]
bind-tls [::]:853@wireguard1
bind-tls [::]:853@lo
bind-https [::]:[email protected]
bind-https [::]:[email protected]
bind-https [::]:445@wireguard1
bind-https [::]:445@lo
bind-cert-file /etc/acme/[ROUTER DOMAIN]/fullchain.cer
bind-cert-key-file /etc/acme/[ROUTER DOMAIN]/[ROUTER DOMAIN].key
server 127.0.0.1:54 -group dnsmasq -exclude-default-group
server [2345::1234] -group isp -exclude-default-group
server-https 8.8.8.8/dns-query -tls-host-verify dns.google -host-name dns.google -host-name dns.google -http-host dns.google -group doh
server-https 1.1.1.1/dns-query -tls-host-verify cloudflare-dns.com -host-name cloudflare-dns.com -http-host cloudflare-dns.com -group doh
group-begin client-group-cfg03c5e9
client-rules 10.2.3.4
client-rules fd6a::2345:ab51
client-rules AA:AA:AA:AA:AA:AA
client-rules BB:AA:AA:AA:AA:AA
client-rules CC:BB:AA:AA:AA:AA
nameserver doh
speed-check-mode ping,tcp:80,tcp:443
dualstack-ip-selection yes
conf-file '/etc/smartdns/conf.d/ads.conf'
conf-file '/etc/smartdns/address.conf'
group-end
domain-set -name domain-block-list -file /etc/smartdns/domain-block.list
domain-rules /domain-set:domain-block-list/ -address #
conf-file /etc/smartdns/address.conf
conf-file /etc/smartdns/blacklist-ip.conf
conf-file /etc/smartdns/custom.conf
##### address.conf below
## address /{domain}/{addr},{addr},{addr}
expand-ptr-from-address yes
address /[ROUTER DOMAIN]/[ROUTER IP]
address /[AP DOMAIN]/[AP IP]
expand-ptr-from-address no
## nameserver /{domain}/{group}, use '-' to ignore
# nameserver /www.example.com/office, Set the domain name to use the appropriate server group.
nameserver /lan/dnsmasq
nameserver /openwrt.pool.ntp.org/isp
dualstack-ip-allow-force-AAAA yes
##### custom.conf below
# Add custom settings here.
# please read https://pymumu.github.io/smartdns/config/basic-config/
server 8.8.4.4 -bootstrap-dns
dnsmasq-lease-file /tmp/dhcp.leases # TODO this doesn't work
cache-file /tmp/smartdns.cache
cache-checkpoint-time 3600
group-begin AP
client-rules DE:EA:12:34:56:78
nameserver doh
# For some reason adding conf-file /etc/smartdns/address.conf here doesn't work either
expand-ptr-from-address yes
address /[ROUTER DOMAIN]/[ROUTER IP]
address /[AP DOMAIN]/[AP IP]
expand-ptr-from-address no
nameserver /lan/dnsmasq
nameserver /openwrt.pool.ntp.org/isp
dualstack-ip-allow-force-AAAA yes
group-end
bind [::]:[email protected]
from smartdns.
smartdns-build.zip
Some logs have been added, please get the relevant logs after running.
from smartdns.
Seems like the crash only occurs on dynamic builds. It works fine on the static build you provided.
I also tried the pkgs from https://github.com/PikuZheng/smartdns/releases and can confirm they share this issue with my builds.
from smartdns.
What is the log?
from smartdns.
Test config file
no-daemon yes
server-name [Domain name]
prefetch-domain yes
serve-expired yes
dnsmasq-lease-file /tmp/dhcp.leases
rr-ttl-min 600
log-size 64K
log-num 1
log-level debug
log-syslog no
log-file /tmp/tmp.CEMIgA/test.log
audit-size 64K
audit-num 1
cache-persist no
resolv-file /tmp/resolv.conf.d/resolv.conf.auto
bind [::]:[email protected]
bind [::]:[email protected]
bind [::]:[email protected]
bind [::]:531@entryway
bind [::]:531@lo
bind-tcp [::]:[email protected]
bind-tcp [::]:[email protected]
bind-tcp [::]:[email protected]
bind-tcp [::]:531@entryway
bind-tcp [::]:531@lo
bind-tls [::]:[email protected]
bind-tls [::]:[email protected]
bind-tls [::]:[email protected]
bind-tls [::]:953@entryway
bind-tls [::]:953@lo
bind-https [::]:[email protected]
bind-https [::]:[email protected]
bind-https [::]:[email protected]
bind-https [::]:445@entryway
bind-https [::]:445@lo
bind-cert-file /etc/acme/thecake-chf4mdwb.duckdns.org_ecc/fullchain.cer
bind-cert-key-file /etc/acme/thecake-chf4mdwb.duckdns.org_ecc/thecake-chf4mdwb.duckdns.org.key
server 127.0.0.1:5352 -group lan -exclude-default-group
server 10.4.3.2 -group loop -exclude-default-group
server [2345:1234::62] -group local
server-https [2620:fe::fe]/dns-query -tls-host-verify dns.quad9.net -host-name dns.quad9.net -http-host dns.quad9.net -group local
server-https 9.9.9.9/dns-query -tls-host-verify dns.quad9.net -host-name dns.quad9.net -http-host dns.quad9.net -group local
server-https 8.8.8.8/dns-query -tls-host-verify dns.google -host-name dns.google -http-host dns.google -group secure -set-mark 9000
server-https 1.1.1.1/dns-query -tls-host-verify cloudflare-dns.com -host-name cloudflare-dns.com -http-host cloudflare-dns.com -group secure -set-mark 9000
group-begin client-group-cfg03c5e9
client-rules [IP addr]
client-rules [Client MAC addr]
nameserver secure
speed-check-mode none
dualstack-ip-selection no
conf-file '/etc/smartdns/conf.d/client.conf'
conf-file '/etc/smartdns/conf.d/ads.conf'
conf-file '/etc/smartdns/address.conf'
group-end
domain-set -name domain-block-list -file /etc/smartdns/domain-block.list
domain-rules /domain-set:domain-block-list/ -address #
conf-file /etc/smartdns/address.conf
conf-file /etc/smartdns/blacklist-ip.conf
conf-file /etc/smartdns/custom.conf
Static build log
[2024-03-13 03:52:37,582][NOTICE][ smartdns.c:640 ] smartdns starting...(Copyright (C) Nick Peng <[email protected]>, build: 1.2024.03.11-2107 (Release45-8-ge706d1f-dirty))
[2024-03-13 03:52:37,586][ERROR][ dns_server.c:8690] add server, host-ip: [::]:[email protected], type: 2
[2024-03-13 03:52:37,586][ERROR][ dns_server.c:8690] add server, host-ip: [::]:[email protected], type: 2
[2024-03-13 03:52:37,586][ERROR][ dns_server.c:8690] add server, host-ip: [::]:[email protected], type: 2
[2024-03-13 03:52:37,586][ERROR][ dns_server.c:8690] add server, host-ip: [::]:531@entryway, type: 2
[2024-03-13 03:52:37,586][ERROR][ dns_server.c:8690] add server, host-ip: [::]:531@lo, type: 2
[2024-03-13 03:52:37,586][ERROR][ dns_server.c:8690] add server, host-ip: [::]:[email protected], type: 1
[2024-03-13 03:52:37,586][ERROR][ dns_server.c:8690] add server, host-ip: [::]:[email protected], type: 1
[2024-03-13 03:52:37,586][ERROR][ dns_server.c:8690] add server, host-ip: [::]:[email protected], type: 1
[2024-03-13 03:52:37,586][ERROR][ dns_server.c:8690] add server, host-ip: [::]:531@entryway, type: 1
[2024-03-13 03:52:37,586][ERROR][ dns_server.c:8690] add server, host-ip: [::]:531@lo, type: 1
[2024-03-13 03:52:37,586][ERROR][ dns_server.c:8690] add server, host-ip: [::]:[email protected], type: 1
[2024-03-13 03:52:37,588][ERROR][ dns_server.c:8690] add server, host-ip: [::]:[email protected], type: 1
[2024-03-13 03:52:37,589][ERROR][ dns_server.c:8690] add server, host-ip: [::]:[email protected], type: 1
[2024-03-13 03:52:37,590][ERROR][ dns_server.c:8690] add server, host-ip: [::]:953@entryway, type: 1
[2024-03-13 03:52:37,592][ERROR][ dns_server.c:8690] add server, host-ip: [::]:953@lo, type: 1
[2024-03-13 03:52:37,593][ERROR][ dns_server.c:8690] add server, host-ip: [::]:[email protected], type: 1
[2024-03-13 03:52:37,594][ERROR][ dns_server.c:8690] add server, host-ip: [::]:[email protected], type: 1
[2024-03-13 03:52:37,595][ERROR][ dns_server.c:8690] add server, host-ip: [::]:[email protected], type: 1
[2024-03-13 03:52:37,597][ERROR][ dns_server.c:8690] add server, host-ip: [::]:445@entryway, type: 1
[2024-03-13 03:52:37,598][ERROR][ dns_server.c:8690] add server, host-ip: [::]:445@lo, type: 1
[2024-03-13 03:52:37,600][DEBUG][ fast_ping.c:1454] ping 2001::, id = 1
[2024-03-13 03:52:37,600][DEBUG][ fast_ping.c:678 ] ping 2001:: end, id 1
[2024-03-13 03:52:37,600][ INFO][ dns_server.c:9293] IPV6 is ready, enable IPV6 features
[2024-03-13 03:52:37,601][ INFO][ dns_client.c:1272] add server 127.0.0.1:5352, type: udp
[2024-03-13 03:52:37,601][ INFO][ dns_client.c:1272] add server 10.4.3.2:53, type: udp
[2024-03-13 03:52:37,601][ INFO][ dns_client.c:1272] add server 2345:1234::62:53, type: udp
[2024-03-13 03:52:37,641][ INFO][ dns_client.c:1272] add server 2620:fe::fe:443, type: https
[2024-03-13 03:52:37,641][ INFO][ dns_client.c:1272] add server 9.9.9.9:443, type: https
[2024-03-13 03:52:37,641][ INFO][ dns_client.c:1272] add server 8.8.8.8:443, type: https
[2024-03-13 03:52:37,641][ INFO][ dns_client.c:1272] add server 1.1.1.1:443, type: https
[2024-03-13 03:52:53,076][DEBUG][ dns_server.c:7118] recv query packet from 10.5.1.1, len = 26, type = 0
[2024-03-13 03:52:53,076][DEBUG][ dns_server.c:7134] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 26, id = 24088, tc = 0, rd = 1, ra = 0, rcode = 0
[2024-03-13 03:52:53,077][DEBUG][ dns_server.c:7159] query bing.com from 10.5.1.1, qtype: 1, id: 24088, query-num: 1
[2024-03-13 03:52:53,077][DEBUG][ dns_server.c:6431] match client rule.
[2024-03-13 03:52:53,077][DEBUG][ dns_client.c:615 ] group [Client MAC addr] not exist, use default group.
[2024-03-13 03:52:53,077][DEBUG][ dns_client.c:3845] send query to server 1.1.1.1:443
[2024-03-13 03:52:53,077][DEBUG][ dns_client.c:2368] tls server 1.1.1.1 connecting.
[2024-03-13 03:52:53,077][DEBUG][ dns_client.c:3845] send query to server 8.8.8.8:443
[2024-03-13 03:52:53,078][DEBUG][ dns_client.c:2368] tls server 8.8.8.8 connecting.
[2024-03-13 03:52:53,078][DEBUG][ dns_client.c:3845] send query to server 9.9.9.9:443
[2024-03-13 03:52:53,078][DEBUG][ dns_client.c:2368] tls server 9.9.9.9 connecting.
[2024-03-13 03:52:53,079][DEBUG][ dns_client.c:3845] send query to server 2620:fe::fe:443
[2024-03-13 03:52:53,079][DEBUG][ dns_client.c:2368] tls server 2620:fe::fe connecting.
[2024-03-13 03:52:53,079][DEBUG][ dns_client.c:3845] send query to server 2345:1234::62:53
[2024-03-13 03:52:53,080][ INFO][ dns_client.c:4242] request: bing.com, qtype: 1, id: 4973, group: default
[2024-03-13 03:52:53,080][DEBUG][ dns_client.c:615 ] group [Client MAC addr] not exist, use default group.
[2024-03-13 03:52:53,080][DEBUG][ dns_client.c:3845] send query to server 1.1.1.1:443
[2024-03-13 03:52:53,080][DEBUG][ dns_client.c:3845] send query to server 8.8.8.8:443
[2024-03-13 03:52:53,080][DEBUG][ dns_client.c:3845] send query to server 9.9.9.9:443
[2024-03-13 03:52:53,080][DEBUG][ dns_client.c:3845] send query to server 2620:fe::fe:443
[2024-03-13 03:52:53,080][DEBUG][ dns_client.c:3845] send query to server 2345:1234::62:53
[2024-03-13 03:52:53,080][ INFO][ dns_client.c:4242] request: bing.com, qtype: 28, id: 52182, group: default
[2024-03-13 03:52:53,082][DEBUG][ dns_client.c:2599] recv udp packet from 2345:1234::62, len: 58, ttl: 58, latency: 2
[2024-03-13 03:52:53,082][DEBUG][ dns_client.c:1836] qdcount = 1, ancount = 2, nscount = 0, nrcount = 0, len = 58, id = 4973, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 0
[2024-03-13 03:52:53,082][DEBUG][ dns_client.c:1848] domain: bing.com qtype: 1 qclass: 1
[2024-03-13 03:52:53,082][DEBUG][ dns_server.c:4626] query result from server 2345:1234::62:53, type: 0, domain: bing.com qtype: 1 rcode: 0, id: 24088
[2024-03-13 03:52:53,082][DEBUG][ dns_server.c:3862] domain: bing.com TTL: 3599 IP: [Bing IP 1]
[2024-03-13 03:52:53,082][DEBUG][ dns_server.c:3296] ping [Bing IP 1] with icmp, order: 0, timeout: 944
[2024-03-13 03:52:53,083][DEBUG][ fast_ping.c:1454] ping [Bing IP 1], id = 2
[2024-03-13 03:52:53,083][DEBUG][ dns_server.c:3862] domain: bing.com TTL: 3599 IP: [Bing IP 2]
[2024-03-13 03:52:53,083][DEBUG][ dns_server.c:3296] ping [Bing IP 2] with icmp, order: 0, timeout: 943
[2024-03-13 03:52:53,083][DEBUG][ fast_ping.c:1454] ping [Bing IP 2], id = 3
[2024-03-13 03:52:53,083][DEBUG][ dns_client.c:2599] recv udp packet from 2345:1234::62, len: 54, ttl: 58, latency: 3
[2024-03-13 03:52:53,083][DEBUG][ dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 54, id = 52182, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 0
[2024-03-13 03:52:53,083][DEBUG][ dns_client.c:1848] domain: bing.com qtype: 28 qclass: 1
[2024-03-13 03:52:53,083][DEBUG][ dns_server.c:4626] query result from server 2345:1234::62:53, type: 0, domain: bing.com qtype: 28 rcode: 0, id: 0
[2024-03-13 03:52:53,083][DEBUG][ dns_server.c:3892] domain: bing.com TTL: 1944 IP: [Bing IPv6 1]
[2024-03-13 03:52:53,083][DEBUG][ dns_server.c:3296] ping [[Bing IPv6 1]] with icmp, order: 0, timeout: 946
[2024-03-13 03:52:53,084][DEBUG][ fast_ping.c:1454] ping [[Bing IPv6 1]], id = 4
[2024-03-13 03:52:53,122][DEBUG][ dns_client.c:3315] tls server 2620:fe::fe connected.
[2024-03-13 03:52:53,122][DEBUG][ dns_client.c:3320] new session
[2024-03-13 03:52:53,122][DEBUG][ dns_client.c:3205] peer CN: [Peer CN 1]
[2024-03-13 03:52:53,122][DEBUG][ dns_client.c:3251] cert SPKI pin(sha256): [SPKI 1]
[2024-03-13 03:52:53,132][DEBUG][ dns_server.c:3146] from [Bing IP 1]: seq=1 time=489, lasttime=-1 id=24088
[2024-03-13 03:52:53,132][ INFO][ dns_server.c:2612] result: bing.com, qtype: 1, rtt: 48.9 ms, [Bing IP 1]
[2024-03-13 03:52:53,132][DEBUG][ dns_server.c:2335] reply bing.com qtype: 1, rcode: 0, reply: 1
[2024-03-13 03:52:53,132][DEBUG][ dns_server.c:1188] result: bing.com, rtt: 48.9 ms, [Bing IP 1]
[2024-03-13 03:52:53,132][DEBUG][ dns_server.c:1665] cache bing.com qtype: 1 ttl: 3599
[2024-03-13 03:52:53,132][ INFO][ dns_server.c:2390] result: bing.com, client: 10.5.1.1, qtype: 1, id: 24088, group: [Client MAC addr], time: 56ms
[2024-03-13 03:52:53,132][DEBUG][ fast_ping.c:678 ] ping [Bing IP 1] end, id 2
[2024-03-13 03:52:53,132][DEBUG][ dns_client.c:2897] recv tcp packet from 2620:fe::fe, len = 503
[2024-03-13 03:52:53,132][DEBUG][ dns_client.c:1836] qdcount = 1, ancount = 2, nscount = 0, nrcount = 0, len = 85, id = 4973, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 4096
[2024-03-13 03:52:53,132][DEBUG][ dns_client.c:1848] domain: bing.com qtype: 1 qclass: 1
[2024-03-13 03:52:53,132][DEBUG][ dns_server.c:4626] query result from server 2620:fe::fe:443, type: 3, domain: bing.com qtype: 1 rcode: 0, id: 24088
[2024-03-13 03:52:53,132][DEBUG][ dns_server.c:3862] domain: bing.com TTL: 3476 IP: [Bing IP 1]
[2024-03-13 03:52:53,132][DEBUG][ dns_server.c:3862] domain: bing.com TTL: 3476 IP: [Bing IP 2]
[2024-03-13 03:52:53,133][DEBUG][ dns_client.c:2897] recv tcp packet from 2620:fe::fe, len = 490
[2024-03-13 03:52:53,133][DEBUG][ dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 73, id = 52182, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 4096
[2024-03-13 03:52:53,133][DEBUG][ dns_client.c:1848] domain: bing.com qtype: 28 qclass: 1
[2024-03-13 03:52:53,133][DEBUG][ dns_server.c:4626] query result from server 2620:fe::fe:443, type: 3, domain: bing.com qtype: 28 rcode: 0, id: 0
[2024-03-13 03:52:53,133][DEBUG][ dns_server.c:3892] domain: bing.com TTL: 143 IP: [Bing IPv6 1]
[2024-03-13 03:52:53,142][DEBUG][ dns_client.c:3315] tls server 9.9.9.9 connected.
[2024-03-13 03:52:53,142][DEBUG][ dns_client.c:3320] new session
[2024-03-13 03:52:53,142][DEBUG][ dns_client.c:3205] peer CN: [Peer CN]
[2024-03-13 03:52:53,142][DEBUG][ dns_client.c:3141] peer SAN: [Peer SAN]
[2024-03-13 03:52:53,142][DEBUG][ dns_client.c:3141] peer SAN: [Peer SAN]
[2024-03-13 03:52:53,142][DEBUG][ dns_client.c:3141] peer SAN: [Peer SAN]
[2024-03-13 03:52:53,142][DEBUG][ dns_client.c:3141] peer SAN: [Peer SAN]
[2024-03-13 03:52:53,142][DEBUG][ dns_client.c:3143] peer SAN match: [Peer SAN]
[2024-03-13 03:52:53,142][DEBUG][ dns_client.c:3251] cert SPKI pin(sha256): [SPKI 2]
[2024-03-13 03:52:53,150][DEBUG][ dns_server.c:3146] from [[Bing IPv6 1]]: seq=1 time=661, lasttime=-1 id=0
[2024-03-13 03:52:53,150][ INFO][ dns_server.c:2565] result: bing.com, qtype: 28, force IPv4 preferred, id: 0, time1: 661, time2: 489
[2024-03-13 03:52:53,150][DEBUG][ dns_server.c:2335] reply bing.com qtype: 28, rcode: 0, reply: 1
[2024-03-13 03:52:53,150][DEBUG][ dns_server.c:1665] cache bing.com qtype: 28 ttl: 600
[2024-03-13 03:52:53,150][DEBUG][ dns_server.c:4537] dualstack result: domain: bing.com, ip: , type: 28, ping: 661, rcode: 0
[2024-03-13 03:52:53,150][DEBUG][ fast_ping.c:678 ] ping [[Bing IPv6 1]] end, id 4
[2024-03-13 03:52:53,151][DEBUG][ dns_server.c:3146] from [Bing IP 2]: seq=1 time=675, lasttime=489 id=24088
[2024-03-13 03:52:53,151][DEBUG][ fast_ping.c:678 ] ping [Bing IP 2] end, id 3
[2024-03-13 03:52:53,158][DEBUG][ dns_client.c:2897] recv tcp packet from 9.9.9.9, len = 623
[2024-03-13 03:52:53,158][DEBUG][ dns.c:2160] opt type 12
[2024-03-13 03:52:53,158][DEBUG][ dns_client.c:1836] qdcount = 1, ancount = 2, nscount = 0, nrcount = 0, len = 468, id = 4973, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 4096
[2024-03-13 03:52:53,158][DEBUG][ dns_client.c:1848] domain: bing.com qtype: 1 qclass: 1
[2024-03-13 03:52:53,158][DEBUG][ dns_server.c:4626] query result from server 9.9.9.9:443, type: 3, domain: bing.com qtype: 1 rcode: 0, id: 24088
[2024-03-13 03:52:53,158][DEBUG][ dns_server.c:3862] domain: bing.com TTL: 1971 IP: [Bing IP 1]
[2024-03-13 03:52:53,158][DEBUG][ dns_server.c:3862] domain: bing.com TTL: 1971 IP: [Bing IP 2]
[2024-03-13 03:52:53,159][DEBUG][ dns_client.c:2897] recv tcp packet from 9.9.9.9, len = 623
[2024-03-13 03:52:53,159][DEBUG][ dns.c:2160] opt type 12
[2024-03-13 03:52:53,159][DEBUG][ dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 468, id = 52182, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 4096
[2024-03-13 03:52:53,159][DEBUG][ dns_client.c:1848] domain: bing.com qtype: 28 qclass: 1
[2024-03-13 03:52:53,159][DEBUG][ dns_server.c:4626] query result from server 9.9.9.9:443, type: 3, domain: bing.com qtype: 28 rcode: 0, id: 0
[2024-03-13 03:52:53,159][DEBUG][ dns_server.c:3892] domain: bing.com TTL: 1173 IP: [Bing IPv6 1]
[2024-03-13 03:52:53,601][DEBUG][ dns_client.c:1600] result: bing.com, qtype: 28, has-result: 1, id 52182
[2024-03-13 03:52:53,601][DEBUG][ dns_server.c:2335] reply bing.com qtype: 28, rcode: 0, reply: 0
[2024-03-13 03:52:53,601][DEBUG][ dns_server.c:1665] cache bing.com qtype: 28 ttl: 600
[2024-03-13 03:52:53,601][DEBUG][ dns_client.c:1600] result: bing.com, qtype: 1, has-result: 1, id 4973
[2024-03-13 03:52:53,601][DEBUG][ dns_server.c:2335] reply bing.com qtype: 1, rcode: 0, reply: 0
[2024-03-13 03:52:53,601][DEBUG][ dns_server.c:1188] result: bing.com, rtt: 48.9 ms, [Bing IP 1]
[2024-03-13 03:52:53,601][ INFO][ dns_server.c:963 ] result: bing.com, id: 24088, index: 1, rtt: 48.9 ms, [Bing IP 1]
[2024-03-13 03:52:53,601][DEBUG][ dns_server.c:1665] cache bing.com qtype: 1 ttl: 1971
[2024-03-13 03:52:53,684][DEBUG][ dns_client.c:3315] tls server 1.1.1.1 connected.
[2024-03-13 03:52:53,684][DEBUG][ dns_client.c:3320] new session
[2024-03-13 03:52:53,684][DEBUG][ dns_client.c:3205] peer CN: cloudflare-dns.com
[2024-03-13 03:52:53,684][DEBUG][ dns_client.c:3251] cert SPKI pin(sha256): 1D:D0:C1:82:D9:E3:D3:BF:CD:AC:A3:66:2C:26:E0:E6:BC:4A:EF:C6:5E:85:D1:D9:FD:4A:2E:B7:1E:22:1F:36
[2024-03-13 03:52:53,808][DEBUG][ dns_client.c:3315] tls server 8.8.8.8 connected.
[2024-03-13 03:52:53,808][DEBUG][ dns_client.c:3320] new session
[2024-03-13 03:52:53,808][DEBUG][ dns_client.c:3205] peer CN: dns.google
[2024-03-13 03:52:53,808][DEBUG][ dns_client.c:3251] cert SPKI pin(sha256): 57:06:A9:BB:0A:C6:71:96:39:57:E2:1E:20:0B:D2:C6:23:21:14:E5:83:B8:EB:64:7D:FD:40:C4:28:0A:CF:0B
[2024-03-13 03:52:53,882][DEBUG][ dns_client.c:2897] recv tcp packet from 1.1.1.1, len = 290
[2024-03-13 03:52:53,882][DEBUG][ dns_client.c:1836] qdcount = 1, ancount = 2, nscount = 0, nrcount = 0, len = 69, id = 4973, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-13 03:52:53,882][DEBUG][ dns_client.c:1848] domain: bing.com qtype: 1 qclass: 1
[2024-03-13 03:52:53,883][DEBUG][ dns_client.c:2897] recv tcp packet from 1.1.1.1, len = 286
[2024-03-13 03:52:53,883][DEBUG][ dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 65, id = 52182, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 1232
[2024-03-13 03:52:53,883][DEBUG][ dns_client.c:1848] domain: bing.com qtype: 28 qclass: 1
[2024-03-13 03:52:54,044][DEBUG][ dns_client.c:2897] recv tcp packet from 8.8.8.8, len = 506
[2024-03-13 03:52:54,044][DEBUG][ dns_client.c:1836] qdcount = 1, ancount = 2, nscount = 0, nrcount = 0, len = 69, id = 4973, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 512
[2024-03-13 03:52:54,044][DEBUG][ dns_client.c:1848] domain: bing.com qtype: 1 qclass: 1
[2024-03-13 03:52:54,045][DEBUG][ dns_client.c:2897] recv tcp packet from 8.8.8.8, len = 502
[2024-03-13 03:52:54,045][DEBUG][ dns_client.c:1836] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 65, id = 52182, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 512
[2024-03-13 03:52:54,045][DEBUG][ dns_client.c:1848] domain: bing.com qtype: 28 qclass: 1
[2024-03-13 03:52:56,642][ INFO][ smartdns.c:724 ] stop smartdns by signal 2
[2024-03-13 03:52:56,745][ INFO][ smartdns.c:1219] smartdns exit...
[2024-03-13 03:52:56,746][DEBUG][ dns_client.c:1324] server 1.1.1.1 closed.
[2024-03-13 03:52:56,747][DEBUG][ dns_client.c:1324] server 8.8.8.8 closed.
[2024-03-13 03:52:56,747][DEBUG][ dns_client.c:1324] server 9.9.9.9 closed.
[2024-03-13 03:52:56,747][DEBUG][ dns_client.c:1324] server 2620:fe::fe closed.
[2024-03-13 03:52:56,747][DEBUG][ dns_client.c:1324] server 2345:1234::62 closed.
Dynamic build log
[2024-03-13 03:53:47,711][NOTICE][ smartdns.c:640 ] smartdns starting...(Copyright (C) Nick Peng <[email protected]>, build: 1.2024.v45.0.9)
[2024-03-13 03:53:47,847][ERROR][ dns_server.c:8750] bind service failed, Address in use
[2024-03-13 03:53:47,847][ERROR][ dns_server.c:9274] create server socket failed.
[2024-03-13 03:53:47,848][ERROR][ smartdns.c:676 ] start dns server failed.
Edit: I'm building latest commit.
Edit 2: Same error as before, there's no additional logs. The address is empty.
from smartdns.
Try latest code.
from smartdns.
It's working correctly now. Issue resolved.
from smartdns.
Related Issues (20)
- 域名集合文件的格式以及匹配规则是什么样的(文档无具体说明) HOT 4
- 反查ip无结果时缓存时间及serve-expired
- 3月12日版本可能有bug HOT 2
- 请问这样的参数用对了吗? HOT 4
- 从系统读取ip以配置edns HOT 3
- 推荐去广告规则AWAvenue-Ads-Rule 但是没有smartdns版本 HOT 7
- 【BUG反馈】端口设为53+勾选自动设置dnsmasq时出错 HOT 2
- 安卓连接异常 HOT 6
- Use semantic versioning HOT 20
- mDNS查询开启后 过一阵端口直接无响应 HOT 1
- 有没有办法实现,远程 dns 解析只返回 ipv4,国内 dns 解析双栈返回? HOT 2
- DoH 路径修改 HOT 3
- 使用阿里dns,不定时出现Connection reset by peer HOT 38
- 能否找回debian 下正在运行的 smartdns.conf
- 域名规则求助 HOT 6
- 关于ip-alias,指定了cf v4映射,但是想屏蔽cf v6,请问有办法吗 HOT 3
- typo in configuration file
- 文档中的域名通配的问题 HOT 1
- 请问如何只监听指定接口? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartdns.