DIG Source IP
wgg1970 at gmail.com
Thu Dec 9 15:22:18 UTC 2010
Gary Wallis wrote:
> John Williams wrote:
>> If I have a Linux host with multiple IP's, is there a way to utilize
>> the DIG command such that the query appears like it's coming from
>> different IP addresses?
>> So If I have 10 virtual IP's, is there a way to control the source IP
>> of the query?
>> I've referenced the DIG man page and it doesn't appear to be
>> possible. Thanks in advance.
>> bind-users mailing list
>> bind-users at lists.isc.org
> Not supported. But that would be a great feature for dig. Would make
> testing views on other ACL related issues much easier.
> bind-users mailing list
> bind-users at lists.isc.org
Whoops... -b has been available for some time.
The -b option sets the source IP address of the query to
address. This must be a valid address on one of the hostâs
network interfaces or "0.0.0.0" or "::". An optional port may be
specified by appending "#<port>"
More information about the bind-users