[j-nsp] Setting source address for local DNS queries on JunOS (8.5R1.14)?

Mark Kamichoff prox at prolixium.com
Fri Feb 15 18:22:24 EST 2008


On Fri, Feb 15, 2008 at 04:09:02PM +0100, Johannes Resch wrote:
> is it possible to specify which local IP address a router will use for
> originating DNS queries, either globally or per name server?  JunOS is
> 8.5R1.14 on J6350.
> 
> Couldn't find anything related in the tech docs, and there don't seem
> to be suitable config options in the "system name-server" hierarchy.
> 
> Per default, it seems as if the router picks the numerically lowest IP
> address as source IP (in this particular case, there is no IP address
> configured on the loopback interface).

I was curious about this, too.  It looks like the _only_ options are to
let it pick the IP on the egress interface automatically, or source
everything from lo0.  Seems strange that it's not more flexible.

This is the only thing I could find, although it won't help if there's
no IP on the loopback interface:

http://www.juniper.net/techpubs/software/junos/junos85/swconfig85-system-basics/id-10937192.html

- Mark

-- 
Mark Kamichoff
prox at prolixium.com
http://prolixium.com/
Rensselaer Polytechnic Institute, Class of 2004
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://puck.nether.net/pipermail/juniper-nsp/attachments/20080215/b789f71c/attachment.bin 


More information about the juniper-nsp mailing list