You could set the name server source address to be a valid public address inside the routing instance TEST so the requests originate from there.
set system name-server n.n.n.n source-address s.s.s.s
------------------------------
Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
http://puluka.com/home------------------------------
Original Message:
Sent: 10-21-2023 14:16
From: AHSAN KHAN
Subject: cannot resolve www.google.,com: Hostname lookup failure
Hello Experts,
I am using MX204. All my routes, including BGP routes, are in routing-instance TEST. Since I don't know how to put the name-server inside routing-instance TEST (I didn't see any options), I did the route-leaking between the default routing table and the TEST routing table using rib-groups. I am not able to resolve google.com, however, I can ping 8.8.8.8. I greatly appreciate your advice and suggestions.
------------------------------
AHSAN KHAN
------------------------------