Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DIG Source IP

567 views
Skip to first unread message

John Williams

unread,
Dec 9, 2010, 9:51:26 AM12/9/10
to bind-...@lists.isc.org
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.


Matus UHLAR - fantomas

unread,
Dec 9, 2010, 9:56:03 AM12/9/10
to bind-...@lists.isc.org

which dig version? See the -b option
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I wonder how much deeper the ocean would be without sponges.

Todd Snyder

unread,
Dec 9, 2010, 9:56:32 AM12/9/10
to John Williams, bind-...@lists.isc.org
dig -b {srcip}

-----Original Message-----
From: bind-users-bounces+tsnyder=rim...@lists.isc.org [mailto:bind-users-bounces+tsnyder=rim...@lists.isc.org] On Behalf Of John Williams
Sent: Thursday, December 09, 2010 9:51 AM
To: bind-...@lists.isc.org
Subject: DIG Source IP

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-...@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

Sim

unread,
Dec 9, 2010, 9:56:44 AM12/9/10
to bind-...@lists.isc.org
Hi

Have you tried [-b address] ?

---
Sim

2010/12/9 John Williams <john...@yahoo.com>:

Gary Wallis

unread,
Dec 9, 2010, 10:02:58 AM12/9/10
to bind-...@lists.isc.org
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-...@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
Not supported. But that would be a great feature for dig. Would make
testing views on other ACL related issues much easier.

Cheers,
Gary

Warren Kumari

unread,
Dec 9, 2010, 10:24:07 AM12/9/10
to John Williams, bind-...@lists.isc.org

On Dec 9, 2010, at 9:51 AM, 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.
>

What version of dig?

man for DiG 9.7.2-P3 says:
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>"

W

Gary Wallis

unread,
Dec 9, 2010, 10:22:18 AM12/9/10
to bind-...@lists.isc.org
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-...@lists.isc.org
>> https://lists.isc.org/mailman/listinfo/bind-users
>>
> Not supported. But that would be a great feature for dig. Would make
> testing views on other ACL related issues much easier.
>
> Cheers,
> Gary
> _______________________________________________
> bind-users mailing list
> bind-...@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>

Whoops... -b has been available for some time.

OPTIONS


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

0 new messages