Re: [dnsdist] Define out-of-band IP to reach carbon server

2019-08-14 Thread Leo Vandewoestijne
In reply to frank+p...@tembo.be

> Hi Leo,
> 
> By quickly glancing at the code, I don???t think there???s a way to set the 
> source ip right now. However, you can probably solve this using the ip 
> routing (and/or firewalling) table(s) on the node itself: set the source ip 
> for all connections to that particular destination ip.
> 
> Regards,
> 
> Frank Louwers
> Certified PowerDNS Consultant @ Kiwazo.be
>

Why I didn't thought of that? That did the trick!

Thanks.

--

Met vriendelijke groet,
With kind regards,


Leo Vandewoestijne
<***@dns.company>

___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist


Re: [dnsdist] Define out-of-band IP to reach carbon server

2019-08-14 Thread Remi Gacogne
Hi,

On 8/14/19 9:47 AM, frank+p...@tembo.be wrote:
> By quickly glancing at the code, I don’t think there’s a way to set the
> source ip right now. However, you can probably solve this using the ip
> routing (and/or firewalling) table(s) on the node itself: set the source
> ip for all connections to that particular destination ip.

Yes, Frank is right.
Please open a new feature request on Github to be able to specify the
source IP used to reach the carbon server if you think it might be
useful to others.

Best regards,
-- 
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/



signature.asc
Description: OpenPGP digital signature
___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist


Re: [dnsdist] Define out-of-band IP to reach carbon server

2019-08-14 Thread frank+pdns
Hi Leo,

By quickly glancing at the code, I don’t think there’s a way to set the source 
ip right now. However, you can probably solve this using the ip routing (and/or 
firewalling) table(s) on the node itself: set the source ip for all connections 
to that particular destination ip.

Regards,

Frank Louwers
Certified PowerDNS Consultant @ Kiwazo.be

> On 13 Aug 2019, at 17:40, Leo Vandewoestijne  wrote:
> 
> Hi,
> 
> 
> I'm running dnsdist inside a virtualized host, which has anycasted IP's and 
> out-of-band IP's.
> Using nc I can reach my carbon server BUT have to define the source IP.
> 
> Now I wish to have dnsdist sent data to metronome.
> So I assumed using "setLocal" would define the main IP, and so set the 
> out-of-band IP.
> Whatever I do; put it before or after addLocal, or use addLocal (first and 
> last), dnsdist can't reach the carbon server.
> 
> What information am I missing to get more success?
> 
> 
> -- 
> 
> Met vriendelijke groet,
> With kind regards,
> 
> 
> Leo Vandewoestijne
> <***@dns.company>
> 
> ___
> dnsdist mailing list
> dnsdist@mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/dnsdist

Frank Louwers
PowerDNS Certified Consultant @ Kiwazo.be




___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist