==> Building on shellder ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,115 100% 0.00kB/s 0:00:00 1,115 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) smartdns-42-1.log 207 100% 202.15kB/s 0:00:00 207 100% 202.15kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 952 bytes received 69 bytes 408.40 bytes/sec total size is 1,280 speedup is 1.25 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root41 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root41]...done ==> Making package: smartdns 42-1 (Wed May 10 23:02:31 2023) ==> Retrieving sources...  -> Found smartdns-42.tar.gz ==> Validating source files with sha512sums... smartdns-42.tar.gz ... Passed ==> Making package: smartdns 42-1 (Wed May 10 23:02:45 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (25) New Version Net Change core/argon2 20190702-5 0.08 MiB core/cryptsetup 2.6.1-3 2.50 MiB core/dbus 1.14.6-2 0.77 MiB core/device-mapper 2.03.21-1 0.67 MiB core/dnssec-anchors 20190629-3 0.00 MiB core/hwdata 0.370-1 8.75 MiB core/iptables 1:1.8.9-1 1.74 MiB extra/jemalloc 1:5.3.0-1 5.50 MiB core/kbd 2.5.1-1 2.88 MiB core/kmod 30-3.1 0.24 MiB core/libedit 20221030_3.1-1 0.24 MiB community/libmaxminddb 1.7.1-1 0.04 MiB core/libmnl 1.0.5-1 0.03 MiB core/libnetfilter_conntrack 1.0.9-1 0.14 MiB core/libnfnetlink 1.0.2-1 0.04 MiB core/libnftnl 1.2.5-1 0.22 MiB core/libnl 3.7.0-3 1.69 MiB core/libnsl 2.0.0-3 0.06 MiB core/libpcap 1.10.4-1 0.58 MiB extra/libuv 1.44.2-1 0.52 MiB extra/lmdb 0.9.29-1 0.39 MiB core/popt 1.19-1 0.55 MiB extra/bind 9.18.14-1 10.79 MiB community/gtest 1.13.0-1 2.00 MiB core/systemd 253.4-1 25.90 MiB Total Installed Size: 66.28 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing device-mapper... installing popt... installing argon2... installing cryptsetup... installing dbus... installing libmnl... installing libnftnl... installing libnl... installing libpcap... installing libnfnetlink... installing libnetfilter_conntrack... installing iptables... installing kbd... installing kmod... installing hwdata... installing systemd... warning: directory permissions differ on /var/log/journal/ filesystem: 755 package: 2755 Creating group 'sys' with GID 3. Creating group 'mem' with GID 8. Creating group 'ftp' with GID 11. Creating group 'mail' with GID 12. Creating group 'log' with GID 19. Creating group 'smmsp' with GID 25. Creating group 'proc' with GID 26. Creating group 'games' with GID 50. Creating group 'lock' with GID 54. Creating group 'network' with GID 90. Creating group 'floppy' with GID 94. Creating group 'scanner' with GID 96. Creating group 'power' with GID 98. Creating group 'nobody' with GID 65534. Creating group 'adm' with GID 999. Creating group 'wheel' with GID 998. Creating group 'utmp' with GID 997. Creating group 'audio' with GID 996. Creating group 'disk' with GID 995. Creating group 'input' with GID 994. Creating group 'kmem' with GID 993. Creating group 'kvm' with GID 992. Creating group 'lp' with GID 991. Creating group 'optical' with GID 990. Creating group 'render' with GID 989. Creating group 'sgx' with GID 988. Creating group 'storage' with GID 987. Creating group 'tty' with GID 5. Creating group 'uucp' with GID 986. Creating group 'video' with GID 985. Creating group 'users' with GID 984. Creating group 'systemd-journal' with GID 983. Creating group 'rfkill' with GID 982. Creating group 'bin' with GID 1. Creating user 'bin' (n/a) with UID 1 and GID 1. Creating group 'daemon' with GID 2. Creating user 'daemon' (n/a) with UID 2 and GID 2. Creating user 'mail' (n/a) with UID 8 and GID 12. Creating user 'ftp' (n/a) with UID 14 and GID 11. Creating group 'http' with GID 33. Creating user 'http' (n/a) with UID 33 and GID 33. Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. Creating group 'dbus' with GID 81. Creating user 'dbus' (System Message Bus) with UID 81 and GID 81. Creating group 'systemd-coredump' with GID 981. Creating user 'systemd-coredump' (systemd Core Dumper) with UID 981 and GID 981. Creating group 'systemd-network' with GID 980. Creating user 'systemd-network' (systemd Network Management) with UID 980 and GID 980. Creating group 'systemd-oom' with GID 979. Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 979 and GID 979. Creating group 'systemd-journal-remote' with GID 978. Creating user 'systemd-journal-remote' (systemd Journal Remote) with UID 978 and GID 978. Creating group 'systemd-resolve' with GID 977. Creating user 'systemd-resolve' (systemd Resolver) with UID 977 and GID 977. Creating group 'systemd-timesync' with GID 976. Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 976 and GID 976. Creating group 'tss' with GID 975. Creating user 'tss' (tss user for tpm2) with UID 975 and GID 975. Creating group 'uuidd' with GID 68. Creating user 'uuidd' (n/a) with UID 68 and GID 68. Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target. Optional dependencies for systemd libmicrohttpd: systemd-journal-gatewayd and systemd-journal-remote quota-tools: kernel-level quota management systemd-sysvcompat: symlink package to provide sysvinit binaries systemd-ukify: combine kernel and initrd into a signed Unified Kernel Image polkit: allow administration as unprivileged user python: Unified Kernel Image with ukify curl: systemd-journal-upload, machinectl pull-tar and pull-raw [installed] gnutls: systemd-journal-gatewayd and systemd-journal-remote [installed] libbpf: support BPF programs libfido2: unlocking LUKS2 volumes with FIDO2 token libp11-kit: support PKCS#11 [installed] tpm2-tss: unlocking LUKS2 volumes with TPM2 [installed] installing gtest... Optional dependencies for gtest python: gmock generator installing dnssec-anchors... installing libedit... installing libmaxminddb... Optional dependencies for libmaxminddb geoip2-database: IP geolocation databases installing libnsl... installing libuv... installing lmdb... installing jemalloc... Optional dependencies for jemalloc perl: for jeprof [installed] installing bind... :: Running post-transaction hooks... (1/9) Creating system user accounts... Creating group 'named' with GID 40. Creating user 'named' (BIND DNS Server) with UID 40 and GID 40. (2/9) Updating journal message catalog... (3/9) Reloading system manager configuration... Skipped: Current root is not booted. (4/9) Updating udev hardware database... (5/9) Applying kernel sysctl settings... Skipped: Current root is not booted. (6/9) Creating temporary files... Failed to adjust quota for subvolume "/var/lib/portables": Function not implemented Failed to adjust quota for subvolume "/var/lib/machines": Function not implemented error: command failed to execute correctly (7/9) Reloading device manager configuration... Skipped: Device manager is not running. (8/9) Arming ConditionNeedsUpdate... (9/9) Reloading system bus configuration... Skipped: Current root is not booted. [?25h==> Retrieving sources...  -> Found smartdns-42.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting smartdns-42.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... cp systemd/smartdns.service.in systemd/smartdns.service sed -i 's|@SBINDIR@|/usr/bin|' systemd/smartdns.service sed -i 's|@SYSCONFDIR@|/etc|' systemd/smartdns.service sed -i 's|@RUNSTATEDIR@|/run|' systemd/smartdns.service make -j16 --jobserver-auth=fifo:/tmp/GMfifo2240 -C src all make[1]: Entering directory '/build/smartdns/src/smartdns-Release42/src' make[1]: warning: -j16 forced in submake: resetting jobserver mode. cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"smartdns.c"' -c -o smartdns.o smartdns.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"fast_ping.c"' -c -o fast_ping.o fast_ping.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"dns_client.c"' -c -o dns_client.o dns_client.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"dns_server.c"' -c -o dns_server.o dns_server.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"dns.c"' -c -o dns.o dns.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"util.c"' -c -o util.o util.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"tlog.c"' -c -o tlog.o tlog.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"dns_conf.c"' -c -o dns_conf.o dns_conf.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"dns_cache.c"' -c -o dns_cache.o dns_cache.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"http_parse.c"' -c -o http_parse.o http_parse.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"proxy.c"' -c -o proxy.o proxy.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"rbtree.c"' -c -o lib/rbtree.o lib/rbtree.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"art.c"' -c -o lib/art.o lib/art.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"bitops.c"' -c -o lib/bitops.o lib/bitops.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"radix.c"' -c -o lib/radix.o lib/radix.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"conf.c"' -c -o lib/conf.o lib/conf.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -Iinclude -DBASE_FILE_NAME='"nftset.c"' -c -o lib/nftset.o lib/nftset.c cc smartdns.o fast_ping.o dns_client.o dns_server.o dns.o util.o tlog.o dns_conf.o dns_cache.o http_parse.o proxy.o lib/rbtree.o lib/art.o lib/bitops.o lib/radix.o lib/conf.o lib/nftset.o -o smartdns -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -lssl -lcrypto -lpthread -ldl In function ‘safe_strncpy’, inlined from ‘dir_name’ at util.c:118:3, inlined from ‘dir_name’ at util.c:115:7, inlined from ‘config_additional_file’ at dns_conf.c:3488:3: include/stringutil.h:42:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 42 | dest[n - 1] = '\0'; | ^ dns_conf.c: In function ‘config_additional_file’: dns_conf.c:3479:14: note: at offset 4095 into destination object ‘file_path_dir’ of size 1024 3479 | char file_path_dir[DNS_MAX_PATH]; | ^ In function ‘strncpy’, inlined from ‘safe_strncpy’ at include/stringutil.h:40:14, inlined from ‘dir_name’ at util.c:118:3, inlined from ‘dir_name’ at util.c:115:7, inlined from ‘config_additional_file’ at dns_conf.c:3488:3: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin___strncpy_chk’ writing 4095 bytes into a region of size 1024 overflows the destination [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^ make[1]: Leaving directory '/build/smartdns/src/smartdns-Release42/src' ==> Starting check()... make: Entering directory '/build/smartdns/src/smartdns-Release42-test/test' cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/lib/rbtree.o ../src/lib/rbtree.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/lib/art.o ../src/lib/art.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/lib/bitops.o ../src/lib/bitops.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/lib/radix.o ../src/lib/radix.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/lib/conf.o ../src/lib/conf.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/lib/nftset.o ../src/lib/nftset.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/smartdns.o ../src/smartdns.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/fast_ping.o ../src/fast_ping.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/dns_client.o ../src/dns_client.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/dns_server.o ../src/dns_server.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/dns.o ../src/dns.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/util.o ../src/util.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/tlog.o ../src/tlog.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/dns_conf.o ../src/dns_conf.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/dns_cache.o ../src/dns_cache.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/http_parse.o ../src/http_parse.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -I../src -I../src/include -DTEST -g -Wall -Wstrict-prototypes -fno-omit-frame-pointer -Wstrict-aliasing -funwind-tables -Wmissing-prototypes -Wshadow -Wextra -Wno-unused-parameter -Wno-implicit-fallthrough -c -o ../src/proxy.o ../src/proxy.c g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o client.o client.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o server.o server.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o test.o test.cc ../src/smartdns.c: In function ‘_sig_error_exit’: ../src/smartdns.c:581:21: warning: unused variable ‘context’ [-Wunused-variable] 581 | ucontext_t *context = ct; | ^~~~~~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o utils.o utils.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-address.o cases/test-address.cc ../src/smartdns.c: In function ‘smartdns_test_notify_func’: ../src/smartdns.c:731:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 731 | write(fd_notify, &retval, sizeof(retval)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-bind.o cases/test-bind.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-bootstrap.o cases/test-bootstrap.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-cache.o cases/test-cache.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-cname.o cases/test-cname.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-discard-block-ip.o cases/test-discard-block-ip.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-dns64.o cases/test-dns64.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-domain-rule.o cases/test-domain-rule.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-domain-set.o cases/test-domain-set.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-dualstack.o cases/test-dualstack.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-ip-rule.o cases/test-ip-rule.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-mock-server.o cases/test-mock-server.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-nameserver.o cases/test-nameserver.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-perf.o cases/test-perf.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-ping.o cases/test-ping.cc cases/test-cache.cc: In member function ‘virtual void Cache_corrupt_file_Test::TestBody()’: cases/test-cache.cc:347:22: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 347 | write(fd, &c, 1); | ~~~~~^~~~~~~~~~~ g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-ptr.o cases/test-ptr.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-qtype-soa.o cases/test-qtype-soa.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-same-pending-query.o cases/test-same-pending-query.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-server.o cases/test-server.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-speed-check.o cases/test-speed-check.cc g++ -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/smartdns/src=/usr/src/debug/smartdns -flto=auto -g -DTEST -I./ -I../src -I../src/include -c -o cases/test-subnet.o cases/test-subnet.cc cases/test-perf.cc: In member function ‘virtual void Perf_no_speed_check_Test::TestBody()’: cases/test-perf.cc:98:15: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 98 | system(cmd.c_str()); | ~~~~~~^~~~~~~~~~~~~ cc ../src/lib/rbtree.o ../src/lib/art.o ../src/lib/bitops.o ../src/lib/radix.o ../src/lib/conf.o ../src/lib/nftset.o ../src/smartdns.o ../src/fast_ping.o ../src/dns_client.o ../src/dns_server.o ../src/dns.o ../src/util.o ../src/tlog.o ../src/dns_conf.o ../src/dns_cache.o ../src/http_parse.o ../src/proxy.o client.o server.o test.o utils.o cases/test-address.o cases/test-bind.o cases/test-bootstrap.o cases/test-cache.o cases/test-cname.o cases/test-discard-block-ip.o cases/test-dns64.o cases/test-domain-rule.o cases/test-domain-set.o cases/test-dualstack.o cases/test-ip-rule.o cases/test-mock-server.o cases/test-nameserver.o cases/test-perf.o cases/test-ping.o cases/test-ptr.o cases/test-qtype-soa.o cases/test-same-pending-query.o cases/test-server.o cases/test-speed-check.o cases/test-subnet.o -o test.bin -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -lssl -lcrypto -lpthread -ldl -lgtest -lstdc++ -lm In function ‘safe_strncpy’, inlined from ‘dir_name’ at ../src/util.c:118:3, inlined from ‘dir_name’ at ../src/util.c:115:7, inlined from ‘config_additional_file’ at ../src/dns_conf.c:3488:3: ../src/include/stringutil.h:42:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 42 | dest[n - 1] = '\0'; | ^ ../src/dns_conf.c: In function ‘config_additional_file’: ../src/dns_conf.c:3479:14: note: at offset 4095 into destination object ‘file_path_dir’ of size 1024 3479 | char file_path_dir[DNS_MAX_PATH]; | ^ In function ‘strncpy’, inlined from ‘safe_strncpy’ at ../src/include/stringutil.h:40:14, inlined from ‘dir_name’ at ../src/util.c:118:3, inlined from ‘dir_name’ at ../src/util.c:115:7, inlined from ‘config_additional_file’ at ../src/dns_conf.c:3488:3: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin___strncpy_chk’ writing 4095 bytes into a region of size 1024 overflows the destination [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^ ./test.bin [==========] Running 61 tests from 21 test suites. [----------] Global test environment set-up. [----------] 4 tests from SubNet [ RUN ] SubNet.pass_subnet [2023-05-10 23:04:28,306][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:28,332][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:28,333][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:28,333][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:28,334][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:28,334][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:28,334][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:28,334][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:28,335][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:28,543][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 57, type = 0 [2023-05-10 23:04:28,544][DEBUG][ dns.c:1925] opt type 8 [2023-05-10 23:04:28,544][DEBUG][ dns.c:1710] ECS: family:1, source_prefix:24, scope_prefix:0, len:3 [2023-05-10 23:04:28,544][DEBUG][ dns.c:1712] 8.8.8.0 [2023-05-10 23:04:28,544][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:28,544][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 57, id = 62971, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:28,544][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 62971 [2023-05-10 23:04:28,567][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:28,568][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 54370, group: default [2023-05-10 23:04:28,572][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:04:28,572][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 54370, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:28,572][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:28,573][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:28,573][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:28,574][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 921 [2023-05-10 23:04:28,574][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 3 [2023-05-10 23:04:28,574][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 54370 [2023-05-10 23:04:28,574][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:28,576][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:28,576][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:28,576][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:28,577][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 62971, group: default, time: 33ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com A +subnet=8.8.8.8/24 +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62971 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ; CLIENT-SUBNET: 8.8.8.0/24/0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 36 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:28 CST 2023 ;; MSG SIZE rcvd: 61 [ OK ] SubNet.pass_subnet (390 ms) [ RUN ] SubNet.conf [2023-05-10 23:04:28,688][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:28,711][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:28,712][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:28,712][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:28,712][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:28,713][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:28,713][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:28,713][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:28,714][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:28,916][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:28,916][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:28,916][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 58897, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:28,916][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 58897 [2023-05-10 23:04:28,939][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:28,939][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 60601, group: default [2023-05-10 23:04:28,940][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:04:28,940][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 60601, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:28,940][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:28,941][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:28,941][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:28,942][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 925 [2023-05-10 23:04:28,942][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 3 [2023-05-10 23:04:28,942][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 60601 [2023-05-10 23:04:28,942][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:28,944][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:28,944][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:28,944][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:28,945][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 58897, group: default, time: 29ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com A +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58897 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:28 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] SubNet.conf (365 ms) [ RUN ] SubNet.conf_v6 [2023-05-10 23:04:29,052][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:29,075][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:29,075][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:29,076][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:29,076][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:29,076][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:29,076][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:29,076][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:29,077][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:29,078][DEBUG][ fast_ping.c:1448] ping 2001::, id = 3 [2023-05-10 23:04:29,079][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 3 [2023-05-10 23:04:29,279][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:29,279][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:29,279][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 28118, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:29,279][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 28118 [2023-05-10 23:04:29,302][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:29,303][ INFO][ dns_client.c:3848] request: a.com, qtype: 28, id: 27627, group: default [2023-05-10 23:04:29,304][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 45, ttl: 64 [2023-05-10 23:04:29,304][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 45, id = 27627, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:29,304][DEBUG][ dns_client.c:1704] domain: a.com qtype: 28 qclass: 1 [2023-05-10 23:04:29,304][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:29,304][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:29,305][DEBUG][ dns_server.c:2714] ping [2001:0db8:0000:0000:0000:0000:0000:0001] with icmp, order: 0, timeout: 924 [2023-05-10 23:04:29,305][DEBUG][ fast_ping.c:1448] ping [2001:0db8:0000:0000:0000:0000:0000:0001], id = 4 [2023-05-10 23:04:29,305][DEBUG][ dns_client.c:1476] result: a.com, qtype: 28, has-result: 1, id 27627 [2023-05-10 23:04:29,305][ INFO][ dns_server.c:2124] result: a.com, qtype: 28, rtt: -0.1 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:29,307][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:04:29,307][DEBUG][ dns_server.c:960 ] result: a.com, rtt: -0.1 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:29,307][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 600 [2023-05-10 23:04:29,308][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 28, id: 28118, group: default, time: 29ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28118 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; ANSWER SECTION: a.com. 3 IN AAAA 2001:db8::1 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:29 CST 2023 ;; MSG SIZE rcvd: 51 [ OK ] SubNet.conf_v6 (363 ms) [ RUN ] SubNet.per_server [2023-05-10 23:04:29,416][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:29,438][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:29,439][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:29,439][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:29,439][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:29,440][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:29,440][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:29,440][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:29,441][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:04:29,441][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:29,442][DEBUG][ fast_ping.c:1448] ping 2001::, id = 3 [2023-05-10 23:04:29,443][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 3 [2023-05-10 23:04:29,644][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:29,644][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:29,644][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 64683, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:29,645][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 64683 [2023-05-10 23:04:29,667][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:29,668][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:29,668][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 20221, group: default [2023-05-10 23:04:29,669][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 23, ttl: 64 [2023-05-10 23:04:29,669][DEBUG][ dns_client.c:1692] qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 23, id = 20221, tc = 0, rd = 0, ra = 1, rcode = 2, payloadsize = 0 [2023-05-10 23:04:29,669][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:29,669][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:29,669][DEBUG][ dns_server.c:2994] inquery failed, a.com, rcode = 2, id = 20221 [2023-05-10 23:04:29,669][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:04:29,669][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 20221, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:29,670][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:29,670][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:04:29,670][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:29,670][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:29,670][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 4 [2023-05-10 23:04:29,671][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 20221 [2023-05-10 23:04:29,671][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 5.6.7.8 [2023-05-10 23:04:29,672][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:29,672][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 5.6.7.8 [2023-05-10 23:04:29,672][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:29,673][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 64683, group: default, time: 29ms [2023-05-10 23:04:29,681][DEBUG][ dns_server.c:2567] from 5.6.7.8: seq=1 time=100, lasttime=-1 id=64683 [2023-05-10 23:04:29,681][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 0 [2023-05-10 23:04:29,681][DEBUG][ dns_server.c:953 ] result: a.com, rtt: 10.0 ms, 5.6.7.8 [2023-05-10 23:04:29,682][ INFO][ dns_server.c:813 ] result: a.com, id: 64683, index: 1, rtt: 10.0 ms, 5.6.7.8 [2023-05-10 23:04:29,682][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:29,682][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8 end, id 4 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com A +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64683 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 5.6.7.8 ;; Query time: 33 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:29 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:04:29,922][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:29,922][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:29,923][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 4013, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:29,923][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 4013 [2023-05-10 23:04:29,923][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:29,923][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:29,923][ INFO][ dns_client.c:3848] request: a.com, qtype: 28, id: 6212, group: default [2023-05-10 23:04:29,923][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 23, ttl: 64 [2023-05-10 23:04:29,923][DEBUG][ dns_client.c:1692] qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 23, id = 6212, tc = 0, rd = 0, ra = 1, rcode = 2, payloadsize = 0 [2023-05-10 23:04:29,923][DEBUG][ dns_client.c:1704] domain: a.com qtype: 28 qclass: 1 [2023-05-10 23:04:29,923][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:29,923][DEBUG][ dns_server.c:2994] inquery failed, a.com, rcode = 2, id = 6212 [2023-05-10 23:04:29,923][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 45, ttl: 64 [2023-05-10 23:04:29,923][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 45, id = 6212, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:29,923][DEBUG][ dns_client.c:1704] domain: a.com qtype: 28 qclass: 1 [2023-05-10 23:04:29,923][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:04:29,923][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:29,924][DEBUG][ dns_server.c:2714] ping [2001:0db8:0000:0000:0000:0000:0000:0002] with icmp, order: 0, timeout: 949 [2023-05-10 23:04:29,924][DEBUG][ fast_ping.c:1448] ping [2001:0db8:0000:0000:0000:0000:0000:0002], id = 5 [2023-05-10 23:04:29,924][DEBUG][ dns_client.c:1476] result: a.com, qtype: 28, has-result: 1, id 6212 [2023-05-10 23:04:29,924][ INFO][ dns_server.c:2124] result: a.com, qtype: 28, rtt: -0.1 ms, 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:29,924][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:04:29,924][DEBUG][ dns_server.c:960 ] result: a.com, rtt: -0.1 ms, 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:29,924][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 600 [2023-05-10 23:04:29,924][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 28, id: 4013, group: default, time: 2ms [2023-05-10 23:04:29,934][DEBUG][ dns_server.c:2567] from [2001:0db8:0000:0000:0000:0000:0000:0002]: seq=1 time=100, lasttime=-1 id=4013 [2023-05-10 23:04:29,934][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 0 [2023-05-10 23:04:29,934][DEBUG][ dns_server.c:960 ] result: a.com, rtt: 10.0 ms, 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:29,934][ INFO][ dns_server.c:817 ] result: a.com, id: 4013, index: 1, rtt: 10.0 ms, 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:29,934][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 600 [2023-05-10 23:04:29,934][DEBUG][ fast_ping.c:677 ] ping [2001:0db8:0000:0000:0000:0000:0000:0002] end, id 5 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4013 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; ANSWER SECTION: a.com. 3 IN AAAA 2001:db8::2 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:29 CST 2023 ;; MSG SIZE rcvd: 51 [ OK ] SubNet.per_server (719 ms) [----------] 4 tests from SubNet (1840 ms total) [----------] 9 tests from SpeedCheck [ RUN ] SpeedCheck.response_mode [2023-05-10 23:04:30,136][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:30,160][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:30,161][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:30,161][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:30,161][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:30,162][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:30,162][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:30,162][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:30,163][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:30,365][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:30,365][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:30,365][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 4703, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:30,365][DEBUG][ dns_server.c:5390] query b.com from 127.0.0.1, qtype: 1, id: 4703 [2023-05-10 23:04:30,388][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:30,389][ INFO][ dns_client.c:3848] request: b.com, qtype: 1, id: 540, group: default [2023-05-10 23:04:30,389][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:30,390][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 540, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:30,390][DEBUG][ dns_client.c:1704] domain: b.com qtype: 1 qclass: 1 [2023-05-10 23:04:30,390][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:30,390][DEBUG][ dns_server.c:2837] domain: b.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:30,391][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:30,391][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 3 [2023-05-10 23:04:30,391][DEBUG][ dns_server.c:2837] domain: b.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:30,391][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:30,391][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 4 [2023-05-10 23:04:30,392][DEBUG][ dns_client.c:1476] result: b.com, qtype: 1, has-result: 1, id 540 [2023-05-10 23:04:30,664][DEBUG][ dns_server.c:2719] ping 1.2.3.4:80 with tcp, order: 1, timeout: 651 [2023-05-10 23:04:30,664][DEBUG][ fast_ping.c:1448] ping 1.2.3.4:80, id = 5 [2023-05-10 23:04:30,664][DEBUG][ dns_server.c:2719] ping 5.6.7.8:80 with tcp, order: 1, timeout: 651 [2023-05-10 23:04:30,664][DEBUG][ fast_ping.c:1448] ping 5.6.7.8:80, id = 6 [2023-05-10 23:04:30,964][DEBUG][ dns_server.c:2719] ping 1.2.3.4:443 with tcp, order: 2, timeout: 352 [2023-05-10 23:04:30,964][DEBUG][ fast_ping.c:1448] ping 1.2.3.4:443, id = 7 [2023-05-10 23:04:30,964][DEBUG][ dns_server.c:2719] ping 5.6.7.8:443 with tcp, order: 2, timeout: 351 [2023-05-10 23:04:30,964][DEBUG][ fast_ping.c:1448] ping 5.6.7.8:443, id = 8 [2023-05-10 23:04:31,392][DEBUG][ dns_server.c:2546] ping 1.2.3.4:80 timeout [2023-05-10 23:04:31,392][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4:80 end, id 5 [2023-05-10 23:04:31,392][DEBUG][ dns_server.c:2546] ping 1.2.3.4:443 timeout [2023-05-10 23:04:31,392][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4:443 end, id 7 [2023-05-10 23:04:31,392][DEBUG][ dns_server.c:2546] ping 5.6.7.8:443 timeout [2023-05-10 23:04:31,392][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8:443 end, id 8 [2023-05-10 23:04:31,393][DEBUG][ dns_server.c:2546] ping 1.2.3.4 timeout [2023-05-10 23:04:31,393][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 3 [2023-05-10 23:04:31,393][DEBUG][ dns_server.c:2546] ping 5.6.7.8:80 timeout [2023-05-10 23:04:31,393][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8:80 end, id 6 [2023-05-10 23:04:31,393][DEBUG][ dns_server.c:2546] ping 5.6.7.8 timeout [2023-05-10 23:04:31,393][DEBUG][ dns_server.c:2294] select best ip address, b.com [2023-05-10 23:04:31,393][DEBUG][ dns_server.c:2299] possible result: b.com, rcode: 0, hitnum: 1, 1.2.3.4 [2023-05-10 23:04:31,393][DEBUG][ dns_server.c:1874] reply b.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:31,393][DEBUG][ dns_server.c:953 ] result: b.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:31,394][ INFO][ dns_server.c:813 ] result: b.com, id: 4703, index: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:31,395][DEBUG][ dns_server.c:1269] cache b.com qtype: 1 ttl: 600 [2023-05-10 23:04:31,396][ INFO][ dns_server.c:1929] result: b.com, client: 127.0.0.1, qtype: 1, id: 4703, group: default, time: 1031ms [2023-05-10 23:04:31,396][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8 end, id 4 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 b.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4703 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;b.com. IN A ;; ANSWER SECTION: b.com. 600 IN A 1.2.3.4 ;; Query time: 1030 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:31 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:04:31,647][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:31,647][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:31,647][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 12815, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:31,647][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 12815 [2023-05-10 23:04:31,647][ INFO][ dns_server.c:3871] RULE-MATCH, type: 10, domain: a.com, rule: a.com [2023-05-10 23:04:31,647][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:31,647][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 51706, group: default [2023-05-10 23:04:31,647][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:31,647][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 51706, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:31,647][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:31,647][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:31,648][DEBUG][ dns_server.c:3126] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:31,648][DEBUG][ dns_server.c:3126] domain: a.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:31,648][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:31,648][ INFO][ dns_server.c:3375] result: a.com, client: 127.0.0.1, qtype: 1, id: 12815, group: default, time: 1ms [2023-05-10 23:04:31,648][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:31,648][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 949 [2023-05-10 23:04:31,648][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 9 [2023-05-10 23:04:31,648][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:31,648][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 949 [2023-05-10 23:04:31,648][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 10 [2023-05-10 23:04:31,648][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 51706 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12815 ;; flags: qr ra; QUERY: 0, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 a.com. 3 IN A 5.6.7.8 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:31 CST 2023 ;; MSG SIZE rcvd: 49 [ OK ] SpeedCheck.response_mode (1622 ms) [ RUN ] SpeedCheck.none [2023-05-10 23:04:31,759][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:31,782][ INFO][ dns_server.c:4852] ICMP ping is disabled, no ipv6 icmp check feature [2023-05-10 23:04:31,782][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:31,783][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:31,985][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:31,985][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:31,986][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 9121, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:31,986][DEBUG][ dns_server.c:5390] query b.com from 127.0.0.1, qtype: 1, id: 9121 [2023-05-10 23:04:32,009][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:32,009][ INFO][ dns_client.c:3848] request: b.com, qtype: 1, id: 4175, group: default [2023-05-10 23:04:32,010][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:32,010][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 4175, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:32,010][DEBUG][ dns_client.c:1704] domain: b.com qtype: 1 qclass: 1 [2023-05-10 23:04:32,011][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:32,011][DEBUG][ dns_server.c:2837] domain: b.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:32,011][DEBUG][ dns_server.c:2837] domain: b.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:32,012][ INFO][ dns_server.c:2120] result: b.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:32,013][DEBUG][ dns_server.c:1874] reply b.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:32,013][DEBUG][ dns_server.c:953 ] result: b.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:32,013][DEBUG][ dns_server.c:1269] cache b.com qtype: 1 ttl: 600 [2023-05-10 23:04:32,014][ INFO][ dns_server.c:1929] result: b.com, client: 127.0.0.1, qtype: 1, id: 9121, group: default, time: 28ms [2023-05-10 23:04:32,015][DEBUG][ dns_client.c:1476] result: b.com, qtype: 1, has-result: 1, id 4175 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 b.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9121 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;b.com. IN A ;; ANSWER SECTION: b.com. 600 IN A 1.2.3.4 b.com. 600 IN A 5.6.7.8 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:32 CST 2023 ;; MSG SIZE rcvd: 55 cases/test-speed-check.cc:102: Failure Expected: (client.GetQueryTime()) < (20), actual: 30 vs 20 [2023-05-10 23:04:32,267][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:32,267][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:32,267][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 9050, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:32,267][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 9050 [2023-05-10 23:04:32,267][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:32,267][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 50695, group: default [2023-05-10 23:04:32,267][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:32,267][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 50695, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:32,267][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:32,267][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:32,267][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:32,267][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:32,267][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:32,267][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:32,267][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:32,267][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:32,267][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 9050, group: default, time: 1ms [2023-05-10 23:04:32,267][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 50695 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9050 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 600 IN A 1.2.3.4 a.com. 600 IN A 5.6.7.8 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:32 CST 2023 ;; MSG SIZE rcvd: 55 [ FAILED ] SpeedCheck.none (619 ms) [ RUN ] SpeedCheck.domain_rules_none [2023-05-10 23:04:32,379][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:32,403][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:32,404][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:32,404][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:32,404][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:32,404][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:32,404][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:32,404][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:32,406][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:32,613][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:32,613][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:32,613][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 573, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:32,613][DEBUG][ dns_server.c:5390] query b.com from 127.0.0.1, qtype: 1, id: 573 [2023-05-10 23:04:32,635][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:32,636][ INFO][ dns_client.c:3848] request: b.com, qtype: 1, id: 42081, group: default [2023-05-10 23:04:32,636][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:32,637][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 42081, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:32,637][DEBUG][ dns_client.c:1704] domain: b.com qtype: 1 qclass: 1 [2023-05-10 23:04:32,637][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:32,637][DEBUG][ dns_server.c:2837] domain: b.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:32,638][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 925 [2023-05-10 23:04:32,638][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 3 [2023-05-10 23:04:32,638][DEBUG][ dns_server.c:2837] domain: b.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:32,638][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 925 [2023-05-10 23:04:32,638][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 4 [2023-05-10 23:04:32,639][DEBUG][ dns_client.c:1476] result: b.com, qtype: 1, has-result: 1, id 42081 [2023-05-10 23:04:32,907][DEBUG][ dns_server.c:2719] ping 1.2.3.4:80 with tcp, order: 1, timeout: 656 [2023-05-10 23:04:32,907][DEBUG][ fast_ping.c:1448] ping 1.2.3.4:80, id = 5 [2023-05-10 23:04:32,907][DEBUG][ dns_server.c:2719] ping 5.6.7.8:80 with tcp, order: 1, timeout: 656 [2023-05-10 23:04:32,907][DEBUG][ fast_ping.c:1448] ping 5.6.7.8:80, id = 6 [2023-05-10 23:04:33,207][DEBUG][ dns_server.c:2719] ping 1.2.3.4:443 with tcp, order: 2, timeout: 356 [2023-05-10 23:04:33,207][DEBUG][ fast_ping.c:1448] ping 1.2.3.4:443, id = 7 [2023-05-10 23:04:33,207][DEBUG][ dns_server.c:2719] ping 5.6.7.8:443 with tcp, order: 2, timeout: 356 [2023-05-10 23:04:33,207][DEBUG][ fast_ping.c:1448] ping 5.6.7.8:443, id = 8 [2023-05-10 23:04:33,639][DEBUG][ dns_server.c:2546] ping 1.2.3.4:80 timeout [2023-05-10 23:04:33,639][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4:80 end, id 5 [2023-05-10 23:04:33,639][DEBUG][ dns_server.c:2546] ping 1.2.3.4:443 timeout [2023-05-10 23:04:33,639][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4:443 end, id 7 [2023-05-10 23:04:33,639][DEBUG][ dns_server.c:2546] ping 5.6.7.8:443 timeout [2023-05-10 23:04:33,639][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8:443 end, id 8 [2023-05-10 23:04:33,639][DEBUG][ dns_server.c:2546] ping 1.2.3.4 timeout [2023-05-10 23:04:33,639][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 3 [2023-05-10 23:04:33,639][DEBUG][ dns_server.c:2546] ping 5.6.7.8:80 timeout [2023-05-10 23:04:33,639][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8:80 end, id 6 [2023-05-10 23:04:33,640][DEBUG][ dns_server.c:2546] ping 5.6.7.8 timeout [2023-05-10 23:04:33,640][DEBUG][ dns_server.c:2294] select best ip address, b.com [2023-05-10 23:04:33,640][DEBUG][ dns_server.c:2299] possible result: b.com, rcode: 0, hitnum: 1, 5.6.7.8 [2023-05-10 23:04:33,640][DEBUG][ dns_server.c:1874] reply b.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:33,640][DEBUG][ dns_server.c:953 ] result: b.com, rtt: -0.1 ms, 5.6.7.8 [2023-05-10 23:04:33,641][ INFO][ dns_server.c:813 ] result: b.com, id: 573, index: 1, rtt: -0.1 ms, 5.6.7.8 [2023-05-10 23:04:33,642][DEBUG][ dns_server.c:1269] cache b.com qtype: 1 ttl: 600 [2023-05-10 23:04:33,643][ INFO][ dns_server.c:1929] result: b.com, client: 127.0.0.1, qtype: 1, id: 573, group: default, time: 1029ms [2023-05-10 23:04:33,643][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8 end, id 4 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 b.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 573 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;b.com. IN A ;; ANSWER SECTION: b.com. 600 IN A 5.6.7.8 ;; Query time: 1033 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:33 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:04:33,893][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:33,893][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:33,894][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 27536, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:33,894][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 27536 [2023-05-10 23:04:33,894][ INFO][ dns_server.c:3871] RULE-MATCH, type: 9, domain: a.com, rule: a.com [2023-05-10 23:04:33,894][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:33,894][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 18652, group: default [2023-05-10 23:04:33,894][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:33,894][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 18652, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:33,894][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:33,894][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:33,894][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:33,894][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:33,894][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:33,894][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:33,894][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:33,894][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:33,895][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 27536, group: default, time: 1ms [2023-05-10 23:04:33,895][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 18652 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27536 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 600 IN A 1.2.3.4 a.com. 600 IN A 5.6.7.8 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:33 CST 2023 ;; MSG SIZE rcvd: 55 [ OK ] SpeedCheck.domain_rules_none (1627 ms) [ RUN ] SpeedCheck.only_ping [2023-05-10 23:04:34,005][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:34,029][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:34,030][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:34,030][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:34,030][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:34,032][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:34,235][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:34,235][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:34,235][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 49229, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:34,235][DEBUG][ dns_server.c:5390] query b.com from 127.0.0.1, qtype: 1, id: 49229 [2023-05-10 23:04:34,257][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:34,258][ INFO][ dns_client.c:3848] request: b.com, qtype: 1, id: 28270, group: default [2023-05-10 23:04:34,258][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:34,259][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 28270, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:34,259][DEBUG][ dns_client.c:1704] domain: b.com qtype: 1 qclass: 1 [2023-05-10 23:04:34,259][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:34,259][DEBUG][ dns_server.c:2837] domain: b.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:34,260][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 925 [2023-05-10 23:04:34,260][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 2 [2023-05-10 23:04:34,260][DEBUG][ dns_server.c:2837] domain: b.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:34,260][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 925 [2023-05-10 23:04:34,260][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 3 [2023-05-10 23:04:34,261][DEBUG][ dns_client.c:1476] result: b.com, qtype: 1, has-result: 1, id 28270 [2023-05-10 23:04:35,261][DEBUG][ dns_server.c:2546] ping 5.6.7.8 timeout [2023-05-10 23:04:35,261][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8 end, id 3 [2023-05-10 23:04:35,261][DEBUG][ dns_server.c:2546] ping 1.2.3.4 timeout [2023-05-10 23:04:35,261][DEBUG][ dns_server.c:2294] select best ip address, b.com [2023-05-10 23:04:35,262][DEBUG][ dns_server.c:2299] possible result: b.com, rcode: 0, hitnum: 1, 5.6.7.8 [2023-05-10 23:04:35,262][DEBUG][ dns_server.c:1874] reply b.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:35,262][DEBUG][ dns_server.c:953 ] result: b.com, rtt: -0.1 ms, 5.6.7.8 [2023-05-10 23:04:35,263][ INFO][ dns_server.c:813 ] result: b.com, id: 49229, index: 1, rtt: -0.1 ms, 5.6.7.8 [2023-05-10 23:04:35,263][DEBUG][ dns_server.c:1269] cache b.com qtype: 1 ttl: 600 [2023-05-10 23:04:35,264][ INFO][ dns_server.c:1929] result: b.com, client: 127.0.0.1, qtype: 1, id: 49229, group: default, time: 1029ms [2023-05-10 23:04:35,265][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 2 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 b.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49229 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;b.com. IN A ;; ANSWER SECTION: b.com. 600 IN A 5.6.7.8 ;; Query time: 1033 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:35 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] SpeedCheck.only_ping (1364 ms) [ RUN ] SpeedCheck.no_ping_fallback_tcp [2023-05-10 23:04:35,371][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:35,395][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:35,396][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:35,396][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:35,396][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:35,396][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:35,396][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:35,396][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:35,398][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:35,602][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:35,602][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:35,602][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 56036, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:35,603][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 56036 [2023-05-10 23:04:35,625][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:35,626][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 373, group: default [2023-05-10 23:04:35,626][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:35,627][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 373, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:35,627][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:35,627][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:35,627][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:35,628][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 925 [2023-05-10 23:04:35,628][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 3 [2023-05-10 23:04:35,628][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:35,628][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:35,628][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 4 [2023-05-10 23:04:35,629][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 373 [2023-05-10 23:04:35,900][DEBUG][ dns_server.c:2719] ping 1.2.3.4:80 with tcp, order: 1, timeout: 652 [2023-05-10 23:04:35,900][DEBUG][ fast_ping.c:1448] ping 1.2.3.4:80, id = 5 [2023-05-10 23:04:35,900][DEBUG][ dns_server.c:2719] ping 5.6.7.8:80 with tcp, order: 1, timeout: 652 [2023-05-10 23:04:35,900][DEBUG][ fast_ping.c:1448] ping 5.6.7.8:80, id = 6 [2023-05-10 23:04:36,001][DEBUG][ dns_server.c:2567] from 5.6.7.8:80: seq=1 time=1000, lasttime=-1 id=56036 [2023-05-10 23:04:36,001][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: 100.0 ms, 5.6.7.8 [2023-05-10 23:04:36,002][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:36,003][DEBUG][ dns_server.c:953 ] result: a.com, rtt: 100.0 ms, 5.6.7.8 [2023-05-10 23:04:36,003][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:36,004][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 56036, group: default, time: 402ms [2023-05-10 23:04:36,004][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8:80 end, id 6 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56036 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 5.6.7.8 ;; Query time: 403 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:36 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] SpeedCheck.no_ping_fallback_tcp (767 ms) [ RUN ] SpeedCheck.tcp_faster_than_ping [2023-05-10 23:04:36,138][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:36,162][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:36,163][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:36,163][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:36,163][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:36,164][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:36,164][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:36,164][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:36,165][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:36,367][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:36,367][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:36,367][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 59692, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:36,368][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 59692 [2023-05-10 23:04:36,390][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:36,390][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 50169, group: default [2023-05-10 23:04:36,391][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:36,391][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 50169, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:36,391][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:36,392][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:36,392][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:36,392][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 925 [2023-05-10 23:04:36,392][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 3 [2023-05-10 23:04:36,393][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:36,393][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:36,393][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 4 [2023-05-10 23:04:36,393][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 50169 [2023-05-10 23:04:36,666][DEBUG][ dns_server.c:2719] ping 1.2.3.4:80 with tcp, order: 1, timeout: 651 [2023-05-10 23:04:36,667][DEBUG][ fast_ping.c:1448] ping 1.2.3.4:80, id = 5 [2023-05-10 23:04:36,667][DEBUG][ dns_server.c:2719] ping 5.6.7.8:80 with tcp, order: 1, timeout: 650 [2023-05-10 23:04:36,667][DEBUG][ fast_ping.c:1448] ping 5.6.7.8:80, id = 6 [2023-05-10 23:04:36,677][DEBUG][ dns_server.c:2567] from 5.6.7.8:80: seq=1 time=100, lasttime=-1 id=59692 [2023-05-10 23:04:36,678][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: 10.0 ms, 5.6.7.8 [2023-05-10 23:04:36,679][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:36,679][DEBUG][ dns_server.c:953 ] result: a.com, rtt: 10.0 ms, 5.6.7.8 [2023-05-10 23:04:36,679][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:36,680][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 59692, group: default, time: 313ms [2023-05-10 23:04:36,681][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8:80 end, id 6 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59692 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 5.6.7.8 ;; Query time: 316 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:36 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] SpeedCheck.tcp_faster_than_ping (664 ms) [ RUN ] SpeedCheck.fastest_ip [2023-05-10 23:04:36,802][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:36,826][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:36,827][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:36,827][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:36,828][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:36,829][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:37,031][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:37,032][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:37,032][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 17928, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:37,032][DEBUG][ dns_server.c:5390] query b.com from 127.0.0.1, qtype: 1, id: 17928 [2023-05-10 23:04:37,054][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:37,055][ INFO][ dns_client.c:3848] request: b.com, qtype: 1, id: 12109, group: default [2023-05-10 23:04:37,055][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:37,056][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 12109, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:37,056][DEBUG][ dns_client.c:1704] domain: b.com qtype: 1 qclass: 1 [2023-05-10 23:04:37,056][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:37,056][DEBUG][ dns_server.c:2837] domain: b.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:37,057][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 926 [2023-05-10 23:04:37,057][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 2 [2023-05-10 23:04:37,057][DEBUG][ dns_server.c:2837] domain: b.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:37,057][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 925 [2023-05-10 23:04:37,057][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 3 [2023-05-10 23:04:37,058][DEBUG][ dns_client.c:1476] result: b.com, qtype: 1, has-result: 1, id 12109 [2023-05-10 23:04:37,158][DEBUG][ dns_server.c:2567] from 1.2.3.4: seq=1 time=1001, lasttime=-1 id=17928 [2023-05-10 23:04:37,158][ INFO][ dns_server.c:2120] result: b.com, qtype: 1, rtt: 100.1 ms, 1.2.3.4 [2023-05-10 23:04:37,159][DEBUG][ dns_server.c:1874] reply b.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:37,160][DEBUG][ dns_server.c:953 ] result: b.com, rtt: 100.1 ms, 1.2.3.4 [2023-05-10 23:04:37,160][DEBUG][ dns_server.c:1269] cache b.com qtype: 1 ttl: 600 [2023-05-10 23:04:37,161][ INFO][ dns_server.c:1929] result: b.com, client: 127.0.0.1, qtype: 1, id: 17928, group: default, time: 129ms [2023-05-10 23:04:37,161][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 2 [2023-05-10 23:04:37,167][DEBUG][ dns_server.c:2567] from 5.6.7.8: seq=1 time=1100, lasttime=1001 id=17928 [2023-05-10 23:04:37,168][DEBUG][ dns_server.c:1874] reply b.com qtype: 1, rcode: 0, reply: 0 [2023-05-10 23:04:37,168][DEBUG][ dns_server.c:953 ] result: b.com, rtt: 100.1 ms, 1.2.3.4 [2023-05-10 23:04:37,168][ INFO][ dns_server.c:813 ] result: b.com, id: 17928, index: 1, rtt: 100.1 ms, 1.2.3.4 [2023-05-10 23:04:37,168][ INFO][ dns_server.c:813 ] result: b.com, id: 17928, index: 2, rtt: 110.0 ms, 5.6.7.8 [2023-05-10 23:04:37,168][DEBUG][ dns_server.c:1269] cache b.com qtype: 1 ttl: 600 [2023-05-10 23:04:37,168][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8 end, id 3 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 b.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17928 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;b.com. IN A ;; ANSWER SECTION: b.com. 3 IN A 1.2.3.4 ;; Query time: 130 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:37 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:04:37,632][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:37,632][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:37,632][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 25848, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:37,632][DEBUG][ dns_server.c:5390] query b.com from 127.0.0.1, qtype: 1, id: 25848 [2023-05-10 23:04:37,632][ INFO][ dns_server.c:3375] result: b.com, client: 127.0.0.1, qtype: 1, id: 25848, group: default, time: 0ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 b.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25848 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;b.com. IN A ;; ANSWER SECTION: b.com. 600 IN A 1.2.3.4 b.com. 600 IN A 5.6.7.8 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:37 CST 2023 ;; MSG SIZE rcvd: 55 [ OK ] SpeedCheck.fastest_ip (964 ms) [ RUN ] SpeedCheck.unreach_best_ipv4 [2023-05-10 23:04:37,767][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:37,792][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:37,793][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:37,793][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:37,793][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:37,794][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:37,794][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:04:37,996][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:37,996][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:37,996][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 28090, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:37,996][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 28090 [2023-05-10 23:04:38,019][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:38,019][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:38,019][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 48724, group: default [2023-05-10 23:04:38,020][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:38,020][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 48724, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:38,020][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:38,020][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:38,021][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:38,021][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 925 [2023-05-10 23:04:38,021][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 2 [2023-05-10 23:04:38,022][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:38,022][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:38,022][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 3 [2023-05-10 23:04:38,022][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:38,022][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 48724, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:38,022][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:38,022][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:04:38,022][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:38,022][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 9.10.11.12 [2023-05-10 23:04:38,022][DEBUG][ dns_server.c:2714] ping 9.10.11.12 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:38,022][DEBUG][ fast_ping.c:1448] ping 9.10.11.12, id = 4 [2023-05-10 23:04:38,022][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 48724 [2023-05-10 23:04:39,023][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8 end, id 3 [2023-05-10 23:04:39,023][DEBUG][ fast_ping.c:677 ] ping 9.10.11.12 end, id 4 [2023-05-10 23:04:39,023][DEBUG][ dns_server.c:2294] select best ip address, a.com [2023-05-10 23:04:39,023][DEBUG][ dns_server.c:2299] possible result: a.com, rcode: 0, hitnum: 2, 1.2.3.4 [2023-05-10 23:04:39,024][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:39,024][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:39,025][ INFO][ dns_server.c:813 ] result: a.com, id: 28090, index: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:39,025][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:39,026][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 28090, group: default, time: 1030ms [2023-05-10 23:04:39,027][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 2 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28090 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 600 IN A 1.2.3.4 ;; Query time: 1033 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:39 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] SpeedCheck.unreach_best_ipv4 (1465 ms) [ RUN ] SpeedCheck.unreach_best_ipv6 [2023-05-10 23:04:39,233][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:39,257][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:39,258][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:39,258][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:39,258][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:39,259][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:39,260][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:04:39,260][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:39,261][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:39,463][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:39,463][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:39,463][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 28225, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:39,463][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 28225 [2023-05-10 23:04:39,486][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:39,486][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:39,487][ INFO][ dns_client.c:3848] request: a.com, qtype: 28, id: 32360, group: default [2023-05-10 23:04:39,487][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 73, ttl: 64 [2023-05-10 23:04:39,487][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 73, id = 32360, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:39,488][DEBUG][ dns_client.c:1704] domain: a.com qtype: 28 qclass: 1 [2023-05-10 23:04:39,488][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:04:39,488][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:39,489][DEBUG][ dns_server.c:2714] ping [2001:0db8:0000:0000:0000:0000:0000:0002] with icmp, order: 0, timeout: 925 [2023-05-10 23:04:39,489][DEBUG][ fast_ping.c:1448] ping [2001:0db8:0000:0000:0000:0000:0000:0002], id = 3 [2023-05-10 23:04:39,489][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0003 [2023-05-10 23:04:39,489][DEBUG][ dns_server.c:2714] ping [2001:0db8:0000:0000:0000:0000:0000:0003] with icmp, order: 0, timeout: 924 [2023-05-10 23:04:39,489][DEBUG][ fast_ping.c:1448] ping [2001:0db8:0000:0000:0000:0000:0000:0003], id = 4 [2023-05-10 23:04:39,489][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 73, ttl: 64 [2023-05-10 23:04:39,489][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 73, id = 32360, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:39,489][DEBUG][ dns_client.c:1704] domain: a.com qtype: 28 qclass: 1 [2023-05-10 23:04:39,489][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:39,489][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:39,489][DEBUG][ dns_server.c:2714] ping [2001:0db8:0000:0000:0000:0000:0000:0001] with icmp, order: 0, timeout: 924 [2023-05-10 23:04:39,489][DEBUG][ fast_ping.c:1448] ping [2001:0db8:0000:0000:0000:0000:0000:0001], id = 5 [2023-05-10 23:04:39,489][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:39,489][DEBUG][ dns_client.c:1476] result: a.com, qtype: 28, has-result: 1, id 32360 [2023-05-10 23:04:40,489][DEBUG][ fast_ping.c:677 ] ping [2001:0db8:0000:0000:0000:0000:0000:0003] end, id 4 [2023-05-10 23:04:40,490][DEBUG][ fast_ping.c:677 ] ping [2001:0db8:0000:0000:0000:0000:0000:0002] end, id 3 [2023-05-10 23:04:40,490][DEBUG][ dns_server.c:2294] select best ip address, a.com [2023-05-10 23:04:40,490][DEBUG][ dns_server.c:2306] possible result: a.com, rcode: 0, hitnum: 2, 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:40,490][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:04:40,490][DEBUG][ dns_server.c:960 ] result: a.com, rtt: -0.1 ms, 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:40,491][ INFO][ dns_server.c:817 ] result: a.com, id: 28225, index: 1, rtt: -0.1 ms, 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:40,492][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 600 [2023-05-10 23:04:40,493][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 28, id: 28225, group: default, time: 1030ms [2023-05-10 23:04:40,493][DEBUG][ fast_ping.c:677 ] ping [2001:0db8:0000:0000:0000:0000:0000:0001] end, id 5 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28225 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; ANSWER SECTION: a.com. 600 IN AAAA 2001:db8::2 ;; Query time: 1033 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:40 CST 2023 ;; MSG SIZE rcvd: 51 [ OK ] SpeedCheck.unreach_best_ipv6 (1467 ms) [----------] 9 tests from SpeedCheck (10563 ms total) [----------] 1 test from Server [ RUN ] Server.all_unreach [2023-05-10 23:04:40,700][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:40,724][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:40,725][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:40,725][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:40,725][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:40,725][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:40,725][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:40,725][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:41,374][ INFO][ dns_client.c:1169] add server 255.255.255.255:853, type: tls [2023-05-10 23:04:41,375][ INFO][ dns_client.c:1169] add server 255.255.255.255:443, type: https [2023-05-10 23:04:41,375][ INFO][ dns_client.c:1169] add server 255.255.255.255:53, type: tcp [2023-05-10 23:04:41,376][DEBUG][ fast_ping.c:1448] ping 2001::, id = 3 [2023-05-10 23:04:41,376][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 3 [2023-05-10 23:04:41,579][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:41,579][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:41,579][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 43258, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:41,579][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 43258 [2023-05-10 23:04:41,581][DEBUG][ dns_client.c:3482] send query to server 255.255.255.255 [2023-05-10 23:04:41,581][DEBUG][ dns_client.c:1954] connect 255.255.255.255 failed, Network is unreachable [2023-05-10 23:04:41,581][DEBUG][ dns_client.c:3482] send query to server 255.255.255.255 [2023-05-10 23:04:41,583][DEBUG][ dns_client.c:2068] connect 255.255.255.255 failed, Network is unreachable [2023-05-10 23:04:41,584][DEBUG][ dns_client.c:3482] send query to server 255.255.255.255 [2023-05-10 23:04:41,584][DEBUG][ dns_client.c:2068] connect 255.255.255.255 failed, Network is unreachable [2023-05-10 23:04:41,585][DEBUG][ dns_client.c:3482] send query to server 255.255.255.255 [2023-05-10 23:04:41,585][DEBUG][ dns_client.c:1954] connect 255.255.255.255 failed, Network is unreachable [2023-05-10 23:04:41,585][DEBUG][ dns_client.c:3482] send query to server 255.255.255.255 [2023-05-10 23:04:41,585][DEBUG][ dns_client.c:2068] connect 255.255.255.255 failed, Network is unreachable [2023-05-10 23:04:41,585][DEBUG][ dns_client.c:3482] send query to server 255.255.255.255 [2023-05-10 23:04:41,585][DEBUG][ dns_client.c:2068] connect 255.255.255.255 failed, Network is unreachable [2023-05-10 23:04:41,585][ WARN][ dns_client.c:3571] send query a.com to upstream server failed, total server number 3 [2023-05-10 23:04:41,585][DEBUG][ dns_server.c:5253] send dns request failed. [2023-05-10 23:04:41,585][DEBUG][ dns_server.c:5394] do query a.com failed. [2023-05-10 23:04:41,585][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:41,585][ INFO][ dns_server.c:994 ] result: a.com, qtype: 1, rtcode: 2 [2023-05-10 23:04:41,586][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 43258, group: default, time: 7ms [2023-05-10 23:04:41,587][DEBUG][ dns_server.c:6595] dns server process failed. ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 43258 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; Query time: 10 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:41 CST 2023 ;; MSG SIZE rcvd: 23 [2023-05-10 23:04:41,834][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 2 [2023-05-10 23:04:41,834][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:41,834][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 58963, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:41,834][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 58963 [2023-05-10 23:04:41,834][DEBUG][ dns_client.c:3482] send query to server 255.255.255.255 [2023-05-10 23:04:41,834][DEBUG][ dns_client.c:1954] connect 255.255.255.255 failed, Network is unreachable [2023-05-10 23:04:41,834][DEBUG][ dns_client.c:3482] send query to server 255.255.255.255 [2023-05-10 23:04:41,834][DEBUG][ dns_client.c:2068] connect 255.255.255.255 failed, Network is unreachable [2023-05-10 23:04:41,834][DEBUG][ dns_client.c:3482] send query to server 255.255.255.255 [2023-05-10 23:04:41,834][DEBUG][ dns_client.c:2068] connect 255.255.255.255 failed, Network is unreachable [2023-05-10 23:04:41,834][DEBUG][ dns_client.c:3482] send query to server 255.255.255.255 [2023-05-10 23:04:41,834][DEBUG][ dns_client.c:1954] connect 255.255.255.255 failed, Network is unreachable [2023-05-10 23:04:41,834][DEBUG][ dns_client.c:3482] send query to server 255.255.255.255 [2023-05-10 23:04:41,834][DEBUG][ dns_client.c:2068] connect 255.255.255.255 failed, Network is unreachable [2023-05-10 23:04:41,834][DEBUG][ dns_client.c:3482] send query to server 255.255.255.255 [2023-05-10 23:04:41,834][DEBUG][ dns_client.c:2068] connect 255.255.255.255 failed, Network is unreachable [2023-05-10 23:04:41,834][DEBUG][ dns_server.c:5253] send dns request failed. [2023-05-10 23:04:41,834][DEBUG][ dns_server.c:5394] do query a.com failed. [2023-05-10 23:04:41,834][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:41,834][ INFO][ dns_server.c:994 ] result: a.com, qtype: 1, rtcode: 2 [2023-05-10 23:04:41,834][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 58963, group: default, time: 0ms [2023-05-10 23:04:41,835][DEBUG][ dns_server.c:5947] process one request failed. [2023-05-10 23:04:41,835][DEBUG][ dns_server.c:6002] process tcp request failed. [2023-05-10 23:04:41,835][DEBUG][ dns_server.c:6167] process TCP packet from 127.0.0.1 failed. [2023-05-10 23:04:41,835][DEBUG][ dns_server.c:6595] dns server process failed. ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tcp +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 58963 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (TCP) ;; WHEN: Wed May 10 23:04:41 CST 2023 ;; MSG SIZE rcvd: 23 [ OK ] Server.all_unreach (1201 ms) [----------] 1 test from Server (1201 ms total) [----------] 1 test from SamePending [ RUN ] SamePending.pending [ OK ] SamePending.pending (2889 ms) [----------] 1 test from SamePending (2889 ms total) [----------] 5 tests from QtypeSOA [ RUN ] QtypeSOA.AAAA_HTTPS [2023-05-10 23:04:44,792][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:44,815][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:44,816][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:44,816][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:44,817][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:44,817][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:44,817][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:44,817][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:44,818][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:45,021][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:45,021][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:45,021][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 2331, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:45,021][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 2331 [2023-05-10 23:04:45,022][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:04:45,023][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 28, id: 2331, group: default, time: 1ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2331 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; AUTHORITY SECTION: a.com. 30 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1800 1800 900 604800 86400 ;; Query time: 6 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:45 CST 2023 ;; MSG SIZE rcvd: 96 [2023-05-10 23:04:45,273][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:45,273][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:45,273][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 39719, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:45,273][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 65, id: 39719 [2023-05-10 23:04:45,273][DEBUG][ dns_server.c:4975] unsupported qtype: 65, domain: a.com [2023-05-10 23:04:45,273][DEBUG][ dns_server.c:1874] reply a.com qtype: 65, rcode: 0, reply: 1 [2023-05-10 23:04:45,273][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 65, id: 39719, group: default, time: 1ms [2023-05-10 23:04:45,273][DEBUG][ dns_server.c:4562] force qtype 65 soa ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com -t HTTPS +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39719 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN HTTPS ;; AUTHORITY SECTION: a.com. 30 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1800 1800 900 604800 86400 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:45 CST 2023 ;; MSG SIZE rcvd: 96 [2023-05-10 23:04:45,524][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:45,524][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:45,524][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 19029, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:45,524][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 19029 [2023-05-10 23:04:45,546][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:45,546][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 19000, group: default [2023-05-10 23:04:45,547][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:45,547][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 19000, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:45,547][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:45,547][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:45,548][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:45,548][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 926 [2023-05-10 23:04:45,548][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 3 [2023-05-10 23:04:45,549][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:45,549][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 925 [2023-05-10 23:04:45,549][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 4 [2023-05-10 23:04:45,549][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 19000 [2023-05-10 23:04:45,818][DEBUG][ dns_server.c:2719] ping 1.2.3.4:80 with tcp, order: 1, timeout: 656 [2023-05-10 23:04:45,818][DEBUG][ fast_ping.c:1448] ping 1.2.3.4:80, id = 5 [2023-05-10 23:04:45,819][DEBUG][ dns_server.c:2719] ping 5.6.7.8:80 with tcp, order: 1, timeout: 656 [2023-05-10 23:04:45,819][DEBUG][ fast_ping.c:1448] ping 5.6.7.8:80, id = 6 [2023-05-10 23:04:46,118][DEBUG][ dns_server.c:2719] ping 1.2.3.4:443 with tcp, order: 2, timeout: 356 [2023-05-10 23:04:46,118][DEBUG][ fast_ping.c:1448] ping 1.2.3.4:443, id = 7 [2023-05-10 23:04:46,118][DEBUG][ dns_server.c:2719] ping 5.6.7.8:443 with tcp, order: 2, timeout: 356 [2023-05-10 23:04:46,118][DEBUG][ fast_ping.c:1448] ping 5.6.7.8:443, id = 8 [2023-05-10 23:04:46,550][DEBUG][ dns_server.c:2546] ping 1.2.3.4:80 timeout [2023-05-10 23:04:46,550][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4:80 end, id 5 [2023-05-10 23:04:46,550][DEBUG][ dns_server.c:2546] ping 1.2.3.4:443 timeout [2023-05-10 23:04:46,550][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4:443 end, id 7 [2023-05-10 23:04:46,550][DEBUG][ dns_server.c:2546] ping 5.6.7.8:443 timeout [2023-05-10 23:04:46,550][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8:443 end, id 8 [2023-05-10 23:04:46,550][DEBUG][ dns_server.c:2546] ping 1.2.3.4 timeout [2023-05-10 23:04:46,550][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 3 [2023-05-10 23:04:46,550][DEBUG][ dns_server.c:2546] ping 5.6.7.8:80 timeout [2023-05-10 23:04:46,550][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8:80 end, id 6 [2023-05-10 23:04:46,550][DEBUG][ dns_server.c:2546] ping 5.6.7.8 timeout [2023-05-10 23:04:46,550][DEBUG][ dns_server.c:2294] select best ip address, a.com [2023-05-10 23:04:46,550][DEBUG][ dns_server.c:2299] possible result: a.com, rcode: 0, hitnum: 1, 5.6.7.8 [2023-05-10 23:04:46,550][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:46,550][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 5.6.7.8 [2023-05-10 23:04:46,552][ INFO][ dns_server.c:813 ] result: a.com, id: 19029, index: 1, rtt: -0.1 ms, 5.6.7.8 [2023-05-10 23:04:46,552][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:46,552][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 19029, group: default, time: 1028ms [2023-05-10 23:04:46,553][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8 end, id 4 [ OK ] QtypeSOA.AAAA_HTTPS (1867 ms) [ RUN ] QtypeSOA.AAAA_Except [2023-05-10 23:04:46,660][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:46,684][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:46,684][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:46,685][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:46,685][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:46,685][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:46,685][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:46,685][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:46,686][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:46,889][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:46,889][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:46,889][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 20160, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:46,889][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 20160 [2023-05-10 23:04:46,889][ INFO][ dns_server.c:3871] RULE-MATCH, type: 0, domain: a.com, rule: a.com [2023-05-10 23:04:46,912][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:46,912][ INFO][ dns_client.c:3848] request: a.com, qtype: 28, id: 53992, group: default [2023-05-10 23:04:46,913][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 45, ttl: 64 [2023-05-10 23:04:46,913][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 45, id = 53992, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:46,913][DEBUG][ dns_client.c:1704] domain: a.com qtype: 28 qclass: 1 [2023-05-10 23:04:46,913][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:46,913][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:46,914][ INFO][ dns_server.c:2124] result: a.com, qtype: 28, rtt: -0.1 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:46,916][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:04:46,916][DEBUG][ dns_server.c:960 ] result: a.com, rtt: -0.1 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:46,916][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 600 [2023-05-10 23:04:46,917][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 28, id: 20160, group: default, time: 28ms [2023-05-10 23:04:46,918][DEBUG][ dns_client.c:1476] result: a.com, qtype: 28, has-result: 1, id 53992 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20160 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; ANSWER SECTION: a.com. 3 IN AAAA 2001:db8::1 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:46 CST 2023 ;; MSG SIZE rcvd: 51 [ OK ] QtypeSOA.AAAA_Except (364 ms) [ RUN ] QtypeSOA.force_AAAA_SOA_Except [2023-05-10 23:04:47,024][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:47,048][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:47,049][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:47,049][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:47,049][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:47,049][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:47,049][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:47,049][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:47,050][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:47,253][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:47,253][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:47,253][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 35977, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:47,253][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 35977 [2023-05-10 23:04:47,254][ INFO][ dns_server.c:3871] RULE-MATCH, type: 0, domain: a.com, rule: a.com [2023-05-10 23:04:47,276][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:47,276][ INFO][ dns_client.c:3848] request: a.com, qtype: 28, id: 32903, group: default [2023-05-10 23:04:47,277][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 45, ttl: 64 [2023-05-10 23:04:47,277][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 45, id = 32903, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:47,277][DEBUG][ dns_client.c:1704] domain: a.com qtype: 28 qclass: 1 [2023-05-10 23:04:47,278][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:47,278][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:47,279][ INFO][ dns_server.c:2124] result: a.com, qtype: 28, rtt: -0.1 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:47,280][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:04:47,280][DEBUG][ dns_server.c:960 ] result: a.com, rtt: -0.1 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:47,281][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 600 [2023-05-10 23:04:47,282][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 28, id: 35977, group: default, time: 28ms [2023-05-10 23:04:47,282][DEBUG][ dns_client.c:1476] result: a.com, qtype: 28, has-result: 1, id 32903 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35977 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; ANSWER SECTION: a.com. 3 IN AAAA 2001:db8::1 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:47 CST 2023 ;; MSG SIZE rcvd: 51 [ OK ] QtypeSOA.force_AAAA_SOA_Except (364 ms) [ RUN ] QtypeSOA.force_AAAA_SOA [2023-05-10 23:04:47,388][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:47,411][ INFO][ dns_server.c:4852] ICMP ping is disabled, no ipv6 icmp check feature [2023-05-10 23:04:47,411][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:47,413][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:47,616][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:47,616][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:47,616][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 8014, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:47,616][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 8014 [2023-05-10 23:04:47,639][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:47,639][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 17551, group: default [2023-05-10 23:04:47,640][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:04:47,640][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 17551, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:47,640][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:47,640][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:47,641][DEBUG][ dns_server.c:2837] domain: a.com TTL: 700 IP: 1.2.3.4 [2023-05-10 23:04:47,641][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:47,642][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:47,643][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:47,643][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 700 [2023-05-10 23:04:47,644][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 8014, group: default, time: 28ms [2023-05-10 23:04:47,645][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 17551 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com A +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8014 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 700 IN A 1.2.3.4 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:47 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:04:47,893][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:47,893][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:47,893][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 5568, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:47,893][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 5568 [2023-05-10 23:04:47,894][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:04:47,894][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 28, id: 5568, group: default, time: 1ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5568 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; AUTHORITY SECTION: a.com. 30 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1800 1800 900 604800 86400 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:47 CST 2023 ;; MSG SIZE rcvd: 96 [ OK ] QtypeSOA.force_AAAA_SOA (663 ms) [ RUN ] QtypeSOA.bind_force_AAAA_SOA [2023-05-10 23:04:48,051][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:48,074][ INFO][ dns_server.c:4852] ICMP ping is disabled, no ipv6 icmp check feature [2023-05-10 23:04:48,075][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:48,076][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:48,278][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:48,278][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:48,278][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 16214, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:48,278][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 16214 [2023-05-10 23:04:48,301][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:48,301][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 39362, group: default [2023-05-10 23:04:48,302][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:04:48,302][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 39362, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:48,302][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:48,302][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:48,303][DEBUG][ dns_server.c:2837] domain: a.com TTL: 700 IP: 1.2.3.4 [2023-05-10 23:04:48,303][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:48,305][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:48,305][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:48,305][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 700 [2023-05-10 23:04:48,306][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 16214, group: default, time: 28ms [2023-05-10 23:04:48,307][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 39362 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com A +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16214 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 700 IN A 1.2.3.4 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:48 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:04:48,564][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:48,564][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:48,564][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 52846, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:48,564][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 52846 [2023-05-10 23:04:48,564][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:48,564][ INFO][ dns_client.c:3848] request: a.com, qtype: 28, id: 18275, group: default [2023-05-10 23:04:48,564][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 45, ttl: 64 [2023-05-10 23:04:48,564][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 45, id = 18275, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:48,564][DEBUG][ dns_client.c:1704] domain: a.com qtype: 28 qclass: 1 [2023-05-10 23:04:48,564][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:48,564][DEBUG][ dns_server.c:2913] domain: a.com TTL: 700 IP: 0064:ff9b:0000:0000:0000:0000:0102:0304 [2023-05-10 23:04:48,565][ INFO][ dns_server.c:2124] result: a.com, qtype: 28, rtt: -0.1 ms, 0064:ff9b:0000:0000:0000:0000:0102:0304 [2023-05-10 23:04:48,565][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:04:48,565][DEBUG][ dns_server.c:960 ] result: a.com, rtt: -0.1 ms, 0064:ff9b:0000:0000:0000:0000:0102:0304 [2023-05-10 23:04:48,565][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 700 [2023-05-10 23:04:48,565][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 28, id: 52846, group: default, time: 1ms [2023-05-10 23:04:48,565][DEBUG][ dns_client.c:1476] result: a.com, qtype: 28, has-result: 1, id 18275 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52846 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; ANSWER SECTION: a.com. 700 IN AAAA 64:ff9b::102:304 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:48 CST 2023 ;; MSG SIZE rcvd: 51 [2023-05-10 23:04:48,814][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:48,814][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:48,814][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 29903, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:48,814][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 29903 [2023-05-10 23:04:48,814][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:48,814][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 54032, group: default [2023-05-10 23:04:48,814][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:04:48,814][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 54032, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:48,814][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:48,814][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:48,814][DEBUG][ dns_server.c:2837] domain: a.com TTL: 700 IP: 1.2.3.4 [2023-05-10 23:04:48,814][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:48,814][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:48,814][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:48,814][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 700 [2023-05-10 23:04:48,815][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 29903, group: default, time: 0ms [2023-05-10 23:04:48,815][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 54032 ; <<>> DiG 9.18.14 <<>> -p 60153 @127.0.0.1 a.com A +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29903 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 700 IN A 1.2.3.4 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60153(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:48 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:04:49,064][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:49,064][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:49,064][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 40933, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:49,064][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 40933 [2023-05-10 23:04:49,064][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:04:49,064][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 28, id: 40933, group: default, time: 0ms ; <<>> DiG 9.18.14 <<>> -p 60153 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40933 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; AUTHORITY SECTION: a.com. 30 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1800 1800 900 604800 86400 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60153(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:49 CST 2023 ;; MSG SIZE rcvd: 96 [ OK ] QtypeSOA.bind_force_AAAA_SOA (1074 ms) [----------] 5 tests from QtypeSOA (4334 ms total) [----------] 3 tests from Ptr [ RUN ] Ptr.query [2023-05-10 23:04:49,126][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:49,150][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:49,151][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:49,151][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:49,151][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:49,151][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:49,151][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:49,151][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:49,152][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:49,354][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 61, type = 0 [2023-05-10 23:04:49,354][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:49,354][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 61, id = 48507, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:49,355][DEBUG][ dns_server.c:5390] query 4.3.2.1.in-addr.arpa from 127.0.0.1, qtype: 12, id: 48507 [2023-05-10 23:04:49,379][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:49,379][ INFO][ dns_client.c:3848] request: 4.3.2.1.in-addr.arpa, qtype: 12, id: 40703, group: default [2023-05-10 23:04:49,380][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 57, ttl: 64 [2023-05-10 23:04:49,380][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 57, id = 40703, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:49,380][DEBUG][ dns_client.c:1704] domain: 4.3.2.1.in-addr.arpa qtype: 12 qclass: 1 [2023-05-10 23:04:49,381][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:49,382][ INFO][ dns_server.c:3375] result: 4.3.2.1.in-addr.arpa, client: 127.0.0.1, qtype: 12, id: 48507, group: default, time: 28ms [2023-05-10 23:04:49,382][DEBUG][ dns_client.c:1476] result: 4.3.2.1.in-addr.arpa, qtype: 12, has-result: 1, id 40703 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 4.3.2.1.in-addr.arpa PTR +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48507 ;; flags: qr ra; QUERY: 0, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; ANSWER SECTION: 4.3.2.1.in-addr.arpa. 600 IN PTR my-hostname. ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:49 CST 2023 ;; MSG SIZE rcvd: 57 [ OK ] Ptr.query (364 ms) [ RUN ] Ptr.address_expand_ptr [2023-05-10 23:04:49,493][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:49,515][ INFO][ dns_server.c:4852] ICMP ping is disabled, no ipv6 icmp check feature [2023-05-10 23:04:49,515][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:49,517][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:49,720][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 65, type = 0 [2023-05-10 23:04:49,720][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:49,720][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 65, id = 48644, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:49,720][DEBUG][ dns_server.c:5390] query 13.12.11.10.in-addr.arpa from 127.0.0.1, qtype: 12, id: 48644 [2023-05-10 23:04:49,720][DEBUG][ dns_server.c:1874] reply 13.12.11.10.in-addr.arpa qtype: 12, rcode: 0, reply: 1 [2023-05-10 23:04:49,721][ INFO][ dns_server.c:1929] result: 13.12.11.10.in-addr.arpa, client: 127.0.0.1, qtype: 12, id: 48644, group: default, time: 1ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 13.12.11.10.in-addr.arpa PTR +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48644 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;13.12.11.10.in-addr.arpa. IN PTR ;; ANSWER SECTION: 13.12.11.10.in-addr.arpa. 600 IN PTR a.com. ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:49 CST 2023 ;; MSG SIZE rcvd: 61 [2023-05-10 23:04:49,970][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 113, type = 0 [2023-05-10 23:04:49,970][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:49,970][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 113, id = 56009, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:49,970][DEBUG][ dns_server.c:5390] query 0.1.0.1.0.1.0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.b.9.f.f.4.6.0.0.ip6.arpa from 127.0.0.1, qtype: 12, id: 56009 [2023-05-10 23:04:49,970][DEBUG][ dns_server.c:1874] reply 0.1.0.1.0.1.0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.b.9.f.f.4.6.0.0.ip6.arpa qtype: 12, rcode: 0, reply: 1 [2023-05-10 23:04:49,971][ INFO][ dns_server.c:1929] result: 0.1.0.1.0.1.0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.b.9.f.f.4.6.0.0.ip6.arpa, client: 127.0.0.1, qtype: 12, id: 56009, group: default, time: 0ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 0.1.0.1.0.1.0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.b.9.f.f.4.6.0.0.ip6.arpa PTR +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56009 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;0.1.0.1.0.1.0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.b.9.f.f.4.6.0.0.ip6.arpa. IN PTR ;; ANSWER SECTION: 0.1.0.1.0.1.0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.b.9.f.f.4.6.0.0.ip6.arpa. 600 IN PTR a.com. ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:49 CST 2023 ;; MSG SIZE rcvd: 109 [ OK ] Ptr.address_expand_ptr (601 ms) [ RUN ] Ptr.smartdns [2023-05-10 23:04:50,093][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:50,116][DEBUG][ fast_ping.c:1448] ping 2001::, id = 1 [2023-05-10 23:04:50,117][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:50,117][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 1 [2023-05-10 23:04:50,117][DEBUG][ fast_ping.c:1448] ping 2001::, id = 2 [2023-05-10 23:04:50,117][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:50,117][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 2 [2023-05-10 23:04:50,117][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:50,119][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:50,321][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 63, type = 0 [2023-05-10 23:04:50,321][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:50,321][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 63, id = 27926, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:50,321][DEBUG][ dns_server.c:5390] query 1.0.0.127.in-addr.arpa from 127.0.0.1, qtype: 12, id: 27926 [2023-05-10 23:04:50,323][DEBUG][ dns_server.c:1874] reply 1.0.0.127.in-addr.arpa qtype: 12, rcode: 0, reply: 1 [2023-05-10 23:04:50,324][ INFO][ dns_server.c:1929] result: 1.0.0.127.in-addr.arpa, client: 127.0.0.1, qtype: 12, id: 27926, group: default, time: 3ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 1.0.0.127.in-addr.arpa PTR +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27926 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;1.0.0.127.in-addr.arpa. IN PTR ;; ANSWER SECTION: 1.0.0.127.in-addr.arpa. 600 IN PTR my-server. ;; Query time: 6 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:50 CST 2023 ;; MSG SIZE rcvd: 63 [ OK ] Ptr.smartdns (301 ms) [----------] 3 tests from Ptr (1267 ms total) [----------] 3 tests from Ping [ RUN ] Ping.icmp [2023-05-10 23:04:50,385][DEBUG][ fast_ping.c:1448] ping 127.0.0.1, id = 1 [2023-05-10 23:04:50,400][DEBUG][ fast_ping.c:677 ] ping 127.0.0.1 end, id 1 [ OK ] Ping.icmp (18 ms) [ RUN ] Ping.tcp [2023-05-10 23:04:50,401][DEBUG][ fast_ping.c:1448] ping 127.0.0.1:1, id = 2 [2023-05-10 23:04:50,412][DEBUG][ fast_ping.c:677 ] ping 127.0.0.1:1 end, id 2 [ OK ] Ping.tcp (11 ms) [ RUN ] Ping.fake_icmp [2023-05-10 23:04:50,413][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 3 [2023-05-10 23:04:50,418][ INFO][ test-ping.cc:82 ] from 1.2.3.4: seq=1 ttl=60 time=5.074 [2023-05-10 23:04:50,513][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 3 [ OK ] Ping.fake_icmp (101 ms) [----------] 3 tests from Ping (130 ms total) [----------] 1 test from Perf [ RUN ] Perf.no_speed_check dnsperf not found, skip test, please install dnsperf first. cases/test-perf.cc:39: Skipped [ SKIPPED ] Perf.no_speed_check (1 ms) [----------] 1 test from Perf (1 ms total) [----------] 1 test from NameServer [ RUN ] NameServer.cname [2023-05-10 23:04:50,526][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:50,544][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:04:50,545][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:50,545][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:04:50,545][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:04:50,545][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:50,545][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:04:50,545][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:50,547][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:50,547][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:04:50,547][ INFO][ dns_client.c:1169] add server 127.0.0.1:63053, type: udp [2023-05-10 23:04:50,750][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:50,750][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:50,750][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 8725, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:50,750][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 8725 [2023-05-10 23:04:50,751][ INFO][ dns_server.c:3871] RULE-MATCH, type: 8, domain: a.com, rule: a.com [2023-05-10 23:04:50,773][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:50,774][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 59461, group: g1 [2023-05-10 23:04:50,775][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:04:50,775][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 59461, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:50,775][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:50,775][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:04:50,775][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 1.2.3.4 [2023-05-10 23:04:50,776][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:50,776][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:04:50,776][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 59461 [2023-05-10 23:04:50,776][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:50,777][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:50,777][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:50,777][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 611 [2023-05-10 23:04:50,779][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 8725, group: g1, time: 28ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8725 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:50 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:04:51,027][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:51,028][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:51,028][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 58996, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:51,028][DEBUG][ dns_server.c:5390] query b.com from 127.0.0.1, qtype: 1, id: 58996 [2023-05-10 23:04:51,028][ INFO][ dns_server.c:3871] RULE-MATCH, type: 8, domain: b.com, rule: b.com [2023-05-10 23:04:51,028][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:51,028][ INFO][ dns_client.c:3848] request: b.com, qtype: 1, id: 32527, group: g2 [2023-05-10 23:04:51,028][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:04:51,028][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 32527, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:51,028][DEBUG][ dns_client.c:1704] domain: b.com qtype: 1 qclass: 1 [2023-05-10 23:04:51,028][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:63053, type: 0 [2023-05-10 23:04:51,028][DEBUG][ dns_server.c:2837] domain: b.com TTL: 611 IP: 5.6.7.8 [2023-05-10 23:04:51,028][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 949 [2023-05-10 23:04:51,028][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 7 [2023-05-10 23:04:51,028][DEBUG][ dns_client.c:1476] result: b.com, qtype: 1, has-result: 1, id 32527 [2023-05-10 23:04:51,028][ INFO][ dns_server.c:2120] result: b.com, qtype: 1, rtt: -0.1 ms, 5.6.7.8 [2023-05-10 23:04:51,028][DEBUG][ dns_server.c:1874] reply b.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:51,028][DEBUG][ dns_server.c:953 ] result: b.com, rtt: -0.1 ms, 5.6.7.8 [2023-05-10 23:04:51,028][DEBUG][ dns_server.c:1269] cache b.com qtype: 1 ttl: 611 [2023-05-10 23:04:51,028][ INFO][ dns_server.c:1929] result: b.com, client: 127.0.0.1, qtype: 1, id: 58996, group: g2, time: 1ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 b.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58996 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;b.com. IN A ;; ANSWER SECTION: b.com. 3 IN A 5.6.7.8 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:51 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:04:51,277][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:51,277][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:51,277][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 17386, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:51,277][DEBUG][ dns_server.c:5390] query c.com from 127.0.0.1, qtype: 1, id: 17386 [2023-05-10 23:04:51,277][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:51,277][ INFO][ dns_client.c:3848] request: c.com, qtype: 1, id: 17235, group: default [2023-05-10 23:04:51,278][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:04:51,278][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 17235, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:51,278][DEBUG][ dns_client.c:1704] domain: c.com qtype: 1 qclass: 1 [2023-05-10 23:04:51,278][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:51,278][DEBUG][ dns_server.c:2837] domain: c.com TTL: 611 IP: 9.10.11.12 [2023-05-10 23:04:51,278][DEBUG][ dns_server.c:2714] ping 9.10.11.12 with icmp, order: 0, timeout: 949 [2023-05-10 23:04:51,278][DEBUG][ fast_ping.c:1448] ping 9.10.11.12, id = 8 [2023-05-10 23:04:51,278][DEBUG][ dns_client.c:1476] result: c.com, qtype: 1, has-result: 1, id 17235 [2023-05-10 23:04:51,278][ INFO][ dns_server.c:2120] result: c.com, qtype: 1, rtt: -0.1 ms, 9.10.11.12 [2023-05-10 23:04:51,278][DEBUG][ dns_server.c:1874] reply c.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:51,278][DEBUG][ dns_server.c:953 ] result: c.com, rtt: -0.1 ms, 9.10.11.12 [2023-05-10 23:04:51,278][DEBUG][ dns_server.c:1269] cache c.com qtype: 1 ttl: 611 [2023-05-10 23:04:51,278][ INFO][ dns_server.c:1929] result: c.com, client: 127.0.0.1, qtype: 1, id: 17386, group: default, time: 1ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 c.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17386 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;c.com. IN A ;; ANSWER SECTION: c.com. 3 IN A 9.10.11.12 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:51 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] NameServer.cname (863 ms) [----------] 1 test from NameServer (863 ms total) [----------] 3 tests from MockServer [ RUN ] MockServer.query_fail ; <<>> DiG 9.18.14 <<>> -p 7053 @127.0.0.1 example.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 736 ;; flags: qr ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;example.com. IN A ;; Query time: 3 msec ;; SERVER: 127.0.0.1#7053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:51 CST 2023 ;; MSG SIZE rcvd: 29 [ OK ] MockServer.query_fail (302 ms) [ RUN ] MockServer.soa ; <<>> DiG 9.18.14 <<>> -p 7053 @127.0.0.1 example.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 8107 ;; flags: qr ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;example.com. IN A ;; ANSWER SECTION: example.com. 1 IN SOA ns1.example.com. hostmaster.example.com. 1 3600 600 86400 3600 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#7053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:51 CST 2023 ;; MSG SIZE rcvd: 80 [ OK ] MockServer.soa (302 ms) [ RUN ] MockServer.noerror ; <<>> DiG 9.18.14 <<>> -p 7053 @127.0.0.1 example.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37632 ;; flags: qr ra; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#7053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:52 CST 2023 ;; MSG SIZE rcvd: 12 [ OK ] MockServer.noerror (301 ms) [----------] 3 tests from MockServer (907 ms total) [----------] 3 tests from IPRule [ RUN ] IPRule.white_list [2023-05-10 23:04:52,296][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:52,314][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:04:52,315][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:52,315][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:04:52,315][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:04:52,315][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:52,315][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:04:52,315][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:52,317][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:52,317][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:04:52,520][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:52,520][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:52,520][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 17165, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:52,520][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 17165 [2023-05-10 23:04:52,543][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:52,543][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:52,544][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 5969, group: default [2023-05-10 23:04:52,544][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:04:52,544][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 5969, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:52,544][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:52,545][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:04:52,545][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 4.5.6.7 [2023-05-10 23:04:52,546][DEBUG][ dns_server.c:2714] ping 4.5.6.7 with icmp, order: 0, timeout: 925 [2023-05-10 23:04:52,546][DEBUG][ fast_ping.c:1448] ping 4.5.6.7, id = 6 [2023-05-10 23:04:52,546][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:04:52,546][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 5969, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:52,546][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:52,546][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:52,546][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 1.2.3.4 [2023-05-10 23:04:52,546][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 5969 [2023-05-10 23:04:52,546][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 4.5.6.7 [2023-05-10 23:04:52,547][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:52,547][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 4.5.6.7 [2023-05-10 23:04:52,547][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 611 [2023-05-10 23:04:52,548][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 17165, group: default, time: 28ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17165 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 4.5.6.7 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:52 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] IPRule.white_list (458 ms) [ RUN ] IPRule.black_list [2023-05-10 23:04:52,756][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:52,775][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:04:52,775][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:52,775][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:04:52,775][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:04:52,775][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:52,776][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:04:52,776][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:52,777][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:52,777][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:04:52,979][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:52,979][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:52,979][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 51456, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:52,980][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 51456 [2023-05-10 23:04:53,003][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:53,004][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:53,004][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 3958, group: default [2023-05-10 23:04:53,004][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:04:53,005][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 3958, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:53,005][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:53,005][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:53,005][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 1.2.3.4 [2023-05-10 23:04:53,006][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 923 [2023-05-10 23:04:53,006][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:04:53,006][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:04:53,006][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 3958, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:53,006][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:53,006][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:04:53,006][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 4.5.6.7 [2023-05-10 23:04:53,006][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 3958 [2023-05-10 23:04:53,007][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:53,007][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:53,007][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:04:53,008][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 611 [2023-05-10 23:04:53,009][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 51456, group: default, time: 30ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51456 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:53 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] IPRule.black_list (460 ms) [ RUN ] IPRule.ignore_ip [2023-05-10 23:04:53,215][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:53,234][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:04:53,235][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:53,235][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:04:53,235][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:04:53,235][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:53,235][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:04:53,235][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:53,237][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:53,440][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:53,440][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:53,440][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 62452, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:53,440][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 62452 [2023-05-10 23:04:53,464][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:53,464][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 34373, group: default [2023-05-10 23:04:53,465][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 65, ttl: 64 [2023-05-10 23:04:53,465][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 3, nscount = 0, nrcount = 0, len = 65, id = 34373, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:53,465][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:53,466][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:53,466][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 1.2.3.4 [2023-05-10 23:04:53,466][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 4.5.6.7 [2023-05-10 23:04:53,466][DEBUG][ dns_server.c:2714] ping 4.5.6.7 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:53,466][DEBUG][ fast_ping.c:1448] ping 4.5.6.7, id = 6 [2023-05-10 23:04:53,467][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 7.8.9.10 [2023-05-10 23:04:53,467][DEBUG][ dns_server.c:2714] ping 7.8.9.10 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:53,467][DEBUG][ fast_ping.c:1448] ping 7.8.9.10, id = 7 [2023-05-10 23:04:53,467][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 34373 [2023-05-10 23:04:53,507][DEBUG][ dns_server.c:2567] from 7.8.9.10: seq=1 time=400, lasttime=-1 id=62452 [2023-05-10 23:04:53,507][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: 40.0 ms, 7.8.9.10 [2023-05-10 23:04:53,508][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:53,508][DEBUG][ dns_server.c:953 ] result: a.com, rtt: 40.0 ms, 7.8.9.10 [2023-05-10 23:04:53,508][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 611 [2023-05-10 23:04:53,509][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 62452, group: default, time: 69ms [2023-05-10 23:04:53,510][DEBUG][ fast_ping.c:677 ] ping 7.8.9.10 end, id 7 [2023-05-10 23:04:53,557][DEBUG][ dns_server.c:2567] from 4.5.6.7: seq=1 time=900, lasttime=400 id=62452 [2023-05-10 23:04:53,557][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 0 [2023-05-10 23:04:53,557][DEBUG][ dns_server.c:953 ] result: a.com, rtt: 40.0 ms, 7.8.9.10 [2023-05-10 23:04:53,557][ INFO][ dns_server.c:813 ] result: a.com, id: 62452, index: 1, rtt: 40.0 ms, 7.8.9.10 [2023-05-10 23:04:53,557][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 611 [2023-05-10 23:04:53,557][DEBUG][ fast_ping.c:677 ] ping 4.5.6.7 end, id 6 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62452 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 7.8.9.10 ;; Query time: 73 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:53 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] IPRule.ignore_ip (360 ms) [----------] 3 tests from IPRule (1279 ms total) [----------] 3 tests from DualStack [ RUN ] DualStack.ipv4_prefer [2023-05-10 23:04:53,575][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:53,594][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:04:53,595][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:53,595][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:04:53,595][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:53,596][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:53,597][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:04:53,597][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:04:53,799][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:53,799][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:53,799][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 1337, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:53,800][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 1337 [2023-05-10 23:04:53,824][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:53,824][ INFO][ dns_client.c:3848] request: a.com, qtype: 28, id: 44098, group: default [2023-05-10 23:04:53,824][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 73, ttl: 64 [2023-05-10 23:04:53,824][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:53,825][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 24630, group: default [2023-05-10 23:04:53,825][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 73, id = 44098, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:53,825][DEBUG][ dns_client.c:1704] domain: a.com qtype: 28 qclass: 1 [2023-05-10 23:04:53,825][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:53,826][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:53,826][DEBUG][ dns_server.c:2714] ping [2001:0db8:0000:0000:0000:0000:0000:0001] with icmp, order: 0, timeout: 924 [2023-05-10 23:04:53,826][DEBUG][ fast_ping.c:1448] ping [2001:0db8:0000:0000:0000:0000:0000:0001], id = 6 [2023-05-10 23:04:53,827][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:53,827][DEBUG][ dns_server.c:2714] ping [2001:0db8:0000:0000:0000:0000:0000:0002] with icmp, order: 0, timeout: 924 [2023-05-10 23:04:53,827][DEBUG][ fast_ping.c:1448] ping [2001:0db8:0000:0000:0000:0000:0000:0002], id = 7 [2023-05-10 23:04:53,827][DEBUG][ dns_client.c:1476] result: a.com, qtype: 28, has-result: 1, id 44098 [2023-05-10 23:04:53,827][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:53,827][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 24630, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:53,827][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:53,827][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:53,827][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:53,827][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 947 [2023-05-10 23:04:53,827][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 8 [2023-05-10 23:04:53,827][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:53,827][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 947 [2023-05-10 23:04:53,827][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 9 [2023-05-10 23:04:53,827][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 24630 [2023-05-10 23:04:53,928][DEBUG][ dns_server.c:2567] from 1.2.3.4: seq=1 time=1000, lasttime=-1 id=0 [2023-05-10 23:04:53,928][ INFO][ dns_server.c:2079] result: a.com, qtype: 28, force IPv4 preferred, id: 1337, time1: -1, time2: 1000 [2023-05-10 23:04:53,928][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:04:53,929][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 600 [2023-05-10 23:04:53,930][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 28, id: 1337, group: default, time: 129ms [2023-05-10 23:04:53,930][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: 100.0 ms, 1.2.3.4 [2023-05-10 23:04:53,931][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:53,931][DEBUG][ dns_server.c:953 ] result: a.com, rtt: 100.0 ms, 1.2.3.4 [2023-05-10 23:04:53,931][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:53,931][DEBUG][ dns_server.c:3423] dualstack result: domain: a.com, ip: 1.2.3.4, type: 1, ping: 1000, rcode: 0 [2023-05-10 23:04:53,931][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 8 [2023-05-10 23:04:53,937][DEBUG][ dns_server.c:2567] from 5.6.7.8: seq=1 time=1100, lasttime=1000 id=0 [2023-05-10 23:04:53,938][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 0 [2023-05-10 23:04:53,938][DEBUG][ dns_server.c:953 ] result: a.com, rtt: 100.0 ms, 1.2.3.4 [2023-05-10 23:04:53,938][ INFO][ dns_server.c:813 ] result: a.com, id: 0, index: 1, rtt: 100.0 ms, 1.2.3.4 [2023-05-10 23:04:53,938][ INFO][ dns_server.c:813 ] result: a.com, id: 0, index: 2, rtt: 110.0 ms, 5.6.7.8 [2023-05-10 23:04:53,938][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:53,938][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8 end, id 9 [2023-05-10 23:04:53,976][DEBUG][ dns_server.c:2567] from [2001:0db8:0000:0000:0000:0000:0000:0001]: seq=1 time=1500, lasttime=-1 id=1337 [2023-05-10 23:04:53,977][DEBUG][ fast_ping.c:677 ] ping [2001:0db8:0000:0000:0000:0000:0000:0001] end, id 6 [2023-05-10 23:04:53,977][DEBUG][ dns_server.c:2567] from [2001:0db8:0000:0000:0000:0000:0000:0002]: seq=1 time=1500, lasttime=1500 id=1337 [2023-05-10 23:04:53,977][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 0 [2023-05-10 23:04:53,977][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 600 [2023-05-10 23:04:53,977][DEBUG][ fast_ping.c:677 ] ping [2001:0db8:0000:0000:0000:0000:0000:0002] end, id 7 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1337 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; AUTHORITY SECTION: a.com. 3 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1800 1800 900 604800 86400 ;; Query time: 133 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:53 CST 2023 ;; MSG SIZE rcvd: 96 [2023-05-10 23:04:54,400][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:54,400][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:54,400][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 10830, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:54,400][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 10830 [2023-05-10 23:04:54,401][ INFO][ dns_server.c:3375] result: a.com, client: 127.0.0.1, qtype: 1, id: 10830, group: default, time: 0ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10830 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 599 IN A 1.2.3.4 a.com. 599 IN A 5.6.7.8 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:54 CST 2023 ;; MSG SIZE rcvd: 55 [ OK ] DualStack.ipv4_prefer (960 ms) [ RUN ] DualStack.ipv6_prefer_allow_force_AAAA [2023-05-10 23:04:54,536][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:54,555][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:04:54,556][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:54,556][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:04:54,556][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:54,557][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:54,558][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:04:54,558][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:04:54,760][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:54,760][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:54,760][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 42597, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:54,761][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 42597 [2023-05-10 23:04:54,784][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:54,785][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 7090, group: default [2023-05-10 23:04:54,785][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:54,785][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:54,786][ INFO][ dns_client.c:3848] request: a.com, qtype: 28, id: 63802, group: default [2023-05-10 23:04:54,786][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 7090, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:54,786][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:54,786][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:54,787][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:54,787][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:54,787][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:04:54,787][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:54,787][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:54,787][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 7 [2023-05-10 23:04:54,788][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 7090 [2023-05-10 23:04:54,788][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 73, ttl: 64 [2023-05-10 23:04:54,788][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 73, id = 63802, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:54,788][DEBUG][ dns_client.c:1704] domain: a.com qtype: 28 qclass: 1 [2023-05-10 23:04:54,788][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:54,788][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:54,788][DEBUG][ dns_server.c:2714] ping [2001:0db8:0000:0000:0000:0000:0000:0001] with icmp, order: 0, timeout: 947 [2023-05-10 23:04:54,788][DEBUG][ fast_ping.c:1448] ping [2001:0db8:0000:0000:0000:0000:0000:0001], id = 8 [2023-05-10 23:04:54,788][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:54,788][DEBUG][ dns_server.c:2714] ping [2001:0db8:0000:0000:0000:0000:0000:0002] with icmp, order: 0, timeout: 947 [2023-05-10 23:04:54,788][DEBUG][ fast_ping.c:1448] ping [2001:0db8:0000:0000:0000:0000:0000:0002], id = 9 [2023-05-10 23:04:54,788][DEBUG][ dns_client.c:1476] result: a.com, qtype: 28, has-result: 1, id 63802 [2023-05-10 23:04:54,858][DEBUG][ dns_server.c:2567] from [2001:0db8:0000:0000:0000:0000:0000:0001]: seq=1 time=700, lasttime=-1 id=0 [2023-05-10 23:04:54,859][ INFO][ dns_server.c:2079] result: a.com, qtype: 1, force IPv6 preferred, id: 42597, time1: -1, time2: 700 [2023-05-10 23:04:54,859][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:54,859][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:54,860][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 42597, group: default, time: 99ms [2023-05-10 23:04:54,861][ INFO][ dns_server.c:2124] result: a.com, qtype: 28, rtt: 70.0 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:54,861][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:04:54,861][DEBUG][ dns_server.c:960 ] result: a.com, rtt: 70.0 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:54,861][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 600 [2023-05-10 23:04:54,862][DEBUG][ dns_server.c:3423] dualstack result: domain: a.com, ip: 2001:0db8:0000:0000:0000:0000:0000:0001, type: 28, ping: 700, rcode: 0 [2023-05-10 23:04:54,862][DEBUG][ fast_ping.c:677 ] ping [2001:0db8:0000:0000:0000:0000:0000:0001] end, id 8 [2023-05-10 23:04:54,863][DEBUG][ dns_server.c:2567] from [2001:0db8:0000:0000:0000:0000:0000:0002]: seq=1 time=750, lasttime=700 id=0 [2023-05-10 23:04:54,863][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 0 [2023-05-10 23:04:54,863][DEBUG][ dns_server.c:960 ] result: a.com, rtt: 70.0 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:54,864][ INFO][ dns_server.c:817 ] result: a.com, id: 0, index: 1, rtt: 70.0 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:54,864][ INFO][ dns_server.c:817 ] result: a.com, id: 0, index: 2, rtt: 75.0 ms, 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:54,864][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 600 [2023-05-10 23:04:54,864][DEBUG][ fast_ping.c:677 ] ping [2001:0db8:0000:0000:0000:0000:0000:0002] end, id 9 [2023-05-10 23:04:54,887][DEBUG][ dns_server.c:2567] from 1.2.3.4: seq=1 time=1000, lasttime=-1 id=42597 [2023-05-10 23:04:54,888][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 6 [2023-05-10 23:04:54,897][DEBUG][ dns_server.c:2567] from 5.6.7.8: seq=1 time=1100, lasttime=1000 id=42597 [2023-05-10 23:04:54,897][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 0 [2023-05-10 23:04:54,897][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:54,897][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8 end, id 7 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com A +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42597 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; AUTHORITY SECTION: a.com. 3 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1800 1800 900 604800 86400 ;; Query time: 103 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:54 CST 2023 ;; MSG SIZE rcvd: 96 [2023-05-10 23:04:55,331][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:55,331][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:55,331][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 39748, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:55,331][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 39748 [2023-05-10 23:04:55,332][ INFO][ dns_server.c:3375] result: a.com, client: 127.0.0.1, qtype: 28, id: 39748, group: default, time: 1ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39748 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; ANSWER SECTION: a.com. 599 IN AAAA 2001:db8::1 a.com. 599 IN AAAA 2001:db8::2 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:55 CST 2023 ;; MSG SIZE rcvd: 79 [ OK ] DualStack.ipv6_prefer_allow_force_AAAA (860 ms) [ RUN ] DualStack.ipv6_prefer_must_exist_ipv4 [2023-05-10 23:04:55,397][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:55,416][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:04:55,417][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:04:55,417][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:04:55,417][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:55,418][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:55,419][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:04:55,419][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:04:55,622][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:55,622][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:55,622][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 4418, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:55,623][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 4418 [2023-05-10 23:04:55,646][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:55,647][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 48958, group: default [2023-05-10 23:04:55,647][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 49, ttl: 64 [2023-05-10 23:04:55,647][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:04:55,648][ INFO][ dns_client.c:3848] request: a.com, qtype: 28, id: 16990, group: default [2023-05-10 23:04:55,648][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 49, id = 48958, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:55,648][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:04:55,648][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:55,649][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:04:55,649][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:55,649][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:04:55,649][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 5.6.7.8 [2023-05-10 23:04:55,649][DEBUG][ dns_server.c:2714] ping 5.6.7.8 with icmp, order: 0, timeout: 924 [2023-05-10 23:04:55,649][DEBUG][ fast_ping.c:1448] ping 5.6.7.8, id = 7 [2023-05-10 23:04:55,650][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 48958 [2023-05-10 23:04:55,650][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 73, ttl: 64 [2023-05-10 23:04:55,650][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 2, nscount = 0, nrcount = 0, len = 73, id = 16990, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:04:55,650][DEBUG][ dns_client.c:1704] domain: a.com qtype: 28 qclass: 1 [2023-05-10 23:04:55,650][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:04:55,650][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:55,650][DEBUG][ dns_server.c:2714] ping [2001:0db8:0000:0000:0000:0000:0000:0001] with icmp, order: 0, timeout: 947 [2023-05-10 23:04:55,650][DEBUG][ fast_ping.c:1448] ping [2001:0db8:0000:0000:0000:0000:0000:0001], id = 8 [2023-05-10 23:04:55,650][DEBUG][ dns_server.c:2913] domain: a.com TTL: 60 IP: 2001:0db8:0000:0000:0000:0000:0000:0002 [2023-05-10 23:04:55,650][DEBUG][ dns_server.c:2714] ping [2001:0db8:0000:0000:0000:0000:0000:0002] with icmp, order: 0, timeout: 947 [2023-05-10 23:04:55,650][DEBUG][ fast_ping.c:1448] ping [2001:0db8:0000:0000:0000:0000:0000:0002], id = 9 [2023-05-10 23:04:55,650][DEBUG][ dns_client.c:1476] result: a.com, qtype: 28, has-result: 1, id 16990 [2023-05-10 23:04:55,720][DEBUG][ dns_server.c:2567] from [2001:0db8:0000:0000:0000:0000:0000:0001]: seq=1 time=700, lasttime=-1 id=0 [2023-05-10 23:04:55,721][ INFO][ dns_server.c:2079] result: a.com, qtype: 1, force IPv6 preferred, id: 4418, time1: -1, time2: 700 [2023-05-10 23:04:55,721][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:04:55,721][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:55,722][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 4418, group: default, time: 99ms [2023-05-10 23:04:55,723][ INFO][ dns_server.c:2124] result: a.com, qtype: 28, rtt: 70.0 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:55,723][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:04:55,723][DEBUG][ dns_server.c:960 ] result: a.com, rtt: 70.0 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:55,723][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 600 [2023-05-10 23:04:55,724][DEBUG][ dns_server.c:3423] dualstack result: domain: a.com, ip: 2001:0db8:0000:0000:0000:0000:0000:0001, type: 28, ping: 700, rcode: 0 [2023-05-10 23:04:55,724][DEBUG][ fast_ping.c:677 ] ping [2001:0db8:0000:0000:0000:0000:0000:0001] end, id 8 [2023-05-10 23:04:55,749][DEBUG][ dns_server.c:2567] from 1.2.3.4: seq=1 time=1000, lasttime=-1 id=4418 [2023-05-10 23:04:55,749][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 6 [2023-05-10 23:04:55,750][DEBUG][ dns_server.c:2567] from [2001:0db8:0000:0000:0000:0000:0000:0002]: seq=1 time=1000, lasttime=700 id=0 [2023-05-10 23:04:55,750][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 0 [2023-05-10 23:04:55,750][DEBUG][ dns_server.c:960 ] result: a.com, rtt: 70.0 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:55,751][ INFO][ dns_server.c:817 ] result: a.com, id: 0, index: 1, rtt: 70.0 ms, 2001:0db8:0000:0000:0000:0000:0000:0001 [2023-05-10 23:04:55,751][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 600 [2023-05-10 23:04:55,751][DEBUG][ fast_ping.c:677 ] ping [2001:0db8:0000:0000:0000:0000:0000:0002] end, id 9 [2023-05-10 23:04:55,759][DEBUG][ dns_server.c:2567] from 5.6.7.8: seq=1 time=1100, lasttime=1000 id=4418 [2023-05-10 23:04:55,759][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 0 [2023-05-10 23:04:55,759][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:04:55,760][DEBUG][ fast_ping.c:677 ] ping 5.6.7.8 end, id 7 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com A +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4418 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; AUTHORITY SECTION: a.com. 3 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1800 1800 900 604800 86400 ;; Query time: 100 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:55 CST 2023 ;; MSG SIZE rcvd: 96 [2023-05-10 23:04:56,193][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:04:56,193][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:04:56,193][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 39508, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:04:56,193][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 39508 [2023-05-10 23:04:56,194][ INFO][ dns_server.c:3375] result: a.com, client: 127.0.0.1, qtype: 28, id: 39508, group: default, time: 1ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39508 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; ANSWER SECTION: a.com. 599 IN AAAA 2001:db8::1 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:04:56 CST 2023 ;; MSG SIZE rcvd: 51 [ OK ] DualStack.ipv6_prefer_must_exist_ipv4 (862 ms) [----------] 3 tests from DualStack (2683 ms total) [----------] 1 test from DomainSet [ RUN ] DomainSet.set_add domain-set -name test-set -file /tmp/smartdns-test-tmp.v6UAlx bind [::]:60053 server 127.0.0.1:61053 log-num 0 log-console yes log-level info cache-persist no domain-rules /domain-set:test-set/ -c none --dualstack-ip-selection no -a 9.9.9.9 [2023-05-10 23:04:56,262][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:04:56,282][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:04:56,284][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:04:56,488][ INFO][ dns_server.c:1929] result: fa37JncCHr.yDs, client: 127.0.0.1, qtype: 1, id: 16873, group: default, time: 2ms [2023-05-10 23:04:56,738][ INFO][ dns_server.c:1929] result: bzayy4cBWD.xS2, client: 127.0.0.1, qtype: 1, id: 65087, group: default, time: 0ms [2023-05-10 23:04:56,988][ INFO][ dns_server.c:1929] result: 2JjzhMaiRr.V41, client: 127.0.0.1, qtype: 1, id: 53108, group: default, time: 0ms [2023-05-10 23:04:57,238][ INFO][ dns_server.c:1929] result: mtzxlYvKWr.O72, client: 127.0.0.1, qtype: 1, id: 65209, group: default, time: 0ms [2023-05-10 23:04:57,488][ INFO][ dns_server.c:1929] result: tK0LK0e1zL.OZ2, client: 127.0.0.1, qtype: 1, id: 32396, group: default, time: 0ms [2023-05-10 23:04:57,738][ INFO][ dns_server.c:1929] result: nOXpPIhMFS.v8k, client: 127.0.0.1, qtype: 1, id: 60509, group: default, time: 0ms [2023-05-10 23:04:57,988][ INFO][ dns_server.c:1929] result: P07U20o0J9.0xA, client: 127.0.0.1, qtype: 1, id: 57425, group: default, time: 0ms [2023-05-10 23:04:58,237][ INFO][ dns_server.c:1929] result: 0GWXIIwo7J.4og, client: 127.0.0.1, qtype: 1, id: 49946, group: default, time: 0ms [2023-05-10 23:04:58,487][ INFO][ dns_server.c:1929] result: HFZQxwQ2RQ.0DR, client: 127.0.0.1, qtype: 1, id: 50211, group: default, time: 0ms [2023-05-10 23:04:58,737][ INFO][ dns_server.c:1929] result: JKRETPVzxl.FrX, client: 127.0.0.1, qtype: 1, id: 36708, group: default, time: 0ms [2023-05-10 23:04:58,986][ INFO][ dns_server.c:1929] result: L8b7mtKLHI.GhI, client: 127.0.0.1, qtype: 1, id: 3574, group: default, time: 0ms [2023-05-10 23:04:59,236][ INFO][ dns_server.c:1929] result: h5JuWcFwrg.JKd, client: 127.0.0.1, qtype: 1, id: 331, group: default, time: 0ms [2023-05-10 23:04:59,486][ INFO][ dns_server.c:1929] result: E3t5bECALy.3eK, client: 127.0.0.1, qtype: 1, id: 21453, group: default, time: 0ms [2023-05-10 23:04:59,735][ INFO][ dns_server.c:1929] result: IwYxEF3V7Z.8KT, client: 127.0.0.1, qtype: 1, id: 46771, group: default, time: 0ms [2023-05-10 23:04:59,985][ INFO][ dns_server.c:1929] result: x0nFe1IX5t.jH2, client: 127.0.0.1, qtype: 1, id: 4878, group: default, time: 0ms [2023-05-10 23:05:00,234][ INFO][ dns_server.c:1929] result: 2F5gXOa5Ln.IMI, client: 127.0.0.1, qtype: 1, id: 13936, group: default, time: 0ms [2023-05-10 23:05:00,507][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 62536, group: default [2023-05-10 23:05:00,509][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:00,510][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 13215, group: default, time: 27ms [ OK ] DomainSet.set_add (4358 ms) [----------] 1 test from DomainSet (4358 ms total) [----------] 1 test from DomainRule [ RUN ] DomainRule.bogus_nxdomain [2023-05-10 23:05:00,618][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:00,637][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:00,638][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:00,638][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:00,638][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:00,638][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:00,638][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:00,638][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:00,640][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:00,843][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:00,843][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:00,843][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 31717, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:00,843][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 31717 [2023-05-10 23:05:00,867][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:00,867][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 64508, group: default [2023-05-10 23:05:00,868][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:00,868][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 64508, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:00,868][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:00,868][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:00,868][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 10.11.12.13 [2023-05-10 23:05:00,869][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 64508 [2023-05-10 23:05:00,869][ INFO][ dns_server.c:2117] result: a.com, qtype: 1, SOA [2023-05-10 23:05:00,869][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:00,869][DEBUG][ dns_server.c:983 ] result: a.com, qtype: 1, return SOA [2023-05-10 23:05:00,869][ INFO][ dns_server.c:994 ] result: a.com, qtype: 1, rtcode: 3 [2023-05-10 23:05:00,870][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 31717, group: default, time: 27ms [2023-05-10 23:05:00,871][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 0 [2023-05-10 23:05:00,871][DEBUG][ dns_server.c:983 ] result: a.com, qtype: 1, return SOA [2023-05-10 23:05:00,871][ INFO][ dns_server.c:994 ] result: a.com, qtype: 1, rtcode: 3 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 31717 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; AUTHORITY SECTION: a.com. 60 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1800 1800 900 604800 86400 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:00 CST 2023 ;; MSG SIZE rcvd: 96 [2023-05-10 23:05:01,119][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:01,119][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:01,119][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 37032, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:01,119][DEBUG][ dns_server.c:5390] query b.com from 127.0.0.1, qtype: 1, id: 37032 [2023-05-10 23:05:01,120][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:01,120][ INFO][ dns_client.c:3848] request: b.com, qtype: 1, id: 12285, group: default [2023-05-10 23:05:01,120][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:01,120][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 12285, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:01,120][DEBUG][ dns_client.c:1704] domain: b.com qtype: 1 qclass: 1 [2023-05-10 23:05:01,120][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:01,120][DEBUG][ dns_server.c:2837] domain: b.com TTL: 611 IP: 1.2.3.4 [2023-05-10 23:05:01,120][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 949 [2023-05-10 23:05:01,120][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:01,120][DEBUG][ dns_client.c:1476] result: b.com, qtype: 1, has-result: 1, id 12285 [2023-05-10 23:05:01,121][ INFO][ dns_server.c:2120] result: b.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:01,121][DEBUG][ dns_server.c:1874] reply b.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:01,121][DEBUG][ dns_server.c:953 ] result: b.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:01,121][DEBUG][ dns_server.c:1269] cache b.com qtype: 1 ttl: 611 [2023-05-10 23:05:01,122][ INFO][ dns_server.c:1929] result: b.com, client: 127.0.0.1, qtype: 1, id: 37032, group: default, time: 2ms [2023-05-10 23:05:01,131][DEBUG][ dns_server.c:2567] from 1.2.3.4: seq=1 time=100, lasttime=-1 id=37032 [2023-05-10 23:05:01,131][DEBUG][ dns_server.c:1874] reply b.com qtype: 1, rcode: 0, reply: 0 [2023-05-10 23:05:01,131][DEBUG][ dns_server.c:953 ] result: b.com, rtt: 10.0 ms, 1.2.3.4 [2023-05-10 23:05:01,131][ INFO][ dns_server.c:813 ] result: b.com, id: 37032, index: 1, rtt: 10.0 ms, 1.2.3.4 [2023-05-10 23:05:01,132][DEBUG][ dns_server.c:1269] cache b.com qtype: 1 ttl: 611 [2023-05-10 23:05:01,132][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 6 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 b.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37032 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;b.com. IN A ;; ANSWER SECTION: b.com. 3 IN A 1.2.3.4 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:01 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] DomainRule.bogus_nxdomain (613 ms) [----------] 1 test from DomainRule (613 ms total) [----------] 1 test from DNS64 [ RUN ] DNS64.no_dualstack [2023-05-10 23:05:01,231][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:01,250][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:01,250][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:01,251][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:01,251][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:01,251][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:01,251][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:01,251][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:01,252][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:01,455][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:01,455][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:01,455][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 27854, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:01,455][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 27854 [2023-05-10 23:05:01,478][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:01,479][ INFO][ dns_client.c:3848] request: a.com, qtype: 28, id: 47003, group: default [2023-05-10 23:05:01,479][DEBUG][ dns_server.c:4516] query a.com with dns64 [2023-05-10 23:05:01,479][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 82, ttl: 64 [2023-05-10 23:05:01,479][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:01,480][DEBUG][ dns_client.c:1692] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 82, id = 47003, tc = 0, rd = 0, ra = 1, rcode = 3, payloadsize = 0 [2023-05-10 23:05:01,480][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 60773, group: default [2023-05-10 23:05:01,480][DEBUG][ dns_client.c:1704] domain: a.com qtype: 28 qclass: 1 [2023-05-10 23:05:01,480][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:01,481][DEBUG][ dns_client.c:1476] result: a.com, qtype: 28, has-result: 1, id 47003 [2023-05-10 23:05:01,481][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:01,481][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 60773, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:01,481][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:01,481][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:01,481][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:05:01,482][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 948 [2023-05-10 23:05:01,482][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:01,482][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 60773 [2023-05-10 23:05:01,482][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:01,483][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:01,483][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:01,483][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:05:01,484][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:05:01,484][DEBUG][ dns_server.c:960 ] result: a.com, rtt: -0.1 ms, 0064:ff9b:0000:0000:0000:0000:0102:0304 [2023-05-10 23:05:01,484][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 600 [2023-05-10 23:05:01,485][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 28, id: 27854, group: default, time: 30ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27854 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; ANSWER SECTION: a.com. 3 IN AAAA 64:ff9b::102:304 ;; Query time: 33 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:01 CST 2023 ;; MSG SIZE rcvd: 51 [ OK ] DNS64.no_dualstack (359 ms) [----------] 1 test from DNS64 (359 ms total) [----------] 2 tests from DiscardBlockIP [ RUN ] DiscardBlockIP.first_ping [2023-05-10 23:05:01,590][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:01,610][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:01,610][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:01,610][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:01,610][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:01,610][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:01,610][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:01,611][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:01,612][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:01,612][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:05:01,814][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:01,814][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:01,814][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 2340, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:01,815][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 2340 [2023-05-10 23:05:01,838][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:01,838][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:01,839][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 33375, group: default [2023-05-10 23:05:01,839][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:01,839][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 33375, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:01,840][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:01,840][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:01,840][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 0.0.0.0 [2023-05-10 23:05:01,859][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:01,859][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 33375, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:01,859][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:01,859][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:05:01,859][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 1.2.3.4 [2023-05-10 23:05:01,859][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 906 [2023-05-10 23:05:01,860][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:01,860][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 33375 [2023-05-10 23:05:01,860][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:01,861][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:01,861][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:01,861][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 611 [2023-05-10 23:05:01,862][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 2340, group: default, time: 47ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2340 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 50 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:01 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] DiscardBlockIP.first_ping (458 ms) [ RUN ] DiscardBlockIP.first_response [2023-05-10 23:05:02,049][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:02,068][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:02,069][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:02,069][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:02,069][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:02,069][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:02,069][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:02,069][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:02,071][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:02,071][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:05:02,273][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:02,273][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:02,273][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 41938, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:02,274][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 41938 [2023-05-10 23:05:02,297][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:02,297][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:02,297][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 20447, group: default [2023-05-10 23:05:02,298][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:02,298][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 20447, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:02,298][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:02,299][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:02,299][DEBUG][ dns_server.c:3126] domain: a.com TTL: 611 IP: 0.0.0.0 [2023-05-10 23:05:02,299][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 0.0.0.0 [2023-05-10 23:05:02,318][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:02,318][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 20447, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:02,318][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:02,318][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:05:02,318][DEBUG][ dns_server.c:3126] domain: a.com TTL: 611 IP: 1.2.3.4 [2023-05-10 23:05:02,318][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 611 [2023-05-10 23:05:02,320][ INFO][ dns_server.c:3375] result: a.com, client: 127.0.0.1, qtype: 1, id: 41938, group: default, time: 46ms [2023-05-10 23:05:02,320][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 1.2.3.4 [2023-05-10 23:05:02,320][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 903 [2023-05-10 23:05:02,320][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:02,320][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 20447 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41938 ;; flags: qr ra; QUERY: 0, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 50 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:02 CST 2023 ;; MSG SIZE rcvd: 33 [ OK ] DiscardBlockIP.first_response (458 ms) [----------] 2 tests from DiscardBlockIP (917 ms total) [----------] 4 tests from Cname [ RUN ] Cname.cname [2023-05-10 23:05:02,509][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:02,528][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:02,528][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:02,528][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:02,528][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:02,528][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:02,528][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:02,529][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:02,530][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:02,733][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:02,733][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:02,733][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 35982, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:02,733][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 35982 [2023-05-10 23:05:02,733][ INFO][ dns_server.c:3871] RULE-MATCH, type: 11, domain: a.com, rule: a.com [2023-05-10 23:05:02,734][ INFO][ dns_server.c:4353] query a.com with cname b.com [2023-05-10 23:05:02,734][ INFO][ dns_server.c:3871] RULE-MATCH, type: 11, domain: b.com, rule: b.com [2023-05-10 23:05:02,734][ INFO][ dns_server.c:4353] query b.com with cname c.com [2023-05-10 23:05:02,734][ INFO][ dns_server.c:3871] RULE-MATCH, type: 11, domain: c.com, rule: c.com [2023-05-10 23:05:02,734][ INFO][ dns_server.c:4353] query c.com with cname d.com [2023-05-10 23:05:02,734][ INFO][ dns_server.c:3871] RULE-MATCH, type: 11, domain: d.com, rule: d.com [2023-05-10 23:05:02,734][ INFO][ dns_server.c:4353] query d.com with cname e.com [2023-05-10 23:05:02,757][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:02,757][ INFO][ dns_client.c:3848] request: e.com, qtype: 1, id: 39282, group: default [2023-05-10 23:05:02,758][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:02,758][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 39282, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:02,758][DEBUG][ dns_client.c:1704] domain: e.com qtype: 1 qclass: 1 [2023-05-10 23:05:02,758][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:02,759][DEBUG][ dns_server.c:2837] domain: e.com TTL: 611 IP: 1.2.3.4 [2023-05-10 23:05:02,759][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 925 [2023-05-10 23:05:02,759][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:02,760][DEBUG][ dns_client.c:1476] result: e.com, qtype: 1, has-result: 1, id 39282 [2023-05-10 23:05:02,760][ INFO][ dns_server.c:2120] result: e.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:02,760][DEBUG][ dns_server.c:1874] reply e.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:02,761][DEBUG][ dns_server.c:953 ] result: e.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:02,761][DEBUG][ dns_server.c:1269] cache e.com qtype: 1 ttl: 611 [2023-05-10 23:05:02,762][DEBUG][ dns_server.c:1874] reply d.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:02,762][DEBUG][ dns_server.c:953 ] result: d.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:02,762][DEBUG][ dns_server.c:1269] cache d.com qtype: 1 ttl: 611 [2023-05-10 23:05:02,762][DEBUG][ dns_server.c:1874] reply c.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:02,762][DEBUG][ dns_server.c:953 ] result: c.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:02,762][DEBUG][ dns_server.c:1269] cache c.com qtype: 1 ttl: 611 [2023-05-10 23:05:02,762][DEBUG][ dns_server.c:1874] reply b.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:02,762][DEBUG][ dns_server.c:953 ] result: b.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:02,762][DEBUG][ dns_server.c:1269] cache b.com qtype: 1 ttl: 611 [2023-05-10 23:05:02,762][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:02,762][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:02,762][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 611 [2023-05-10 23:05:02,763][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 35982, group: default, time: 30ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35982 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN CNAME b.com. b.com. 3 IN A 1.2.3.4 ;; Query time: 33 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:02 CST 2023 ;; MSG SIZE rcvd: 55 [ OK ] Cname.cname (359 ms) [ RUN ] Cname.subdomain1 [2023-05-10 23:05:02,868][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:02,887][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:02,888][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:02,888][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:02,888][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:02,888][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:02,888][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:02,888][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:02,889][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:03,091][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:03,091][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:03,091][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 53765, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:03,092][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 53765 [2023-05-10 23:05:03,092][ INFO][ dns_server.c:3871] RULE-MATCH, type: 11, domain: a.com, rule: a.com [2023-05-10 23:05:03,093][ INFO][ dns_server.c:4353] query a.com with cname s.a.com [2023-05-10 23:05:03,093][ INFO][ dns_server.c:3871] RULE-MATCH, type: 11, domain: s.a.com, rule: a.com [2023-05-10 23:05:03,115][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:03,116][ INFO][ dns_client.c:3848] request: s.a.com, qtype: 1, id: 42207, group: default [2023-05-10 23:05:03,116][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 35, ttl: 64 [2023-05-10 23:05:03,116][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 35, id = 42207, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:03,116][DEBUG][ dns_client.c:1704] domain: s.a.com qtype: 1 qclass: 1 [2023-05-10 23:05:03,117][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:03,117][DEBUG][ dns_server.c:2837] domain: s.a.com TTL: 700 IP: 4.5.6.7 [2023-05-10 23:05:03,118][DEBUG][ dns_server.c:2714] ping 4.5.6.7 with icmp, order: 0, timeout: 926 [2023-05-10 23:05:03,118][DEBUG][ fast_ping.c:1448] ping 4.5.6.7, id = 6 [2023-05-10 23:05:03,118][DEBUG][ dns_client.c:1476] result: s.a.com, qtype: 1, has-result: 1, id 42207 [2023-05-10 23:05:03,118][ INFO][ dns_server.c:2120] result: s.a.com, qtype: 1, rtt: -0.1 ms, 4.5.6.7 [2023-05-10 23:05:03,119][DEBUG][ dns_server.c:1874] reply s.a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:03,119][DEBUG][ dns_server.c:953 ] result: s.a.com, rtt: -0.1 ms, 4.5.6.7 [2023-05-10 23:05:03,119][DEBUG][ dns_server.c:1269] cache s.a.com qtype: 1 ttl: 700 [2023-05-10 23:05:03,120][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:03,120][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 4.5.6.7 [2023-05-10 23:05:03,120][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 700 [2023-05-10 23:05:03,121][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 53765, group: default, time: 30ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53765 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN CNAME s.a.com. s.a.com. 3 IN A 4.5.6.7 ;; Query time: 33 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:03 CST 2023 ;; MSG SIZE rcvd: 55 [ OK ] Cname.subdomain1 (358 ms) [ RUN ] Cname.subdomain2 [2023-05-10 23:05:03,227][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:03,246][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:03,246][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:03,246][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:03,246][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:03,247][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:03,247][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:03,247][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:03,248][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:03,450][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:03,450][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:03,450][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 10310, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:03,451][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 10310 [2023-05-10 23:05:03,451][ INFO][ dns_server.c:3871] RULE-MATCH, type: 11, domain: a.com, rule: a.com [2023-05-10 23:05:03,452][ INFO][ dns_server.c:4353] query a.com with cname s.a.com [2023-05-10 23:05:03,452][ INFO][ dns_server.c:3871] RULE-MATCH, type: 11, domain: s.a.com, rule: s.a.com [2023-05-10 23:05:03,452][ INFO][ dns_server.c:4353] query s.a.com with cname a.s.a.com [2023-05-10 23:05:03,452][ INFO][ dns_server.c:3871] RULE-MATCH, type: 11, domain: a.s.a.com, rule: s.a.com [2023-05-10 23:05:03,475][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:03,475][ INFO][ dns_client.c:3848] request: a.s.a.com, qtype: 1, id: 27721, group: default [2023-05-10 23:05:03,476][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 37, ttl: 64 [2023-05-10 23:05:03,476][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 37, id = 27721, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:03,476][DEBUG][ dns_client.c:1704] domain: a.s.a.com qtype: 1 qclass: 1 [2023-05-10 23:05:03,476][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:03,476][DEBUG][ dns_server.c:2837] domain: a.s.a.com TTL: 700 IP: 4.5.6.7 [2023-05-10 23:05:03,477][DEBUG][ dns_server.c:2714] ping 4.5.6.7 with icmp, order: 0, timeout: 925 [2023-05-10 23:05:03,477][DEBUG][ fast_ping.c:1448] ping 4.5.6.7, id = 6 [2023-05-10 23:05:03,477][DEBUG][ dns_client.c:1476] result: a.s.a.com, qtype: 1, has-result: 1, id 27721 [2023-05-10 23:05:03,478][ INFO][ dns_server.c:2120] result: a.s.a.com, qtype: 1, rtt: -0.1 ms, 4.5.6.7 [2023-05-10 23:05:03,478][DEBUG][ dns_server.c:1874] reply a.s.a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:03,478][DEBUG][ dns_server.c:953 ] result: a.s.a.com, rtt: -0.1 ms, 4.5.6.7 [2023-05-10 23:05:03,479][DEBUG][ dns_server.c:1269] cache a.s.a.com qtype: 1 ttl: 700 [2023-05-10 23:05:03,480][DEBUG][ dns_server.c:1874] reply s.a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:03,480][DEBUG][ dns_server.c:953 ] result: s.a.com, rtt: -0.1 ms, 4.5.6.7 [2023-05-10 23:05:03,480][DEBUG][ dns_server.c:1269] cache s.a.com qtype: 1 ttl: 700 [2023-05-10 23:05:03,480][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:03,480][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 4.5.6.7 [2023-05-10 23:05:03,480][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 700 [2023-05-10 23:05:03,480][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 10310, group: default, time: 30ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10310 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN CNAME s.a.com. s.a.com. 3 IN A 4.5.6.7 ;; Query time: 33 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:03 CST 2023 ;; MSG SIZE rcvd: 55 [ OK ] Cname.subdomain2 (359 ms) [ RUN ] Cname.loop [2023-05-10 23:05:03,586][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:03,605][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:03,606][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:03,606][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:03,606][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:03,606][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:03,606][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:03,606][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:03,608][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:03,810][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:03,810][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:03,810][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 41342, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:03,811][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 41342 [2023-05-10 23:05:03,811][ INFO][ dns_server.c:3871] RULE-MATCH, type: 11, domain: a.com, rule: a.com [2023-05-10 23:05:03,812][ INFO][ dns_server.c:4353] query a.com with cname c.a.com [2023-05-10 23:05:03,812][ INFO][ dns_server.c:3871] RULE-MATCH, type: 11, domain: c.a.com, rule: c.a.com [2023-05-10 23:05:03,812][ INFO][ dns_server.c:4353] query c.a.com with cname s.a.com [2023-05-10 23:05:03,812][ INFO][ dns_server.c:3871] RULE-MATCH, type: 11, domain: s.a.com, rule: a.com [2023-05-10 23:05:03,834][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:03,835][ INFO][ dns_client.c:3848] request: s.a.com, qtype: 1, id: 34254, group: default [2023-05-10 23:05:03,835][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 35, ttl: 64 [2023-05-10 23:05:03,836][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 35, id = 34254, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:03,836][DEBUG][ dns_client.c:1704] domain: s.a.com qtype: 1 qclass: 1 [2023-05-10 23:05:03,836][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:03,836][DEBUG][ dns_server.c:2837] domain: s.a.com TTL: 700 IP: 4.5.6.7 [2023-05-10 23:05:03,837][DEBUG][ dns_server.c:2714] ping 4.5.6.7 with icmp, order: 0, timeout: 925 [2023-05-10 23:05:03,837][DEBUG][ fast_ping.c:1448] ping 4.5.6.7, id = 6 [2023-05-10 23:05:03,837][DEBUG][ dns_client.c:1476] result: s.a.com, qtype: 1, has-result: 1, id 34254 [2023-05-10 23:05:03,837][ INFO][ dns_server.c:2120] result: s.a.com, qtype: 1, rtt: -0.1 ms, 4.5.6.7 [2023-05-10 23:05:03,838][DEBUG][ dns_server.c:1874] reply s.a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:03,838][DEBUG][ dns_server.c:953 ] result: s.a.com, rtt: -0.1 ms, 4.5.6.7 [2023-05-10 23:05:03,838][DEBUG][ dns_server.c:1269] cache s.a.com qtype: 1 ttl: 700 [2023-05-10 23:05:03,839][DEBUG][ dns_server.c:1874] reply c.a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:03,839][DEBUG][ dns_server.c:953 ] result: c.a.com, rtt: -0.1 ms, 4.5.6.7 [2023-05-10 23:05:03,839][DEBUG][ dns_server.c:1269] cache c.a.com qtype: 1 ttl: 700 [2023-05-10 23:05:03,840][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:03,840][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 4.5.6.7 [2023-05-10 23:05:03,840][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 700 [2023-05-10 23:05:03,840][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 41342, group: default, time: 29ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41342 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN CNAME c.a.com. c.a.com. 3 IN A 4.5.6.7 ;; Query time: 33 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:03 CST 2023 ;; MSG SIZE rcvd: 55 [ OK ] Cname.loop (359 ms) [----------] 4 tests from Cname (1437 ms total) [----------] 6 tests from Cache [ RUN ] Cache.min [2023-05-10 23:05:03,946][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:03,965][ INFO][ dns_server.c:4852] ICMP ping is disabled, no ipv6 icmp check feature [2023-05-10 23:05:03,965][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:03,966][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:04,168][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:04,168][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:04,168][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 19827, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:04,169][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 19827 [2023-05-10 23:05:04,192][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:04,192][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 28355, group: default [2023-05-10 23:05:04,193][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:04,193][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 28355, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:04,193][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:04,193][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:04,194][DEBUG][ dns_server.c:3126] domain: a.com TTL: 0 IP: 1.2.3.4 [2023-05-10 23:05:04,194][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 1 [2023-05-10 23:05:04,196][ INFO][ dns_server.c:3375] result: a.com, client: 127.0.0.1, qtype: 1, id: 19827, group: default, time: 27ms [2023-05-10 23:05:04,196][DEBUG][ dns_server.c:2837] domain: a.com TTL: 0 IP: 1.2.3.4 [2023-05-10 23:05:04,196][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 28355 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19827 ;; flags: qr ra; QUERY: 0, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; ANSWER SECTION: a.com. 1 IN A 1.2.3.4 ;; Query time: 26 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:04 CST 2023 ;; MSG SIZE rcvd: 33 [ OK ] Cache.min (357 ms) [ RUN ] Cache.max_reply_ttl [2023-05-10 23:05:04,303][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:04,322][ INFO][ dns_server.c:4852] ICMP ping is disabled, no ipv6 icmp check feature [2023-05-10 23:05:04,322][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:04,323][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:04,526][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:04,526][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:04,526][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 42614, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:04,526][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 42614 [2023-05-10 23:05:04,550][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:04,550][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 43028, group: default [2023-05-10 23:05:04,551][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:04,551][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 43028, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:04,551][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:04,551][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:04,552][DEBUG][ dns_server.c:3126] domain: a.com TTL: 0 IP: 1.2.3.4 [2023-05-10 23:05:04,552][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:05:04,554][ INFO][ dns_server.c:3375] result: a.com, client: 127.0.0.1, qtype: 1, id: 42614, group: default, time: 27ms [2023-05-10 23:05:04,554][DEBUG][ dns_server.c:2837] domain: a.com TTL: 0 IP: 1.2.3.4 [2023-05-10 23:05:04,555][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 43028 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42614 ;; flags: qr ra; QUERY: 0, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; ANSWER SECTION: a.com. 5 IN A 1.2.3.4 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:04 CST 2023 ;; MSG SIZE rcvd: 33 [ OK ] Cache.max_reply_ttl (357 ms) [ RUN ] Cache.max_reply_ttl_expired [2023-05-10 23:05:04,661][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:04,680][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:04,680][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:04,680][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:04,680][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:04,681][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:04,681][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:04,681][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:04,682][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:04,884][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:04,885][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:04,885][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 15919, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:04,885][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 15919 [2023-05-10 23:05:04,908][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:04,908][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 35989, group: default [2023-05-10 23:05:04,909][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:04,909][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 35989, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:04,909][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:04,909][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:04,910][DEBUG][ dns_server.c:2837] domain: a.com TTL: 0 IP: 1.2.3.4 [2023-05-10 23:05:04,910][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 925 [2023-05-10 23:05:04,910][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:04,911][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 35989 [2023-05-10 23:05:04,911][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:04,911][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:04,912][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:04,912][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:05:04,913][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 15919, group: default, time: 28ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15919 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 33 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:04 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:05:05,162][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:05,163][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:05,163][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 9757, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:05,163][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 9757 [2023-05-10 23:05:05,163][ INFO][ dns_server.c:3375] result: a.com, client: 127.0.0.1, qtype: 1, id: 9757, group: default, time: 1ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9757 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 5 IN A 1.2.3.4 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:05 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] Cache.max_reply_ttl_expired (658 ms) [ RUN ] Cache.nocache [2023-05-10 23:05:05,320][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:05,339][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:05,340][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:05,340][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:05,340][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:05,340][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:05,340][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:05,340][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:05,342][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:05,544][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:05,544][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:05,544][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 28776, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:05,545][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 28776 [2023-05-10 23:05:05,545][ INFO][ dns_server.c:3871] RULE-MATCH, type: 0, domain: a.com, rule: a.com [2023-05-10 23:05:05,567][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:05,568][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 47069, group: default [2023-05-10 23:05:05,583][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:05,584][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 47069, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:05,584][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:05,584][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:05,584][DEBUG][ dns_server.c:2837] domain: a.com TTL: 0 IP: 1.2.3.4 [2023-05-10 23:05:05,585][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 909 [2023-05-10 23:05:05,585][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:05,585][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 47069 [2023-05-10 23:05:05,585][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:05,586][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:05,586][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:05,587][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 28776, group: default, time: 43ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28776 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 46 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:05 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:05:05,836][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:05,836][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:05,836][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 3884, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:05,836][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 3884 [2023-05-10 23:05:05,836][ INFO][ dns_server.c:3871] RULE-MATCH, type: 0, domain: a.com, rule: a.com [2023-05-10 23:05:05,836][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:05,836][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 26863, group: default [2023-05-10 23:05:05,851][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:05,851][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 26863, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:05,851][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:05,851][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:05,851][DEBUG][ dns_server.c:2837] domain: a.com TTL: 0 IP: 1.2.3.4 [2023-05-10 23:05:05,851][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 934 [2023-05-10 23:05:05,851][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 7 [2023-05-10 23:05:05,851][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 26863 [2023-05-10 23:05:05,851][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:05,851][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:05,851][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:05,851][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 3884, group: default, time: 16ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3884 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 16 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:05 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] Cache.nocache (642 ms) [ RUN ] Cache.save_file [2023-05-10 23:05:05,962][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:05,981][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:05,982][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:05,982][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:05,982][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:05,982][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:05,982][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:05,982][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:05,984][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:05:06,186][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:06,186][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:06,186][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 12682, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:06,186][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 12682 [2023-05-10 23:05:06,209][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:06,209][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 28171, group: default [2023-05-10 23:05:06,210][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:06,210][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 28171, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:06,210][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:06,211][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:05:06,211][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:05:06,211][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 925 [2023-05-10 23:05:06,211][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:06,212][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 28171 [2023-05-10 23:05:06,212][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:06,213][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:06,213][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:06,213][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:05:06,214][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 12682, group: default, time: 28ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12682 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:06 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:05:06,262][ INFO][ smartdns.c:574 ] stop smartdns by signal 15 [2023-05-10 23:05:06,362][ INFO][ smartdns.c:562 ] smartdns exit... [2023-05-10 23:05:06,363][DEBUG][ dns_client.c:1220] server 127.0.0.1 closed. [2023-05-10 23:05:06,363][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 0 [2023-05-10 23:05:06,363][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:06,363][ INFO][ dns_server.c:813 ] result: a.com, id: 12682, index: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:06,364][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:05:06,364][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 6 [2023-05-10 23:05:06,364][DEBUG][ dns_cache.c:893 ] write cache file /tmp/smartdns_cache.QuOiNJj8YL [2023-05-10 23:05:06,364][DEBUG][ dns_cache.c:936 ] wrote total 1 records. [ OK ] Cache.save_file (658 ms) [ RUN ] Cache.corrupt_file [2023-05-10 23:05:06,621][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:06,640][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:06,641][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:06,641][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:06,641][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:06,641][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:06,641][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:06,641][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:06,643][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:05:06,846][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:06,846][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:06,846][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 1015, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:06,846][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 1015 [2023-05-10 23:05:06,869][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:06,869][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 13849, group: default [2023-05-10 23:05:06,870][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:06,870][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 13849, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:06,870][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:06,870][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:05:06,871][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:05:06,871][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 925 [2023-05-10 23:05:06,871][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:06,872][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 13849 [2023-05-10 23:05:06,872][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:06,872][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:06,873][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:06,873][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:05:06,874][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 1015, group: default, time: 28ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1015 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:06 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:05:06,922][ INFO][ smartdns.c:574 ] stop smartdns by signal 15 [2023-05-10 23:05:07,023][ INFO][ smartdns.c:562 ] smartdns exit... [2023-05-10 23:05:07,023][DEBUG][ dns_client.c:1220] server 127.0.0.1 closed. [2023-05-10 23:05:07,024][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 0 [2023-05-10 23:05:07,024][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:07,024][ INFO][ dns_server.c:813 ] result: a.com, id: 1015, index: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:07,024][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:05:07,024][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 6 [2023-05-10 23:05:07,024][DEBUG][ dns_cache.c:893 ] write cache file /tmp/smartdns_cache.8rqDiZSkZf [2023-05-10 23:05:07,025][DEBUG][ dns_cache.c:936 ] wrote total 1 records. try make corrupt at 27, file size: 455 [2023-05-10 23:05:07,238][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:07,257][ INFO][ dns_cache.c:824 ] load cache file /tmp/smartdns_cache.8rqDiZSkZf, total -1429946308 records [2023-05-10 23:05:07,257][ERROR][ dns_cache.c:724 ] magic is invalid. [2023-05-10 23:05:07,257][ WARN][ dns_server.c:7022] Load cache failed. [2023-05-10 23:05:07,258][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:07,258][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:07,258][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:07,258][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:07,259][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:07,259][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:07,259][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:07,260][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:05:07,463][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:07,463][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:07,463][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 30789, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:07,463][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 30789 [2023-05-10 23:05:07,486][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:07,487][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 40660, group: default [2023-05-10 23:05:07,487][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:07,488][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 40660, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:07,488][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:07,488][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:05:07,488][DEBUG][ dns_server.c:2837] domain: a.com TTL: 60 IP: 1.2.3.4 [2023-05-10 23:05:07,489][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 924 [2023-05-10 23:05:07,489][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:07,489][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 40660 [2023-05-10 23:05:07,489][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:07,490][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:07,490][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:07,490][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:05:07,491][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 30789, group: default, time: 28ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30789 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:07 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:05:07,540][ INFO][ smartdns.c:574 ] stop smartdns by signal 15 [2023-05-10 23:05:07,640][ INFO][ smartdns.c:562 ] smartdns exit... [2023-05-10 23:05:07,640][DEBUG][ dns_client.c:1220] server 127.0.0.1 closed. [2023-05-10 23:05:07,641][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 0 [2023-05-10 23:05:07,641][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:07,641][ INFO][ dns_server.c:813 ] result: a.com, id: 30789, index: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:07,641][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 600 [2023-05-10 23:05:07,642][DEBUG][ fast_ping.c:677 ] ping 1.2.3.4 end, id 6 [2023-05-10 23:05:07,642][DEBUG][ dns_cache.c:893 ] write cache file /tmp/smartdns_cache.8rqDiZSkZf [2023-05-10 23:05:07,642][DEBUG][ dns_cache.c:936 ] wrote total 1 records. [ OK ] Cache.corrupt_file (1277 ms) [----------] 6 tests from Cache (3951 ms total) [----------] 1 test from BootStrap [ RUN ] BootStrap.bootstrap [2023-05-10 23:05:07,899][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:07,918][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:07,919][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:07,919][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:07,919][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:07,919][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:07,919][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:07,919][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:07,920][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:05:07,920][ INFO][ dns_client.c:1414] add pending server example.com [2023-05-10 23:05:08,821][ INFO][ dns_server.c:3871] RULE-MATCH, type: 8, domain: example.com, rule: example.com [2023-05-10 23:05:08,844][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:08,844][ INFO][ dns_client.c:3848] request: example.com, qtype: 1, id: 34744, group: bootstrap-dns [2023-05-10 23:05:08,845][ INFO][ dns_server.c:3871] RULE-MATCH, type: 8, domain: example.com, rule: example.com [2023-05-10 23:05:08,845][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:08,845][ INFO][ dns_client.c:3848] request: example.com, qtype: 28, id: 48634, group: bootstrap-dns [2023-05-10 23:05:08,845][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 39, ttl: 64 [2023-05-10 23:05:08,846][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 39, id = 34744, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:08,846][DEBUG][ dns_client.c:1704] domain: example.com qtype: 1 qclass: 1 [2023-05-10 23:05:08,846][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:05:08,846][DEBUG][ dns_server.c:2837] domain: example.com TTL: 611 IP: 127.0.0.1 [2023-05-10 23:05:08,847][DEBUG][ dns_client.c:1476] result: example.com, qtype: 1, has-result: 1, id 34744 [2023-05-10 23:05:08,847][ INFO][ dns_server.c:2120] result: example.com, qtype: 1, rtt: -0.1 ms, 127.0.0.1 [2023-05-10 23:05:08,847][DEBUG][ dns_server.c:1874] reply example.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:08,848][DEBUG][ dns_server.c:953 ] result: example.com, rtt: -0.1 ms, 127.0.0.1 [2023-05-10 23:05:08,848][DEBUG][ dns_server.c:1269] cache example.com qtype: 1 ttl: 611 [2023-05-10 23:05:08,849][DEBUG][ dns_server.c:1874] reply example.com qtype: 1, rcode: 0, reply: 0 [2023-05-10 23:05:08,849][DEBUG][ dns_server.c:953 ] result: example.com, rtt: -0.1 ms, 127.0.0.1 [2023-05-10 23:05:08,849][DEBUG][ dns_server.c:1269] cache example.com qtype: 1 ttl: 611 [2023-05-10 23:05:08,849][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 80, ttl: 64 [2023-05-10 23:05:08,850][DEBUG][ dns_client.c:1692] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 80, id = 48634, tc = 0, rd = 0, ra = 1, rcode = 3, payloadsize = 0 [2023-05-10 23:05:08,850][DEBUG][ dns_client.c:1704] domain: example.com qtype: 28 qclass: 1 [2023-05-10 23:05:08,850][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:62053, type: 0 [2023-05-10 23:05:08,850][DEBUG][ dns_server.c:3053] domain: example.com, qtype: 28, SOA: mname: ns1.example.com, rname: hostmaster.example.com, serial: 1, refresh: 3600, retry: 600, expire: 86400, minimum: 3600 [2023-05-10 23:05:08,850][ INFO][ dns_server.c:2117] result: example.com, qtype: 28, SOA [2023-05-10 23:05:08,850][DEBUG][ dns_server.c:1874] reply example.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:05:08,850][DEBUG][ dns_server.c:983 ] result: example.com, qtype: 28, return SOA [2023-05-10 23:05:08,850][ INFO][ dns_server.c:994 ] result: example.com, qtype: 28, rtcode: 3 [2023-05-10 23:05:08,850][DEBUG][ dns_client.c:1476] result: example.com, qtype: 28, has-result: 1, id 48634 [2023-05-10 23:05:09,821][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:10,624][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:10,624][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:10,624][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 1132, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:10,625][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 1132 [2023-05-10 23:05:10,625][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:10,625][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 53280, group: default [2023-05-10 23:05:10,626][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:10,626][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 53280, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:10,626][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:10,626][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:10,626][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 1.2.3.4 [2023-05-10 23:05:10,626][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 949 [2023-05-10 23:05:10,626][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:10,626][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 53280 [2023-05-10 23:05:10,626][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:10,626][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:10,626][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:10,626][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 611 [2023-05-10 23:05:10,627][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 1132, group: default, time: 1ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1132 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 6 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:10 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] BootStrap.bootstrap (2938 ms) [----------] 1 test from BootStrap (2938 ms total) [----------] 6 tests from Bind [ RUN ] Bind.tls [2023-05-10 23:05:10,836][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:10,856][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:10,857][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:10,857][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:10,857][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:10,857][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:10,857][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:10,857][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:11,501][ INFO][ dns_client.c:1169] add server 127.0.0.1:60053, type: tls [2023-05-10 23:05:13,849][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:13,876][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:13,877][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:13,877][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:13,877][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:13,877][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:13,877][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:13,877][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:13,879][ INFO][ dns_client.c:1169] add server 100.100.2.136:53, type: udp [2023-05-10 23:05:13,879][ INFO][ dns_client.c:1169] add server 100.100.2.138:53, type: udp [2023-05-10 23:05:14,082][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 52, type = 0 [2023-05-10 23:05:14,082][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:14,082][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 52, id = 16003, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:14,083][DEBUG][ dns_server.c:5390] query example.com from 127.0.0.1, qtype: 1, id: 16003 [2023-05-10 23:05:14,084][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:14,086][DEBUG][ dns_client.c:2108] tls server 127.0.0.1 connecting. [2023-05-10 23:05:14,087][ INFO][ dns_client.c:3848] request: example.com, qtype: 1, id: 50175, group: default [2023-05-10 23:05:14,183][DEBUG][ dns_client.c:3003] tls server 127.0.0.1 connected. [2023-05-10 23:05:14,183][DEBUG][ dns_client.c:3008] new session [2023-05-10 23:05:14,184][DEBUG][ dns_client.c:2883] peer CN: smartdns [2023-05-10 23:05:14,184][DEBUG][ dns_client.c:2929] cert SPKI pin(sha256): 07:1C:2E:85:87:44:DA:73:E8:3F:84:51:05:0D:EB:38:62:F6:75:48:28:3F:F1:C0:14:42:A2:44:BC:95:45:BE [2023-05-10 23:05:14,189][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 40, type = 4 [2023-05-10 23:05:14,189][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 40, id = 50175, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:14,190][DEBUG][ dns_server.c:5390] query example.com from 127.0.0.1, qtype: 1, id: 50175 [2023-05-10 23:05:14,190][ INFO][ dns_server.c:3871] RULE-MATCH, type: 1, domain: example.com, rule: example.com [2023-05-10 23:05:14,190][DEBUG][ dns_server.c:1874] reply example.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:14,190][DEBUG][ dns_server.c:953 ] result: example.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:14,192][ INFO][ dns_server.c:1929] result: example.com, client: 127.0.0.1, qtype: 1, id: 50175, group: default, time: 2ms [2023-05-10 23:05:14,192][DEBUG][ dns_client.c:2575] recv tcp packet from 127.0.0.1, len = 47 [2023-05-10 23:05:14,193][DEBUG][ dns_client.c:1692] qdcount = 1, ancount = 1, nscount = 0, nrcount = 0, len = 45, id = 50175, tc = 0, rd = 1, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:14,193][DEBUG][ dns_client.c:1704] domain: example.com qtype: 1 qclass: 1 [2023-05-10 23:05:14,193][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:60053, type: 2 [2023-05-10 23:05:14,194][DEBUG][ dns_server.c:2837] domain: example.com TTL: 600 IP: 1.2.3.4 [2023-05-10 23:05:14,194][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 839 [2023-05-10 23:05:14,194][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:14,194][DEBUG][ dns_client.c:1476] result: example.com, qtype: 1, has-result: 1, id 50175 [2023-05-10 23:05:14,195][ INFO][ dns_server.c:2120] result: example.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:14,195][DEBUG][ dns_server.c:1874] reply example.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:14,195][DEBUG][ dns_server.c:953 ] result: example.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:14,196][DEBUG][ dns_server.c:1269] cache example.com qtype: 1 ttl: 600 [2023-05-10 23:05:14,197][ INFO][ dns_server.c:1929] result: example.com, client: 127.0.0.1, qtype: 1, id: 16003, group: default, time: 114ms [ OK ] Bind.tls (3422 ms) [ RUN ] Bind.udp_tcp [2023-05-10 23:05:14,259][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:14,278][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:14,279][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:14,279][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:14,279][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:14,279][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:14,279][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:14,279][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:14,280][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:14,483][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 2 [2023-05-10 23:05:14,483][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:14,483][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 32254, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:14,483][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 32254 [2023-05-10 23:05:14,506][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:14,507][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 24166, group: default [2023-05-10 23:05:14,507][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:14,507][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 24166, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:14,508][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:14,508][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:14,508][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 1.2.3.4 [2023-05-10 23:05:14,509][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 925 [2023-05-10 23:05:14,509][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:14,509][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 24166 [2023-05-10 23:05:14,509][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:14,510][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:14,510][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:14,510][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 611 [2023-05-10 23:05:14,511][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 32254, group: default, time: 28ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tcp +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32254 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (TCP) ;; WHEN: Wed May 10 23:05:14 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:05:14,761][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:14,761][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:14,761][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 45945, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:14,761][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 45945 [2023-05-10 23:05:14,762][ INFO][ dns_server.c:3375] result: a.com, client: 127.0.0.1, qtype: 1, id: 45945, group: default, time: 1ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45945 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 611 IN A 1.2.3.4 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:14 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] Bind.udp_tcp (658 ms) [ RUN ] Bind.self [2023-05-10 23:05:14,918][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:14,939][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:14,940][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:14,940][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:05:15,166][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 40048, group: self [2023-05-10 23:05:15,166][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 16978, group: upstream [2023-05-10 23:05:15,169][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:15,171][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 40048, group: upstream, time: 5ms [2023-05-10 23:05:15,171][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:15,171][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 585, group: self, time: 28ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 585 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:15 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] Bind.self (359 ms) [ RUN ] Bind.nocache [2023-05-10 23:05:15,277][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:15,297][DEBUG][ fast_ping.c:1448] ping 2001::, id = 4 [2023-05-10 23:05:15,297][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:15,297][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 4 [2023-05-10 23:05:15,297][DEBUG][ fast_ping.c:1448] ping 2001::, id = 5 [2023-05-10 23:05:15,298][DEBUG][ fast_ping.c:1219] from 2001::: error is Network is unreachable [2023-05-10 23:05:15,298][DEBUG][ fast_ping.c:677 ] ping 2001:: end, id 5 [2023-05-10 23:05:15,298][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:15,299][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:15,501][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:15,501][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:15,501][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 49122, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:15,501][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 49122 [2023-05-10 23:05:15,524][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:15,525][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 11229, group: default [2023-05-10 23:05:15,540][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:15,540][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 11229, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:15,540][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:15,541][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:15,541][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 1.2.3.4 [2023-05-10 23:05:15,541][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 910 [2023-05-10 23:05:15,541][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 6 [2023-05-10 23:05:15,542][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 11229 [2023-05-10 23:05:15,542][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:15,543][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:15,543][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:15,543][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 611 [2023-05-10 23:05:15,544][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 49122, group: default, time: 43ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49122 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 46 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:15 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:05:15,794][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:15,794][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:15,794][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 22022, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:15,794][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 22022 [2023-05-10 23:05:15,794][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:15,794][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 5112, group: default [2023-05-10 23:05:15,809][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:15,809][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 5112, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:15,809][DEBUG][ dns_client.c:1704] domain: a.com qtype: 1 qclass: 1 [2023-05-10 23:05:15,809][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:15,809][DEBUG][ dns_server.c:2837] domain: a.com TTL: 611 IP: 1.2.3.4 [2023-05-10 23:05:15,809][DEBUG][ dns_server.c:2714] ping 1.2.3.4 with icmp, order: 0, timeout: 934 [2023-05-10 23:05:15,809][DEBUG][ fast_ping.c:1448] ping 1.2.3.4, id = 7 [2023-05-10 23:05:15,809][DEBUG][ dns_client.c:1476] result: a.com, qtype: 1, has-result: 1, id 5112 [2023-05-10 23:05:15,809][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:15,809][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:15,809][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:15,809][DEBUG][ dns_server.c:1269] cache a.com qtype: 1 ttl: 611 [2023-05-10 23:05:15,809][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 22022, group: default, time: 16ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22022 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 20 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:15 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] Bind.nocache (642 ms) [ RUN ] Bind.device [2023-05-10 23:05:15,920][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:15,940][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:15,941][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:05:16,166][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 51479, group: default [2023-05-10 23:05:16,169][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:16,171][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 53170, group: default, time: 28ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53170 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:16 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] Bind.device (357 ms) [ RUN ] Bind.malformed_packet [2023-05-10 23:05:16,277][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:16,297][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:16,298][ INFO][ dns_client.c:1169] add server 127.0.0.1:62053, type: udp [2023-05-10 23:05:24,604][ INFO][ dns_client.c:3848] request: a.com, qtype: 1, id: 4416, group: default [2023-05-10 23:05:24,607][ INFO][ dns_server.c:2120] result: a.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:24,609][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 10978, group: default, time: 27ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10978 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 3 IN A 1.2.3.4 ;; Query time: 30 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:24 CST 2023 ;; MSG SIZE rcvd: 39 [ OK ] Bind.malformed_packet (8437 ms) [----------] 6 tests from Bind (13878 ms total) [----------] 2 tests from Address [ RUN ] Address.soa [2023-05-10 23:05:24,715][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:24,720][ INFO][ dns_server.c:4852] ICMP ping is disabled, no ipv6 icmp check feature [2023-05-10 23:05:24,720][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:24,721][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:24,924][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:24,924][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:24,924][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 65015, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:24,924][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 65015 [2023-05-10 23:05:24,925][ INFO][ dns_server.c:3871] RULE-MATCH, type: 0, domain: a.com, rule: a.com [2023-05-10 23:05:24,925][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:24,926][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 65015, group: default, time: 2ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com A +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65015 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; AUTHORITY SECTION: a.com. 30 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1800 1800 900 604800 86400 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:24 CST 2023 ;; MSG SIZE rcvd: 96 [2023-05-10 23:05:25,175][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:25,175][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:25,175][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 7950, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:25,175][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 7950 [2023-05-10 23:05:25,175][ INFO][ dns_server.c:3871] RULE-MATCH, type: 0, domain: a.com, rule: a.com [2023-05-10 23:05:25,177][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:25,177][ INFO][ dns_client.c:3848] request: a.com, qtype: 28, id: 48609, group: default [2023-05-10 23:05:25,178][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 45, ttl: 64 [2023-05-10 23:05:25,178][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 45, id = 48609, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:25,178][DEBUG][ dns_client.c:1704] domain: a.com qtype: 28 qclass: 1 [2023-05-10 23:05:25,178][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:25,178][DEBUG][ dns_server.c:2913] domain: a.com TTL: 700 IP: 0064:ff9b:0000:0000:0000:0000:0102:0304 [2023-05-10 23:05:25,180][ INFO][ dns_server.c:2124] result: a.com, qtype: 28, rtt: -0.1 ms, 0064:ff9b:0000:0000:0000:0000:0102:0304 [2023-05-10 23:05:25,181][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:05:25,181][DEBUG][ dns_server.c:960 ] result: a.com, rtt: -0.1 ms, 0064:ff9b:0000:0000:0000:0000:0102:0304 [2023-05-10 23:05:25,182][DEBUG][ dns_server.c:1269] cache a.com qtype: 28 ttl: 700 [2023-05-10 23:05:25,183][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 28, id: 7950, group: default, time: 7ms [2023-05-10 23:05:25,183][DEBUG][ dns_client.c:1476] result: a.com, qtype: 28, has-result: 1, id 48609 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7950 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; ANSWER SECTION: a.com. 700 IN AAAA 64:ff9b::102:304 ;; Query time: 6 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:25 CST 2023 ;; MSG SIZE rcvd: 51 [2023-05-10 23:05:25,431][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:25,431][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:25,431][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 53795, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:25,431][DEBUG][ dns_server.c:5390] query b.com from 127.0.0.1, qtype: 1, id: 53795 [2023-05-10 23:05:25,431][ INFO][ dns_server.c:3871] RULE-MATCH, type: 0, domain: b.com, rule: b.com [2023-05-10 23:05:25,431][DEBUG][ dns_client.c:3482] send query to server 127.0.0.1 [2023-05-10 23:05:25,431][ INFO][ dns_client.c:3848] request: b.com, qtype: 1, id: 5587, group: default [2023-05-10 23:05:25,431][DEBUG][ dns_client.c:2325] recv udp packet from 127.0.0.1, len: 33, ttl: 64 [2023-05-10 23:05:25,431][DEBUG][ dns_client.c:1692] qdcount = 0, ancount = 1, nscount = 0, nrcount = 0, len = 33, id = 5587, tc = 0, rd = 0, ra = 1, rcode = 0, payloadsize = 0 [2023-05-10 23:05:25,432][DEBUG][ dns_client.c:1704] domain: b.com qtype: 1 qclass: 1 [2023-05-10 23:05:25,432][DEBUG][ dns_server.c:3488] query result from server 127.0.0.1:61053, type: 0 [2023-05-10 23:05:25,432][DEBUG][ dns_server.c:2837] domain: b.com TTL: 700 IP: 1.2.3.4 [2023-05-10 23:05:25,432][ INFO][ dns_server.c:2120] result: b.com, qtype: 1, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:25,432][DEBUG][ dns_server.c:1874] reply b.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:25,432][DEBUG][ dns_server.c:953 ] result: b.com, rtt: -0.1 ms, 1.2.3.4 [2023-05-10 23:05:25,432][DEBUG][ dns_server.c:1269] cache b.com qtype: 1 ttl: 700 [2023-05-10 23:05:25,432][ INFO][ dns_server.c:1929] result: b.com, client: 127.0.0.1, qtype: 1, id: 53795, group: default, time: 1ms [2023-05-10 23:05:25,432][DEBUG][ dns_client.c:1476] result: b.com, qtype: 1, has-result: 1, id 5587 ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 b.com A +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53795 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;b.com. IN A ;; ANSWER SECTION: b.com. 700 IN A 1.2.3.4 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:25 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:05:25,681][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:25,681][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:25,681][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 62414, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:25,681][DEBUG][ dns_server.c:5390] query b.com from 127.0.0.1, qtype: 28, id: 62414 [2023-05-10 23:05:25,681][ INFO][ dns_server.c:3871] RULE-MATCH, type: 0, domain: b.com, rule: b.com [2023-05-10 23:05:25,681][DEBUG][ dns_server.c:1874] reply b.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:05:25,682][ INFO][ dns_server.c:1929] result: b.com, client: 127.0.0.1, qtype: 28, id: 62414, group: default, time: 0ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 b.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62414 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;b.com. IN AAAA ;; AUTHORITY SECTION: b.com. 30 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1800 1800 900 604800 86400 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:25 CST 2023 ;; MSG SIZE rcvd: 96 [2023-05-10 23:05:25,932][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:25,932][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:25,932][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 24949, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:25,932][DEBUG][ dns_server.c:5390] query c.com from 127.0.0.1, qtype: 1, id: 24949 [2023-05-10 23:05:25,932][ INFO][ dns_server.c:3871] RULE-MATCH, type: 0, domain: c.com, rule: c.com [2023-05-10 23:05:25,932][DEBUG][ dns_server.c:1874] reply c.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:25,932][ INFO][ dns_server.c:994 ] result: c.com, qtype: 1, rtcode: 3 [2023-05-10 23:05:25,932][ INFO][ dns_server.c:1929] result: c.com, client: 127.0.0.1, qtype: 1, id: 24949, group: default, time: 0ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 c.com A +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 24949 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;c.com. IN A ;; AUTHORITY SECTION: c.com. 30 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1800 1800 900 604800 86400 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:25 CST 2023 ;; MSG SIZE rcvd: 96 [2023-05-10 23:05:26,182][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:26,182][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:26,182][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 63671, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:26,182][DEBUG][ dns_server.c:5390] query c.com from 127.0.0.1, qtype: 28, id: 63671 [2023-05-10 23:05:26,182][ INFO][ dns_server.c:3871] RULE-MATCH, type: 0, domain: c.com, rule: c.com [2023-05-10 23:05:26,182][DEBUG][ dns_server.c:1874] reply c.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:05:26,182][ INFO][ dns_server.c:994 ] result: c.com, qtype: 28, rtcode: 3 [2023-05-10 23:05:26,182][ INFO][ dns_server.c:1929] result: c.com, client: 127.0.0.1, qtype: 28, id: 63671, group: default, time: 0ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 c.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 63671 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;c.com. IN AAAA ;; AUTHORITY SECTION: c.com. 30 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1800 1800 900 604800 86400 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:26 CST 2023 ;; MSG SIZE rcvd: 96 [ OK ] Address.soa (1627 ms) [ RUN ] Address.ip [2023-05-10 23:05:26,344][NOTICE][ smartdns.c:478 ] smartdns starting...(Copyright (C) Nick Peng , build: May 10 2023 15:02:30) [2023-05-10 23:05:26,348][ INFO][ dns_server.c:4852] ICMP ping is disabled, no ipv6 icmp check feature [2023-05-10 23:05:26,348][ INFO][ dns_server.c:7123] IPV6 is not ready, disable IPV6 features [2023-05-10 23:05:26,350][ INFO][ dns_client.c:1169] add server 127.0.0.1:61053, type: udp [2023-05-10 23:05:26,553][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:26,553][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:26,553][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 57758, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:26,553][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 1, id: 57758 [2023-05-10 23:05:26,554][ INFO][ dns_server.c:3871] RULE-MATCH, type: 1, domain: a.com, rule: a.com [2023-05-10 23:05:26,554][ INFO][ dns_server.c:3871] RULE-MATCH, type: 2, domain: a.com, rule: a.com [2023-05-10 23:05:26,554][DEBUG][ dns_server.c:1874] reply a.com qtype: 1, rcode: 0, reply: 1 [2023-05-10 23:05:26,554][DEBUG][ dns_server.c:953 ] result: a.com, rtt: -0.1 ms, 10.10.10.10 [2023-05-10 23:05:26,556][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 1, id: 57758, group: default, time: 2ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com A +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57758 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN A ;; ANSWER SECTION: a.com. 600 IN A 10.10.10.10 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:26 CST 2023 ;; MSG SIZE rcvd: 39 [2023-05-10 23:05:26,805][DEBUG][ dns_server.c:5355] recv query packet from 127.0.0.1, len = 46, type = 0 [2023-05-10 23:05:26,805][DEBUG][ dns.c:1925] opt type 10 [2023-05-10 23:05:26,805][DEBUG][ dns_server.c:5367] request qdcount = 1, ancount = 0, nscount = 0, nrcount = 0, len = 46, id = 43530, tc = 0, rd = 1, ra = 0, rcode = 0 [2023-05-10 23:05:26,805][DEBUG][ dns_server.c:5390] query a.com from 127.0.0.1, qtype: 28, id: 43530 [2023-05-10 23:05:26,805][ INFO][ dns_server.c:3871] RULE-MATCH, type: 1, domain: a.com, rule: a.com [2023-05-10 23:05:26,805][ INFO][ dns_server.c:3871] RULE-MATCH, type: 2, domain: a.com, rule: a.com [2023-05-10 23:05:26,805][DEBUG][ dns_server.c:1874] reply a.com qtype: 28, rcode: 0, reply: 1 [2023-05-10 23:05:26,805][DEBUG][ dns_server.c:960 ] result: a.com, rtt: -0.1 ms, 0064:ff9b:0000:0000:0000:0000:1010:1010 [2023-05-10 23:05:26,805][ INFO][ dns_server.c:1929] result: a.com, client: 127.0.0.1, qtype: 28, id: 43530, group: default, time: 0ms ; <<>> DiG 9.18.14 <<>> -p 60053 @127.0.0.1 a.com AAAA +tries=1 ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43530 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;a.com. IN AAAA ;; ANSWER SECTION: a.com. 600 IN AAAA 64:ff9b::1010:1010 ;; Query time: 3 msec ;; SERVER: 127.0.0.1#60053(127.0.0.1) (UDP) ;; WHEN: Wed May 10 23:05:26 CST 2023 ;; MSG SIZE rcvd: 51 [ OK ] Address.ip (601 ms) [----------] 2 tests from Address (2229 ms total) [----------] Global test environment tear-down [==========] 61 tests from 21 test suites ran. (58655 ms total) [ PASSED ] 59 tests. [ SKIPPED ] 1 test, listed below: [ SKIPPED ] Perf.no_speed_check [ FAILED ] 1 test, listed below: [ FAILED ] SpeedCheck.none 1 FAILED TEST make: *** [Makefile:44: test] Error 1 make: Leaving directory '/build/smartdns/src/smartdns-Release42-test/test' ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root41/build receiving incremental file list smartdns-42-1-riscv64-build.log smartdns-42-1-riscv64-check.log smartdns-42-1-riscv64-prepare.log smartdns-42-1-x86_64-build.log smartdns-42-1-x86_64-check.log sent 119 bytes received 29,590 bytes 11,883.60 bytes/sec total size is 326,607 speedup is 10.99