Junos OS

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  cannot resolve www.google.,com: Hostname lookup failure

    Posted 10-21-2023 15:35

    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
    ------------------------------


  • 2.  RE: cannot resolve www.google.,com: Hostname lookup failure

    Posted 10-21-2023 20:21

    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
    ------------------------------



  • 3.  RE: cannot resolve www.google.,com: Hostname lookup failure

    Posted 10-25-2023 15:54

    Thank you Steve!



    ------------------------------
    AHSAN KHAN
    ------------------------------