Hi.
I have a DNS server configured on my vMX, however, I get 'no route to host' when I try to ping a host name, even though I can successfully ping the host's IP address. Why is my ping to host name failing?
DNS CONFIGURATION:
[edit]
lab@vmx-1# show system name-server
8.8.8.8;
DNS IS ABLE TO RESOLVE HOST NAME GOOGLE.COM:
[edit]
lab@vmx-1# run show host google.com
google.com has address 142.250.217.110
google.com has IPv6 address 2607:f8b0:400a:80b::200e
google.com mail is handled by 10 smtp.google.com.
I AM ABLE TO PING GOOGLE.COM IP ADDRESS
[edit]
lab@vmx-1# run ping 142.250.217.110 count 1
PING 142.250.217.110 (142.250.217.110): 56 data bytes
64 bytes from 142.250.217.110: icmp_seq=0 ttl=116 time=5.515 ms
--- 142.250.217.110 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 5.515/5.515/5.515/0.000 ms
BUT I AM NOT ABLE TO PING GOOGLE.COM ITSELF
[edit]
lab@vmx-1# run ping google.com count 1
PING6(56=40+8+8 bytes) :: --> 2607:f8b0:400a:80b::200e
ping: sendmsg: No route to host
ping6: wrote google.com 16 chars, ret=-1
--- google.com ping6 statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
Thanks,
Deepak