I am trying to use DNS server and on "ping google.com" VPP is crashing
Color me unsurprised. Please fix your configuration, to the point where first-order obvious errors have been eliminated. It looks to me like the "binary-api dns_name_server_add_del 8.8.8.8" command has been truncated: Aug 13 21:31:10 test1-vpp vnet[853]: unknown input `add_del 8.8.8.8 Aug 13 21:31:28 test1-vpp vnet[853]: dns cache: add / del / clear required.. Aug 13 21:31:36 test1-vpp vnet[853]: vl_api_dns_resolve_name_reply_t_handler:2556: ip4 address 23.75.7.244 Aug 13 21:32:24 test1-vpp vnet[853]: dns cache: add / del / clear required.. Aug 13 21:34:43 test1-vpp vnet[853]: resolve_event:247: name server 8.8.8.8 backfire Here is the config that I use on my home gateway. uncomment { nat44 add identity mapping external GigabitEthernet3/0/0 udp 53053 } uncomment { bin dns_name_server_add_del 8.8.8.8 } uncomment { bin dns_enable_disable } $ ping google.com # on my desktop, behind the vpp gateway PING google.com (172.217.7.174) 56(84) bytes of data. 64 bytes from 172.217.7.174 (172.217.7.174): icmp_seq=1 ttl=54 time=26.3 ms 64 bytes from 172.217.7.174 (172.217.7.174): icmp_seq=2 ttl=54 time=21.5 ms vpp# sh dns cache weatherlink.com -> weatherlink.com: 54.172.164.1 [21338] TTL left 489.9 xxl.trane.com -> xxl.trane.com: 168.65.229.203 [781] EXPIRED google.com -> google.com: 172.217.7.174 [189] TTL left 552.1 www.google.com -> www.google.com: 172.217.164.164 [189] TTL left 569.6 dns.msftncsi.com -> dns.msftncsi.com: 131.107.255.255 [15] TTL left 569.9 kv801-prod.do.dsp.mp.microsoft.com -> kv801-prod.do.dsp.mp.microsoft.com: 23.67.120.218 [19] TTL left 571.7 geo-prod.do.dsp.mp.microsoft.com -> geo-prod.do.dsp.mp.microsoft.com: 40.69.221.239 [121] TTL left 571.1 outlook.office365.com -> outlook.office365.com: 52.96.62.226 [38] TTL left 571.5 174.7.217.172.in-addr.arpa -> 174.7.217.172.in-addr.arpa: TTL left 573.6 client.wns.windows.com -> client.wns.windows.com: 52.242.211.89 [299] TTL left 574.1 www.nr-extensions.tk -> www.nr-extensions.tk: 165.22.1.78 [190] TTL left 589.7 ip-api.com -> ip-api.com: 147.135.15.186 [99] TTL left 589.9 www.instagram.com -> www.instagram.com: 31.13.65.174 [59] TTL left 590.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13779): https://lists.fd.io/g/vpp-dev/message/13779 Mute This Topic: https://lists.fd.io/mt/32881233/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-